Generator of nodes for extrusion functionality. More...
#include <SMESH_MeshEditor.hxx>

Data Structures | |
| struct | PathPoint |
| Point on extrusion path. More... | |
Public Member Functions | |
| ExtrusParam (const gp_Vec &theStep, const int theNbSteps, const std::list< double > &theScales, const std::list< double > &theAngles, 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) | |
| ExtrusParam (const std::vector< PathPoint > &thePoints, const gp_Pnt *theBaseP, const std::list< double > &theScales, const bool theMakeGroups) | |
| SMESH_SequenceOfNode & | ChangeNodes () |
| int & | Flags () |
| bool | ToMakeBoundary () const |
| bool | ToMakeGroups () const |
| bool | ToUseInpElemsOnly () const |
| bool | IsScaleVariation () const |
| bool | IsAngleVariation () 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) |
| int | makeNodesAlongTrack (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 > | myAngles |
| gp_XYZ | myBaseP |
| SMESH_SequenceOfNode | myNodes |
| int | myFlags |
| double | myTolerance |
| const TIDSortedElemSet * | myElemsToUse |
| std::vector< PathPoint > | myPathPoints |
| int(ExtrusParam::* | myMakeNodesFun )(SMESHDS_Mesh *, const SMDS_MeshNode *, std::list< const SMDS_MeshNode * > &, const bool) |
| std::vector< double > | myCurSteps |
| bool | myWithMediumNodes |
| int | myNextStep |
Generator of nodes for extrusion functionality.
| SMESH_MeshEditor::ExtrusParam::ExtrusParam | ( | const gp_Vec & | theStep, |
| const int | theNbSteps, | ||
| const std::list< double > & | theScales, | ||
| const std::list< double > & | theAngles, | ||
| const gp_XYZ * | theBaseP, | ||
| const int | theFlags = 0, |
||
| const double | theTolerance = 1e-6 |
||
| ) |
| 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.
| SMESH_MeshEditor::ExtrusParam::ExtrusParam | ( | const std::vector< PathPoint > & | thePoints, |
| const gp_Pnt * | theBaseP, | ||
| const std::list< double > & | theScales, | ||
| const bool | theMakeGroups | ||
| ) |
References makeNodesAlongTrack(), myBaseP, myMakeNodesFun, and myScales.
|
private |
| SMESH_SequenceOfNode & SMESH_MeshEditor::ExtrusParam::ChangeNodes | ( | ) |
| int & SMESH_MeshEditor::ExtrusParam::Flags | ( | ) |
|
private |
| bool SMESH_MeshEditor::ExtrusParam::IsAngleVariation | ( | ) | const |
Referenced by ExtrusParam().
| bool SMESH_MeshEditor::ExtrusParam::IsScaleVariation | ( | ) | 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 | ||
| ) |
Referenced by SMESH_MeshEditor::ExtrusionSweep().
|
private |
|
private |
References SMESHDS_Mesh::AddNode(), and SMESHDS_Mesh::MoveNode().
Referenced by ExtrusParam().
|
private |
References SMESH_TNodeXYZ::_node, SMESHDS_Mesh::AddNode(), and SMDS_Mesh::nodesIterator().
Referenced by ExtrusParam().
|
private |
Referenced by ExtrusParam().
|
private |
|
private |
| int SMESH_MeshEditor::ExtrusParam::NbSteps | ( | ) | const |
Referenced by SMESH_MeshEditor::ExtrusionSweep().
|
private |
| void SMESH_MeshEditor::ExtrusParam::SetElementsToUse | ( | const TIDSortedElemSet & | elems, |
| const TIDSortedElemSet & | nodes | ||
| ) |
References SMDS_MeshElement::nodesIterator().
Referenced by SMESH_MeshEditor::ExtrusionSweep().
| bool SMESH_MeshEditor::ExtrusParam::ToMakeBoundary | ( | ) | const |
References SMESH::EXTRUSION_FLAG_BOUNDARY.
Referenced by SMESH_MeshEditor::ExtrusionSweep().
| bool SMESH_MeshEditor::ExtrusParam::ToMakeGroups | ( | ) | const |
Referenced by SMESH_MeshEditor::ExtrusionSweep().
| bool SMESH_MeshEditor::ExtrusParam::ToUseInpElemsOnly | ( | ) | const |
|
private |
Referenced by ExtrusParam().
|
private |
Referenced by ExtrusParam().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by ExtrusParam().
|
private |
|
private |
|
private |
|
private |
Referenced by ExtrusParam().
|
private |
|
private |