Generator of nodes for extrusion functionality. More...
#include <SMESH_MeshEditor.hxx>
Public Member Functions | |
ExtrusParam (const gp_Vec &theStep, const int theNbSteps, const std::list< double > &theScales, const gp_XYZ *theBaseP, const int theFlags=0, const double theTolerance=1e-6) | |
ExtrusParam (const gp_Dir &theDir, Handle(TColStd_HSequenceOfReal) theSteps, const int theFlags=0, const double theTolerance=1e-6) | |
ExtrusParam (const double theStep, const int theNbSteps, const int theFlags, const int theDim) | |
SMESH_SequenceOfNode & | ChangeNodes () |
int & | Flags () |
bool | ToMakeBoundary () const |
bool | ToMakeGroups () const |
bool | ToUseInpElemsOnly () const |
bool | IsLinearVariation () const |
int | NbSteps () const |
void | SetElementsToUse (const TIDSortedElemSet &elems, const TIDSortedElemSet &nodes) |
int | MakeNodes (SMESHDS_Mesh *mesh, const SMDS_MeshNode *srcNode, std::list< const SMDS_MeshNode * > &newNodes, const bool makeMediumNodes) |
Private Member Functions | |
Handle (TColStd_HSequenceOfReal) mySteps | |
int | makeNodesByDir (SMESHDS_Mesh *mesh, const SMDS_MeshNode *srcNode, std::list< const SMDS_MeshNode * > &newNodes, const bool makeMediumNodes) |
int | makeNodesByDirAndSew (SMESHDS_Mesh *mesh, const SMDS_MeshNode *srcNode, std::list< const SMDS_MeshNode * > &newNodes, const bool makeMediumNodes) |
int | makeNodesByNormal2D (SMESHDS_Mesh *mesh, const SMDS_MeshNode *srcNode, std::list< const SMDS_MeshNode * > &newNodes, const bool makeMediumNodes) |
int | makeNodesByNormal1D (SMESHDS_Mesh *mesh, const SMDS_MeshNode *srcNode, std::list< const SMDS_MeshNode * > &newNodes, const bool makeMediumNodes) |
void | beginStepIter (bool withMediumNodes) |
bool | moreSteps () |
double | nextStep () |
Private Attributes | |
gp_Dir | myDir |
std::vector< double > | myScales |
std::vector< double > | myMediumScales |
gp_XYZ | myBaseP |
SMESH_SequenceOfNode | myNodes |
int | myFlags |
double | myTolerance |
const TIDSortedElemSet * | myElemsToUse |
int(ExtrusParam::* | myMakeNodesFun )(SMESHDS_Mesh *mesh, const SMDS_MeshNode *srcNode, std::list< const SMDS_MeshNode * > &newNodes, const bool makeMediumNodes) |
std::vector< double > | myCurSteps |
bool | myWithMediumNodes |
int | myNextStep |
Generator of nodes for extrusion functionality.
SMESH_MeshEditor::ExtrusParam::ExtrusParam | ( | const gp_Dir & | theDir, |
Handle(TColStd_HSequenceOfReal) | theSteps, | ||
const int | theFlags = 0 , |
||
const double | theTolerance = 1e-6 |
||
) |
References SMESH_MeshEditor::EXTRUSION_FLAG_SEW, makeNodesByDir(), makeNodesByDirAndSew(), and myMakeNodesFun.
SMESH_MeshEditor::ExtrusParam::ExtrusParam | ( | const double | theStep, |
const int | theNbSteps, | ||
const int | theFlags, | ||
const int | theDim | ||
) |
References makeNodesByNormal1D(), makeNodesByNormal2D(), and myMakeNodesFun.
|
private |
SMESH_SequenceOfNode& SMESH_MeshEditor::ExtrusParam::ChangeNodes | ( | ) |
int& SMESH_MeshEditor::ExtrusParam::Flags | ( | ) |
|
private |
bool SMESH_MeshEditor::ExtrusParam::IsLinearVariation | ( | ) | const |
Referenced by ExtrusParam().
int SMESH_MeshEditor::ExtrusParam::MakeNodes | ( | SMESHDS_Mesh * | mesh, |
const SMDS_MeshNode * | srcNode, | ||
std::list< const SMDS_MeshNode * > & | newNodes, | ||
const bool | makeMediumNodes | ||
) |
|
private |
References SMESHDS_Mesh::AddNode(), and SMESHDS_Mesh::MoveNode().
Referenced by ExtrusParam().
|
private |
References SMESHDS_Mesh::AddNode(), and SMDS_Mesh::nodesIterator().
Referenced by ExtrusParam().
|
private |
Referenced by ExtrusParam().
|
private |
|
private |
int SMESH_MeshEditor::ExtrusParam::NbSteps | ( | ) | const |
|
private |
void SMESH_MeshEditor::ExtrusParam::SetElementsToUse | ( | const TIDSortedElemSet & | elems, |
const TIDSortedElemSet & | nodes | ||
) |
References SMDS_MeshElement::nodesIterator().
bool SMESH_MeshEditor::ExtrusParam::ToMakeBoundary | ( | ) | const |
References SMESH::EXTRUSION_FLAG_BOUNDARY.
bool SMESH_MeshEditor::ExtrusParam::ToMakeGroups | ( | ) | const |
bool SMESH_MeshEditor::ExtrusParam::ToUseInpElemsOnly | ( | ) | const |
|
private |
Referenced by ExtrusParam().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by ExtrusParam().
|
private |
|
private |
|
private |
|
private |
Referenced by ExtrusParam().
|
private |
|
private |