#include <SMESH_Filter_i.hxx>

Public Member Functions | |
| BelongToPlane_i () | |
| void | SetPlane (GEOM::GEOM_Object_ptr theGeom, ElementType theType) |
| FunctorType | GetFunctorType () |
| void | SetSurface (GEOM::GEOM_Object_ptr theGeom, ElementType theType) |
| void | SetShapeName (const char *theName, ElementType theType) |
| void | SetShape (const char *theID, const char *theName, ElementType theType) |
| char * | GetShapeName () |
| char * | GetShapeID () |
| void | SetTolerance (CORBA::Double) |
| CORBA::Double | GetTolerance () |
| void | SetUseBoundaries (CORBA::Boolean theUseBndRestrictions) |
| CORBA::Boolean | GetUseBoundaries () |
| CORBA::Boolean | IsSatisfy (CORBA::Long theElementId) |
| Controls::PredicatePtr | GetPredicate () |
| void | SetMesh (SMESH_Mesh_ptr theMesh) |
| Controls::FunctorPtr | GetFunctor () |
| ElementType | GetElementType () |
Protected Member Functions | |
| Handle (Standard_Type) mySurfaceType | |
Protected Attributes | |
| Controls::ElementsOnSurfacePtr | myElementsOnSurfacePtr |
| char * | myShapeName |
| char * | myShapeID |
| Controls::PredicatePtr | myPredicatePtr |
| Controls::FunctorPtr | myFunctorPtr |
Definition at line 507 of file SMESH_Filter_i.hxx.
| BelongToPlane_i::BelongToPlane_i | ( | ) |
Definition at line 1193 of file SMESH_Filter_i.cxx.
: BelongToSurface_i( STANDARD_TYPE( Geom_Plane ) ) { }
| 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 BelongToPlane_i::GetFunctorType | ( | ) |
Definition at line 1204 of file SMESH_Filter_i.cxx.
References SMESH.FT_BelongToPlane.
{
return FT_BelongToPlane;
}
| Controls::PredicatePtr Predicate_i::GetPredicate | ( | ) | [inherited] |
Definition at line 921 of file SMESH_Filter_i.cxx.
References SMESH.Predicate_i.myPredicatePtr.
Referenced by SMESH.Filter_i.GetElementsId(), SMESH.Filter_i.SetPredicate(), SMESH.LogicalNOT_i.SetPredicate(), SMESH.LogicalBinary_i.SetPredicate1(), and SMESH.LogicalBinary_i.SetPredicate2().
{
return myPredicatePtr;
}
| char * BelongToSurface_i::GetShapeID | ( | ) | [inherited] |
Definition at line 1160 of file SMESH_Filter_i.cxx.
References SMESH.BelongToSurface_i.myShapeID.
Referenced by getCriteria().
{
return CORBA::string_dup( myShapeID );
}
| char * BelongToSurface_i::GetShapeName | ( | ) | [inherited] |
Definition at line 1155 of file SMESH_Filter_i.cxx.
References SMESH.BelongToSurface_i.myShapeName.
Referenced by getCriteria().
{
return CORBA::string_dup( myShapeName );
}
| CORBA::Double BelongToSurface_i::GetTolerance | ( | ) | [inherited] |
Definition at line 1171 of file SMESH_Filter_i.cxx.
References SMESH.BelongToSurface_i.myElementsOnSurfacePtr.
Referenced by getCriteria().
{
return myElementsOnSurfacePtr->GetTolerance();
}
| CORBA::Boolean BelongToSurface_i::GetUseBoundaries | ( | ) | [inherited] |
Definition at line 1182 of file SMESH_Filter_i.cxx.
References SMESH.BelongToSurface_i.myElementsOnSurfacePtr.
{
return myElementsOnSurfacePtr->GetUseBoundaries();
}
| SMESH.BelongToSurface_i.Handle | ( | Standard_Type | ) | [protected, inherited] |
Referenced by SMESH.BelongToSurface_i.SetSurface().
| 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 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 BelongToPlane_i::SetPlane | ( | GEOM::GEOM_Object_ptr | theGeom, |
| ElementType | theType | ||
| ) |
Definition at line 1198 of file SMESH_Filter_i.cxx.
References SMESH.BelongToSurface_i.SetSurface().
{
BelongToSurface_i::SetSurface( theGeom, theType );
TPythonDump()<<this<<".SetPlane("<<theGeom<<","<<theType<<")";
}
| void BelongToSurface_i::SetShape | ( | const char * | theID, |
| const char * | theName, | ||
| ElementType | theType | ||
| ) | [inherited] |
Definition at line 1139 of file SMESH_Filter_i.cxx.
References getShapeByID(), getShapeByName(), getShapeNameByID(), SMESH.BelongToSurface_i.myElementsOnSurfacePtr, SMESH.BelongToSurface_i.myShapeID, and SMESH.BelongToSurface_i.myShapeName.
{
delete myShapeName;
myShapeName = strdup( theName );
delete myShapeID;
if ( theID )
myShapeID = strdup( theID );
else
myShapeID = 0;
if ( myShapeID && strcmp(myShapeName, getShapeNameByID(myShapeID)) == 0 )
myElementsOnSurfacePtr->SetSurface( getShapeByID(myShapeID), (SMDSAbs_ElementType)theType );
else
myElementsOnSurfacePtr->SetSurface( getShapeByName( myShapeName ), (SMDSAbs_ElementType)theType );
}
| void BelongToSurface_i::SetShapeName | ( | const char * | theName, |
| ElementType | theType | ||
| ) | [inherited] |
Definition at line 1131 of file SMESH_Filter_i.cxx.
References getShapeByName(), SMESH.BelongToSurface_i.myElementsOnSurfacePtr, and SMESH.BelongToSurface_i.myShapeName.
{
delete myShapeName;
myShapeName = strdup( theName );
myElementsOnSurfacePtr->SetSurface( getShapeByName( myShapeName ), (SMDSAbs_ElementType)theType );
TPythonDump()<<this<<".SetShapeName('"<<theName<<"',"<<theType<<")";
}
| void BelongToSurface_i::SetSurface | ( | GEOM::GEOM_Object_ptr | theGeom, |
| ElementType | theType | ||
| ) | [inherited] |
Reimplemented in SMESH.BelongToGenSurface_i.
Definition at line 1110 of file SMESH_Filter_i.cxx.
References SMESH_Gen_i.GetGeomEngine(), SMESH_Gen_i.GetShapeReader(), SMESH_Gen_i.GetSMESHGen(), SMESH.BelongToSurface_i.Handle(), and SMESH.BelongToSurface_i.myElementsOnSurfacePtr.
Referenced by SMESH.BelongToCylinder_i.SetCylinder(), and SMESH.BelongToPlane_i.SetPlane().
{
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 );
if ( aLocShape.ShapeType() == TopAbs_FACE )
{
Handle(Geom_Surface) aSurf = BRep_Tool::Surface( TopoDS::Face( aLocShape ) );
if ( !aSurf.IsNull() && aSurf->DynamicType() == mySurfaceType )
{
myElementsOnSurfacePtr->SetSurface( aLocShape, (SMDSAbs_ElementType)theType );
return;
}
}
myElementsOnSurfacePtr->SetSurface( TopoDS_Shape(), (SMDSAbs_ElementType)theType );
}
| void BelongToSurface_i::SetTolerance | ( | CORBA::Double | theToler | ) | [inherited] |
Definition at line 1165 of file SMESH_Filter_i.cxx.
References SMESH.BelongToSurface_i.myElementsOnSurfacePtr.
{
myElementsOnSurfacePtr->SetTolerance( theToler );
TPythonDump()<<this<<".SetTolerance("<<theToler<<")";
}
| void BelongToSurface_i::SetUseBoundaries | ( | CORBA::Boolean | theUseBndRestrictions | ) | [inherited] |
Definition at line 1176 of file SMESH_Filter_i.cxx.
References SMESH.BelongToSurface_i.myElementsOnSurfacePtr.
{
myElementsOnSurfacePtr->SetUseBoundaries( theUseBndRestrictions );
TPythonDump()<<this<<".SetUseBoundaries( " << theUseBndRestrictions << " )";
}
Controls::ElementsOnSurfacePtr SMESH.BelongToSurface_i.myElementsOnSurfacePtr [protected, inherited] |
Definition at line 497 of file SMESH_Filter_i.hxx.
Referenced by SMESH.BelongToSurface_i.BelongToSurface_i(), SMESH.BelongToSurface_i.GetTolerance(), SMESH.BelongToSurface_i.GetUseBoundaries(), SMESH.BelongToSurface_i.SetShape(), SMESH.BelongToSurface_i.SetShapeName(), SMESH.BelongToGenSurface_i.SetSurface(), SMESH.BelongToSurface_i.SetSurface(), SMESH.BelongToSurface_i.SetTolerance(), and SMESH.BelongToSurface_i.SetUseBoundaries().
Controls::FunctorPtr SMESH.Functor_i.myFunctorPtr [protected, inherited] |
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().
Controls::PredicatePtr SMESH.Predicate_i.myPredicatePtr [protected, inherited] |
Definition at line 376 of file SMESH_Filter_i.hxx.
Referenced by 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.Predicate_i.GetPredicate(), SMESH.GroupColor_i.GroupColor_i(), SMESH.Predicate_i.IsSatisfy(), 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.MoreThan_i.MoreThan_i(), SMESH.OverConstrainedFace_i.OverConstrainedFace_i(), SMESH.OverConstrainedVolume_i.OverConstrainedVolume_i(), and SMESH.RangeOfIds_i.RangeOfIds_i().
char* SMESH.BelongToSurface_i.myShapeID [protected, inherited] |
Definition at line 499 of file SMESH_Filter_i.hxx.
Referenced by SMESH.BelongToSurface_i.BelongToSurface_i(), SMESH.BelongToSurface_i.GetShapeID(), SMESH.BelongToSurface_i.SetShape(), and SMESH.BelongToSurface_i.~BelongToSurface_i().
char* SMESH.BelongToSurface_i.myShapeName [protected, inherited] |
Definition at line 498 of file SMESH_Filter_i.hxx.
Referenced by SMESH.BelongToSurface_i.BelongToSurface_i(), SMESH.BelongToSurface_i.GetShapeName(), SMESH.BelongToSurface_i.SetShape(), SMESH.BelongToSurface_i.SetShapeName(), and SMESH.BelongToSurface_i.~BelongToSurface_i().