SALOME - SMESH
SMESH::Controls::ElementsOnShape Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::ElementsOnShape:
Inheritance graph
Collaboration diagram for SMESH::Controls::ElementsOnShape:
Collaboration graph

Public Member Functions

 ElementsOnShape ()
 
 ~ElementsOnShape ()
 
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 SetAllNodes (bool theAllNodes)
 
bool GetAllNodes () const
 
void SetShape (const TopoDS_Shape &theShape, const SMDSAbs_ElementType theType)
 

Private Member Functions

void addShape (const TopoDS_Shape &theShape)
 
void process ()
 
void process (const SMDS_MeshElement *theElem)
 

Private Attributes

const SMDS_MeshmyMesh
 
TColStd_MapOfInteger myIds
 
SMDSAbs_ElementType myType
 
TopoDS_Shape myShape
 
double myToler
 
bool myAllNodesFlag
 
TopTools_MapOfShape myShapesMap
 
TopAbs_ShapeEnum myCurShapeType
 
BRepClass3d_SolidClassifier myCurSC
 
GeomAPI_ProjectPointOnSurf myCurProjFace
 
TopoDS_Face myCurFace
 
GeomAPI_ProjectPointOnCurve myCurProjEdge
 
gp_Pnt myCurPnt
 

Detailed Description

Definition at line 667 of file SMESH_ControlsDef.hxx.

Constructor & Destructor Documentation

◆ ElementsOnShape()

SMESH::Controls::ElementsOnShape::ElementsOnShape ( )

◆ ~ElementsOnShape()

SMESH::Controls::ElementsOnShape::~ElementsOnShape ( )

Member Function Documentation

◆ SetMesh()

virtual void SMESH::Controls::ElementsOnShape::SetMesh ( const SMDS_Mesh theMesh)
virtual

◆ IsSatisfy()

virtual bool SMESH::Controls::ElementsOnShape::IsSatisfy ( long  theElementId)
virtual

◆ GetType()

virtual SMDSAbs_ElementType SMESH::Controls::ElementsOnShape::GetType ( ) const
virtual

◆ SetTolerance()

void SMESH::Controls::ElementsOnShape::SetTolerance ( const double  theToler)

◆ GetTolerance()

double SMESH::Controls::ElementsOnShape::GetTolerance ( ) const

◆ SetAllNodes()

void SMESH::Controls::ElementsOnShape::SetAllNodes ( bool  theAllNodes)

◆ GetAllNodes()

bool SMESH::Controls::ElementsOnShape::GetAllNodes ( ) const

Definition at line 680 of file SMESH_ControlsDef.hxx.

◆ SetShape()

void SMESH::Controls::ElementsOnShape::SetShape ( const TopoDS_Shape &  theShape,
const SMDSAbs_ElementType  theType 
)

◆ addShape()

void SMESH::Controls::ElementsOnShape::addShape ( const TopoDS_Shape &  theShape)
private

◆ process() [1/2]

void SMESH::Controls::ElementsOnShape::process ( )
private

◆ process() [2/2]

void SMESH::Controls::ElementsOnShape::process ( const SMDS_MeshElement theElem)
private

Field Documentation

◆ myMesh

const SMDS_Mesh* SMESH::Controls::ElementsOnShape::myMesh
private

Definition at line 690 of file SMESH_ControlsDef.hxx.

◆ myIds

TColStd_MapOfInteger SMESH::Controls::ElementsOnShape::myIds
private

Definition at line 691 of file SMESH_ControlsDef.hxx.

◆ myType

SMDSAbs_ElementType SMESH::Controls::ElementsOnShape::myType
private

Definition at line 692 of file SMESH_ControlsDef.hxx.

◆ myShape

TopoDS_Shape SMESH::Controls::ElementsOnShape::myShape
private

Definition at line 693 of file SMESH_ControlsDef.hxx.

◆ myToler

double SMESH::Controls::ElementsOnShape::myToler
private

Definition at line 694 of file SMESH_ControlsDef.hxx.

◆ myAllNodesFlag

bool SMESH::Controls::ElementsOnShape::myAllNodesFlag
private

Definition at line 695 of file SMESH_ControlsDef.hxx.

◆ myShapesMap

TopTools_MapOfShape SMESH::Controls::ElementsOnShape::myShapesMap
private

Definition at line 697 of file SMESH_ControlsDef.hxx.

◆ myCurShapeType

TopAbs_ShapeEnum SMESH::Controls::ElementsOnShape::myCurShapeType
private

Definition at line 698 of file SMESH_ControlsDef.hxx.

◆ myCurSC

BRepClass3d_SolidClassifier SMESH::Controls::ElementsOnShape::myCurSC
private

Definition at line 699 of file SMESH_ControlsDef.hxx.

◆ myCurProjFace

GeomAPI_ProjectPointOnSurf SMESH::Controls::ElementsOnShape::myCurProjFace
private

Definition at line 700 of file SMESH_ControlsDef.hxx.

◆ myCurFace

TopoDS_Face SMESH::Controls::ElementsOnShape::myCurFace
private

Definition at line 701 of file SMESH_ControlsDef.hxx.

◆ myCurProjEdge

GeomAPI_ProjectPointOnCurve SMESH::Controls::ElementsOnShape::myCurProjEdge
private

Definition at line 702 of file SMESH_ControlsDef.hxx.

◆ myCurPnt

gp_Pnt SMESH::Controls::ElementsOnShape::myCurPnt
private

Definition at line 703 of file SMESH_ControlsDef.hxx.