#include <SMESH_ControlsDef.hxx>
Public Member Functions | |
ElementsOnSurface () | |
~ElementsOnSurface () | |
virtual void | SetMesh (const SMDS_Mesh *theMesh) |
virtual bool | IsSatisfy (long theElementId) |
virtual SMDSAbs_ElementType | GetType () const |
void | SetTolerance (const double theToler) |
double | GetTolerance () const |
void | SetSurface (const TopoDS_Shape &theShape, const SMDSAbs_ElementType theType) |
void | SetUseBoundaries (bool theUse) |
bool | GetUseBoundaries () const |
virtual Predicate * | clone () const |
Private Member Functions | |
void | process () |
void | process (const SMDS_MeshElement *theElem) |
bool | isOnSurface (const SMDS_MeshNode *theNode) |
Private Attributes | |
TMeshModifTracer | myMeshModifTracer |
TColStd_MapOfInteger | myIds |
SMDSAbs_ElementType | myType |
TopoDS_Face | mySurf |
double | myToler |
bool | myUseBoundaries |
GeomAPI_ProjectPointOnSurf | myProjector |
ElementsOnSurface::ElementsOnSurface | ( | ) |
References myIds, mySurf, myToler, myType, myUseBoundaries, and SMDSAbs_All.
ElementsOnSurface::~ElementsOnSurface | ( | ) |
|
virtualinherited |
double ElementsOnSurface::GetTolerance | ( | ) | const |
References myToler.
|
virtual |
Implements SMESH::Controls::Predicate.
References myType.
bool SMESH::Controls::ElementsOnSurface::GetUseBoundaries | ( | ) | const |
|
private |
References myProjector, mySurf, myToler, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by process().
|
virtual |
Implements SMESH::Controls::Predicate.
References myIds.
|
private |
References SMDS_Mesh::elementsIterator(), SMESH::Controls::TMeshModifTracer::GetMesh(), SMDS_Mesh::GetMeshInfo(), myIds, myMeshModifTracer, mySurf, myType, and SMDS_MeshInfo::NbElements().
Referenced by SetMesh(), and SetSurface().
|
private |
References SMDS_MeshElement::GetID(), isOnSurface(), myIds, and SMDS_MeshElement::nodesIterator().
|
virtual |
void ElementsOnSurface::SetSurface | ( | const TopoDS_Shape & | theShape, |
const SMDSAbs_ElementType | theType | ||
) |
References Face, SMESH::Handle(), myIds, myProjector, mySurf, myType, myUseBoundaries, and process().
Referenced by SetUseBoundaries().
void ElementsOnSurface::SetUseBoundaries | ( | bool | theUse | ) |
References mySurf, myType, myUseBoundaries, and SetSurface().
|
private |
Referenced by ElementsOnSurface(), IsSatisfy(), process(), SetSurface(), and SetTolerance().
|
private |
|
private |
Referenced by isOnSurface(), and SetSurface().
|
private |
Referenced by ElementsOnSurface(), isOnSurface(), process(), SetSurface(), and SetUseBoundaries().
|
private |
Referenced by ElementsOnSurface(), GetTolerance(), isOnSurface(), and SetTolerance().
|
private |
Referenced by ElementsOnSurface(), GetType(), process(), SetSurface(), and SetUseBoundaries().
|
private |
Referenced by ElementsOnSurface(), SetSurface(), and SetUseBoundaries().