< Features of element to create More...
#include <SMESH_MeshEditor.hxx>
Public Member Functions | |
SMESH_EXPORT | ElemFeatures (SMDSAbs_ElementType type=SMDSAbs_All, bool isPoly=false, bool isQuad=false) |
SMESH_EXPORT ElemFeatures & | Init (const SMDS_MeshElement *elem, bool basicOnly=true) |
Initializes members by an existing element. More... | |
SMESH_EXPORT ElemFeatures & | Init (const std::vector< int > &quanities, bool isQuad=false) |
SMESH_EXPORT ElemFeatures & | Init (double diameter) |
SMESH_EXPORT ElemFeatures & | Init (SMDSAbs_ElementType type, bool isPoly=false, bool isQuad=false) |
SMESH_EXPORT ElemFeatures & | Init (std::vector< int > &quanities, bool isQuad=false) |
SMESH_EXPORT ElemFeatures & | SetID (int ID) |
SMESH_EXPORT ElemFeatures & | SetPoly (bool isPoly) |
SMESH_EXPORT ElemFeatures & | SetQuad (bool isQuad) |
Public Attributes | |
double | myBallDiameter |
int | myID |
bool | myIsPoly |
bool | myIsQuad |
std::vector< int > | myPolyhedQuantities |
SMDSAbs_ElementType | myType |
< Features of element to create
SMESH_EXPORT SMESH_MeshEditor::ElemFeatures::ElemFeatures | ( | SMDSAbs_ElementType | type = SMDSAbs_All , |
bool | isPoly = false , |
||
bool | isQuad = false |
||
) |
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, and myType.
SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init | ( | const std::vector< int > & | quanities, |
bool | isQuad = false |
||
) |
SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init | ( | double | diameter | ) |
SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init | ( | SMDSAbs_ElementType | type, |
bool | isPoly = false , |
||
bool | isQuad = false |
||
) |
SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init | ( | std::vector< int > & | quanities, |
bool | isQuad = false |
||
) |
SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::SetID | ( | int | ID | ) |
Referenced by SMESH_MeshEditor::MergeNodes(), and SMESH_MeshEditor::SewSideElements().
SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::SetPoly | ( | bool | isPoly | ) |
Referenced by SMESH_MeshEditor::Make2DMeshFrom3D(), and SMESH_MeshEditor::MergeNodes().
SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::SetQuad | ( | bool | isQuad | ) |
Referenced by SMESH_MeshEditor::Make2DMeshFrom3D(), and SMESH_MeshEditor::MergeNodes().
double SMESH_MeshEditor::ElemFeatures::myBallDiameter |
Referenced by SMESH_MeshEditor::AddElement(), and Init().
int SMESH_MeshEditor::ElemFeatures::myID |
Referenced by SMESH_MeshEditor::AddElement().
bool SMESH_MeshEditor::ElemFeatures::myIsPoly |
Referenced by SMESH_MeshEditor::AddElement(), and Init().
bool SMESH_MeshEditor::ElemFeatures::myIsQuad |
Referenced by SMESH_MeshEditor::AddElement(), Init(), and SMESH_MeshEditor::MergeNodes().
std::vector<int> SMESH_MeshEditor::ElemFeatures::myPolyhedQuantities |
Referenced by SMESH_MeshEditor::AddElement(), and Init().
SMDSAbs_ElementType SMESH_MeshEditor::ElemFeatures::myType |
Referenced by SMESH_MeshEditor::AddElement(), and Init().