Version: 6.3.1
Public Member Functions | Protected Attributes

SMESH.LyingOnGeom_i Class Reference

#include <SMESH_Filter_i.hxx>

Inheritance diagram for SMESH.LyingOnGeom_i:
Inheritance graph
[legend]

Public Member Functions

 LyingOnGeom_i ()
virtual ~LyingOnGeom_i ()
void SetGeom (GEOM::GEOM_Object_ptr theGeom)
void SetElementType (ElementType theType)
FunctorType GetFunctorType ()
void SetGeom (const TopoDS_Shape &theShape)
void SetShapeName (const char *theName)
void SetShape (const char *theID, const char *theName)
char * GetShapeName ()
char * GetShapeID ()
void SetTolerance (CORBA::Double)
CORBA::Double GetTolerance ()
CORBA::Boolean IsSatisfy (CORBA::Long theElementId)
Controls::PredicatePtr GetPredicate ()
void SetMesh (SMESH_Mesh_ptr theMesh)
Controls::FunctorPtr GetFunctor ()
ElementType GetElementType ()

Protected Attributes

Controls::LyingOnGeomPtr myLyingOnGeomPtr
char * myShapeName
char * myShapeID
Controls::PredicatePtr myPredicatePtr
Controls::FunctorPtr myFunctorPtr

Detailed Description

Definition at line 546 of file SMESH_Filter_i.hxx.


Constructor & Destructor Documentation

LyingOnGeom_i::LyingOnGeom_i ( )
LyingOnGeom_i::~LyingOnGeom_i ( ) [virtual]

Definition at line 1269 of file SMESH_Filter_i.cxx.

References SMESH.LyingOnGeom_i.myShapeID, and SMESH.LyingOnGeom_i.myShapeName.

{
  delete myShapeName;
  delete myShapeID;
}

Member Function Documentation

ElementType Functor_i::GetElementType ( ) [inherited]

Definition at line 585 of file SMESH_Filter_i.cxx.

References SMESH.Functor_i.myFunctorPtr.

Referenced by getCriteria(), and SMESH.Filter_i.GetElementType().

{
  return ( ElementType )myFunctorPtr->GetType();
}
Controls::FunctorPtr SMESH.Functor_i.GetFunctor ( ) [inherited]

Definition at line 144 of file SMESH_Filter_i.hxx.

{ return myFunctorPtr;}
FunctorType LyingOnGeom_i::GetFunctorType ( )

Definition at line 1296 of file SMESH_Filter_i.cxx.

References SMESH.FT_LyingOnGeom.

Controls::PredicatePtr Predicate_i::GetPredicate ( ) [inherited]
char * LyingOnGeom_i::GetShapeID ( )

Definition at line 1330 of file SMESH_Filter_i.cxx.

References SMESH.LyingOnGeom_i.myShapeID.

Referenced by getCriteria().

{
  return CORBA::string_dup( myShapeID );
}
char * LyingOnGeom_i::GetShapeName ( )

Definition at line 1325 of file SMESH_Filter_i.cxx.

References SMESH.LyingOnGeom_i.myShapeName.

Referenced by getCriteria().

{
  return CORBA::string_dup( myShapeName );
}
CORBA::Double LyingOnGeom_i::GetTolerance ( )

Definition at line 1341 of file SMESH_Filter_i.cxx.

References SMESH.LyingOnGeom_i.myLyingOnGeomPtr.

Referenced by getCriteria().

{
  return myLyingOnGeomPtr->GetTolerance();
}
CORBA::Boolean Predicate_i::IsSatisfy ( CORBA::Long  theElementId) [inherited]

Definition at line 916 of file SMESH_Filter_i.cxx.

References SMESH.Predicate_i.myPredicatePtr.

{
  return myPredicatePtr->IsSatisfy( theId );
}
void LyingOnGeom_i::SetElementType ( ElementType  theType)

Definition at line 1291 of file SMESH_Filter_i.cxx.

References SMESH.LyingOnGeom_i.myLyingOnGeomPtr.

                                                     {
  myLyingOnGeomPtr->SetType(SMDSAbs_ElementType(theType));
  TPythonDump()<<this<<".SetElementType("<<theType<<")";
}
void LyingOnGeom_i::SetGeom ( GEOM::GEOM_Object_ptr  theGeom)

Definition at line 1275 of file SMESH_Filter_i.cxx.

References SMESH_Gen_i.GetGeomEngine(), SMESH_Gen_i.GetShapeReader(), SMESH_Gen_i.GetSMESHGen(), and SMESH.LyingOnGeom_i.myLyingOnGeomPtr.

