Version: 8.3.0
MeshEditor_I::ExtrusionParams Struct Reference

Structure used to pass extrusion parameters to SMESH_MeshEditor. More...

Inheritance diagram for MeshEditor_I::ExtrusionParams:

Data Structures

struct  TBasePoint
 

Public Member Functions

 ExtrusionParams (const SMESH::DirStruct &theDir, CORBA::Long theNbOfSteps, const SMESH::double_array &theScaleFactors, CORBA::Boolean theLinearVariation, const SMESH::double_array &theBasePoint, CORBA::Boolean theMakeGroups)
 
 ExtrusionParams (const SMESH::DirStruct &theDir, CORBA::Long theNbOfSteps, CORBA::Boolean theMakeGroups, CORBA::Long theExtrFlags, CORBA::Double theSewTolerance)
 
 ExtrusionParams (CORBA::Double theStepSize, CORBA::Long theNbOfSteps, CORBA::Short theDim, CORBA::Boolean theByAverageNormal, CORBA::Boolean theUseInputElemsOnly, CORBA::Boolean theMakeGroups)
 
void SetNoGroups ()
 
SMESH_SequenceOfNode & ChangeNodes ()
 
intFlags ()
 
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)
 

Static Public Member Functions

static int makeFlags (CORBA::Boolean MakeGroups, CORBA::Boolean LinearVariation=false, CORBA::Boolean ByAverageNormal=false, CORBA::Boolean UseInputElemsOnly=false, CORBA::Long Flags=0, CORBA::Boolean MakeBoundary=true)
 

Data Fields

bool myIsExtrusionByNormal
 

Static Private Member Functions

static std::list< double > toList (const SMESH::double_array &theScaleFactors)
 

Detailed Description

Structure used to pass extrusion parameters to SMESH_MeshEditor.

Constructor & Destructor Documentation

MeshEditor_I::ExtrusionParams::ExtrusionParams ( const SMESH::DirStruct theDir,
CORBA::Long  theNbOfSteps,
const SMESH::double_array theScaleFactors,
CORBA::Boolean  theLinearVariation,
const SMESH::double_array theBasePoint,
CORBA::Boolean  theMakeGroups 
)
MeshEditor_I::ExtrusionParams::ExtrusionParams ( const SMESH::DirStruct theDir,
CORBA::Long  theNbOfSteps,
CORBA::Boolean  theMakeGroups,
CORBA::Long  theExtrFlags,
CORBA::Double  theSewTolerance 
)
MeshEditor_I::ExtrusionParams::ExtrusionParams ( CORBA::Double  theStepSize,
CORBA::Long  theNbOfSteps,
CORBA::Short  theDim,
CORBA::Boolean  theByAverageNormal,
CORBA::Boolean  theUseInputElemsOnly,
CORBA::Boolean  theMakeGroups 
)

Member Function Documentation

SMESH_SequenceOfNode& SMESH_MeshEditor::ExtrusParam::ChangeNodes ( )
inherited
int& SMESH_MeshEditor::ExtrusParam::Flags ( )
inherited

Referenced by makeFlags(), and SetNoGroups().

bool SMESH_MeshEditor::ExtrusParam::IsLinearVariation ( ) const
inherited
static int MeshEditor_I::ExtrusionParams::makeFlags ( CORBA::Boolean  MakeGroups,
CORBA::Boolean  LinearVariation = false,
CORBA::Boolean  ByAverageNormal = false,
CORBA::Boolean  UseInputElemsOnly = false,
CORBA::Long  Flags = 0,
CORBA::Boolean  MakeBoundary = true 
)
static
int SMESH_MeshEditor::ExtrusParam::MakeNodes ( SMESHDS_Mesh mesh,
const SMDS_MeshNode srcNode,
std::list< const SMDS_MeshNode * > &  newNodes,
const bool  makeMediumNodes 
)
inherited
int SMESH_MeshEditor::ExtrusParam::NbSteps ( ) const
inherited
void SMESH_MeshEditor::ExtrusParam::SetElementsToUse ( const TIDSortedElemSet elems,
const TIDSortedElemSet nodes 
)
inherited
static std::list<double> MeshEditor_I::ExtrusionParams::toList ( const SMESH::double_array theScaleFactors)
staticprivate
bool SMESH_MeshEditor::ExtrusParam::ToMakeBoundary ( ) const
inherited
bool SMESH_MeshEditor::ExtrusParam::ToMakeGroups ( ) const
inherited
bool SMESH_MeshEditor::ExtrusParam::ToUseInpElemsOnly ( ) const
inherited

Field Documentation

bool MeshEditor_I::ExtrusionParams::myIsExtrusionByNormal