< Features of element to create More...
#include <SMESH_MeshEditor.hxx>
Public Member Functions | |
ElemFeatures (SMDSAbs_ElementType type=SMDSAbs_All, bool isPoly=false, bool isQuad=false) | |
ElemFeatures & | Init (SMDSAbs_ElementType type, bool isPoly=false, bool isQuad=false) |
ElemFeatures & | Init (const SMDS_MeshElement *elem, bool basicOnly=true) |
Initializes members by an existing element. More... | |
ElemFeatures & | Init (double diameter) |
ElemFeatures & | Init (std::vector< int > &quanities, bool isQuad=false) |
ElemFeatures & | Init (const std::vector< int > &quanities, bool isQuad=false) |
ElemFeatures & | SetPoly (bool isPoly) |
ElemFeatures & | SetQuad (bool isQuad) |
ElemFeatures & | SetID (int ID) |
Data Fields | |
SMDSAbs_ElementType | myType |
bool | myIsPoly |
bool | myIsQuad |
int | myID |
double | myBallDiameter |
std::vector< int > | myPolyhedQuantities |
std::vector< const SMDS_MeshNode * > | myNodes |
< Features of element to create
SMESH_MeshEditor::ElemFeatures::ElemFeatures | ( | SMDSAbs_ElementType | type = SMDSAbs_All , |
bool | isPoly = false , |
||
bool | isQuad = false |
||
) |
ElemFeatures& SMESH_MeshEditor::ElemFeatures::Init | ( | SMDSAbs_ElementType | type, |
bool | isPoly = false , |
||
bool | isQuad = false |
||
) |
Referenced by SMESH_MeshEditor::applyMerge(), SMESH_Gen_i::ConcatenateCommon(), MeshEditor_I::TPreviewMesh::Copy(), SMESH_MeshEditor::DoubleElements(), SMESH_MeshEditor::doubleNodes(), StdMeshers_Import_1D::importMesh(), SMESH_Mesh_i::MakeGroupsOfBadInputElements(), SMESH_MeshEditor::makeWalls(), SMESH_MeshEditor::removeQuadElem(), and SMESH_MeshEditor::Transform().
SMESH_MeshEditor::ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init | ( | const SMDS_MeshElement * | elem, |
bool | basicOnly = true |
||
) |
Initializes members by an existing element.
[in] | elem | - the source element |
[in] | basicOnly | - if true, does not set additional data of Ball and Polyhedron |
References SMDS_MeshElement::GetType(), SMDS_MeshElement::IsPoly(), SMDS_MeshElement::IsQuadratic(), myBallDiameter, myIsPoly, myIsQuad, myPolyhedQuantities, myType, SMDSAbs_Ball, SMDSAbs_Face, and SMDSAbs_Volume.
ElemFeatures& SMESH_MeshEditor::ElemFeatures::Init | ( | double | diameter | ) |
References SMDSAbs_Ball.
ElemFeatures& SMESH_MeshEditor::ElemFeatures::Init | ( | std::vector< int > & | quanities, |
bool | isQuad = false |
||
) |
References SMDSAbs_Volume.
ElemFeatures& SMESH_MeshEditor::ElemFeatures::Init | ( | const std::vector< int > & | quanities, |
bool | isQuad = false |
||
) |
References SMDSAbs_Volume.
ElemFeatures& SMESH_MeshEditor::ElemFeatures::SetID | ( | int | ID | ) |
Referenced by MeshEditor_I::TPreviewMesh::Copy(), and SMESH_MeshEditor::removeQuadElem().
ElemFeatures& SMESH_MeshEditor::ElemFeatures::SetPoly | ( | bool | isPoly | ) |
Referenced by SMESH_MeshEditor::applyMerge().
ElemFeatures& SMESH_MeshEditor::ElemFeatures::SetQuad | ( | bool | isQuad | ) |
Referenced by SMESH_MeshEditor::applyMerge().
double SMESH_MeshEditor::ElemFeatures::myBallDiameter |
Referenced by Init().
int SMESH_MeshEditor::ElemFeatures::myID |
bool SMESH_MeshEditor::ElemFeatures::myIsQuad |
Referenced by SMESH_MeshEditor::applyMerge(), and Init().
std::vector<const SMDS_MeshNode*> SMESH_MeshEditor::ElemFeatures::myNodes |
Referenced by SMESH_MeshEditor::applyMerge().
SMDSAbs_ElementType SMESH_MeshEditor::ElemFeatures::myType |
Referenced by Init().