{
  if ( theGeom->_is_nil() )
    return;
  SMESH_Gen_i* aSMESHGen = SMESH_Gen_i::GetSMESHGen();
  GEOM::GEOM_Gen_ptr aGEOMGen = SMESH_Gen_i::GetGeomEngine();
  TopoDS_Shape aLocShape = aSMESHGen->GetShapeReader()->GetShape( aGEOMGen, theGeom );
  myLyingOnGeomPtr->SetGeom( aLocShape );
  TPythonDump()<<this<<".SetGeom("<<theGeom<<")";
}
void LyingOnGeom_i::SetGeom ( const TopoDS_Shape &  theShape)

Definition at line 1286 of file SMESH_Filter_i.cxx.

References SMESH.LyingOnGeom_i.myLyingOnGeomPtr.

{
  myLyingOnGeomPtr->SetGeom( theShape );
}
void Functor_i::SetMesh ( SMESH_Mesh_ptr  theMesh) [inherited]

Reimplemented in SMESH.LogicalBinary_i.

Definition at line 579 of file SMESH_Filter_i.cxx.

References MeshPtr2SMDSMesh(), and SMESH.Functor_i.myFunctorPtr.

Referenced by SMESH.LogicalBinary_i.SetMesh().

{
  myFunctorPtr->SetMesh( MeshPtr2SMDSMesh( theMesh ) );
  TPythonDump()<<this<<".SetMesh("<<theMesh<<")";
}
void LyingOnGeom_i::SetShape ( const char *  theID,
const char *  theName 
)
void LyingOnGeom_i::SetShapeName ( const char *  theName)

Definition at line 1301 of file SMESH_Filter_i.cxx.

References getShapeByName(), SMESH.LyingOnGeom_i.myLyingOnGeomPtr, and SMESH.LyingOnGeom_i.myShapeName.

{
  delete myShapeName;
  myShapeName = strdup( theName );
  myLyingOnGeomPtr->SetGeom( getShapeByName( myShapeName ) );
  TPythonDump()<<this<<".SetShapeName('"<<theName<<"')";
}
void LyingOnGeom_i::SetTolerance ( CORBA::Double  theToler)

Definition at line 1335 of file SMESH_Filter_i.cxx.

References SMESH.LyingOnGeom_i.myLyingOnGeomPtr.

{
  myLyingOnGeomPtr->SetTolerance( theToler );
  TPythonDump()<<this<<".SetTolerance("<<theToler<<")";
}

Field Documentation

Definition at line 151 of file SMESH_Filter_i.hxx.

Referenced by SMESH.Area_i.Area_i(), SMESH.AspectRatio3D_i.AspectRatio3D_i(), SMESH.AspectRatio_i.AspectRatio_i(), SMESH.BadOrientedVolume_i.BadOrientedVolume_i(), SMESH.BareBorderFace_i.BareBorderFace_i(), SMESH.BareBorderVolume_i.BareBorderVolume_i(), SMESH.BelongToGeom_i.BelongToGeom_i(), SMESH.BelongToSurface_i.BelongToSurface_i(), SMESH.CoplanarFaces_i.CoplanarFaces_i(), SMESH.ElemGeomType_i.ElemGeomType_i(), SMESH.EqualTo_i.EqualTo_i(), SMESH.FreeBorders_i.FreeBorders_i(), SMESH.FreeEdges_i.FreeEdges_i(), SMESH.FreeFaces_i.FreeFaces_i(), SMESH.FreeNodes_i.FreeNodes_i(), SMESH.Functor_i.GetElementType(), SMESH.MultiConnection2D_i.GetValues(), SMESH.Length2D_i.GetValues(), SMESH.GroupColor_i.GroupColor_i(), SMESH.Length2D_i.Length2D_i(), SMESH.Length_i.Length_i(), SMESH.LessThan_i.LessThan_i(), SMESH.LinearOrQuadratic_i.LinearOrQuadratic_i(), SMESH.LogicalAND_i.LogicalAND_i(), SMESH.LogicalNOT_i.LogicalNOT_i(), SMESH.LogicalOR_i.LogicalOR_i(), SMESH.LyingOnGeom_i.LyingOnGeom_i(), SMESH.MaxElementLength2D_i.MaxElementLength2D_i(), SMESH.MaxElementLength3D_i.MaxElementLength3D_i(), SMESH.MinimumAngle_i.MinimumAngle_i(), SMESH.MoreThan_i.MoreThan_i(), SMESH.MultiConnection2D_i.MultiConnection2D_i(), SMESH.MultiConnection_i.MultiConnection_i(), SMESH.OverConstrainedFace_i.OverConstrainedFace_i(), SMESH.OverConstrainedVolume_i.OverConstrainedVolume_i(), SMESH.RangeOfIds_i.RangeOfIds_i(), SMESH.Functor_i.SetMesh(), SMESH.Skew_i.Skew_i(), SMESH.Taper_i.Taper_i(), SMESH.Volume3D_i.Volume3D_i(), and SMESH.Warping_i.Warping_i().

char* SMESH.LyingOnGeom_i.myShapeID [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS