SMESH_MeshEditor::ElemFeatures Struct Reference

< 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 ElemFeaturesInit (const SMDS_MeshElement *elem, bool basicOnly=true)
 Initializes members by an existing element. More...
 
SMESH_EXPORT ElemFeaturesInit (const std::vector< int > &quanities, bool isQuad=false)
 
SMESH_EXPORT ElemFeaturesInit (double diameter)
 
SMESH_EXPORT ElemFeaturesInit (SMDSAbs_ElementType type, bool isPoly=false, bool isQuad=false)
 
SMESH_EXPORT ElemFeaturesInit (std::vector< int > &quanities, bool isQuad=false)
 
SMESH_EXPORT ElemFeaturesSetID (int ID)
 
SMESH_EXPORT ElemFeaturesSetPoly (bool isPoly)
 
SMESH_EXPORT ElemFeaturesSetQuad (bool isQuad)
 

Public Attributes

double myBallDiameter
 
int myID
 
bool myIsPoly
 
bool myIsQuad
 
std::vector< intmyPolyhedQuantities
 
SMDSAbs_ElementType myType
 

Detailed Description

< Features of element to create

Constructor & Destructor Documentation

◆ ElemFeatures()

SMESH_EXPORT SMESH_MeshEditor::ElemFeatures::ElemFeatures ( SMDSAbs_ElementType  type = SMDSAbs_All,
bool  isPoly = false,
bool  isQuad = false 
)

Member Function Documentation

◆ Init() [1/5]

SMESH_MeshEditor::ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init ( const SMDS_MeshElement elem,
bool  basicOnly = true 
)

Initializes members by an existing element.

Parameters
[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.

◆ Init() [2/5]

SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init ( const std::vector< int > &  quanities,
bool  isQuad = false 
)

◆ Init() [3/5]

SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init ( double  diameter)

◆ Init() [4/5]

SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init ( SMDSAbs_ElementType  type,
bool  isPoly = false,
bool  isQuad = false 
)

◆ Init() [5/5]

SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::Init ( std::vector< int > &  quanities,
bool  isQuad = false 
)

◆ SetID()

SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::SetID ( int  ID)

◆ SetPoly()

SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::SetPoly ( bool  isPoly)

◆ SetQuad()

SMESH_EXPORT ElemFeatures & SMESH_MeshEditor::ElemFeatures::SetQuad ( bool  isQuad)

Member Data Documentation

◆ myBallDiameter

double SMESH_MeshEditor::ElemFeatures::myBallDiameter

◆ myID

int SMESH_MeshEditor::ElemFeatures::myID

◆ myIsPoly

bool SMESH_MeshEditor::ElemFeatures::myIsPoly

◆ myIsQuad

bool SMESH_MeshEditor::ElemFeatures::myIsQuad

◆ myPolyhedQuantities

std::vector<int> SMESH_MeshEditor::ElemFeatures::myPolyhedQuantities

◆ myType

SMDSAbs_ElementType SMESH_MeshEditor::ElemFeatures::myType

The documentation for this struct was generated from the following files: