Package SMESH


Data Structures

class  Functor_i
class  NumericalFunctor_i
class  MinimumAngle_i
class  AspectRatio_i
class  AspectRatio3D_i
class  Warping_i
class  Taper_i
class  Skew_i
class  Area_i
class  Volume3D_i
class  Length_i
class  Length2D_i
class  MultiConnection_i
class  MultiConnection2D_i
class  Predicate_i
class  BadOrientedVolume_i
class  BelongToGeom_i
class  BelongToSurface_i
class  BelongToPlane_i
class  BelongToCylinder_i
class  LyingOnGeom_i
class  FreeBorders_i
class  FreeEdges_i
class  RangeOfIds_i
class  Comparator_i
class  LessThan_i
class  MoreThan_i
class  EqualTo_i
class  LogicalNOT_i
class  LogicalBinary_i
class  LogicalAND_i
class  LogicalOR_i
class  Filter_i
class  FilterLibrary_i
class  FilterManager_i
class  TPythonDump
class  TElementSimulation
class  TPolySimulation
class  TNodeSimulation
interface  Functor
interface  NumericalFunctor
interface  MinimumAngle
interface  AspectRatio
interface  AspectRatio3D
interface  Warping
interface  Taper
interface  Skew
interface  Area
interface  Volume3D
interface  Length
interface  Length2D
interface  MultiConnection
interface  MultiConnection2D
interface  Predicate
interface  BadOrientedVolume
interface  BelongToGeom
interface  BelongToSurface
interface  BelongToPlane
interface  BelongToCylinder
interface  LyingOnGeom
interface  FreeBorders
interface  FreeEdges
interface  RangeOfIds
interface  Comparator
interface  LessThan
interface  MoreThan
interface  EqualTo
interface  Logical
interface  LogicalNOT
interface  LogicalBinary
interface  LogicalAND
interface  LogicalOR
interface  Filter
interface  FilterLibrary
interface  FilterManager
struct  AlgoStateError
interface  SMESH_Gen
interface  SMESH_GroupBase
interface  SMESH_Group
interface  SMESH_GroupOnGeom
interface  SMESH_Hypothesis
interface  SMESH_Algo
interface  SMESH_1D_Algo
interface  SMESH_2D_Algo
interface  SMESH_3D_Algo
struct  log_block
struct  PointStruct
struct  DirStruct
struct  AxisStruct
interface  SMESH_IDSource
interface  SMESH_Mesh
interface  SMESH_subMesh
interface  SMESH_MeshEditor
interface  SMESH_Pattern

Packages

package  Controls

Typedefs

typedef vtkSmartPointer< OrientedPlaneTVTKPlane
typedef std::vector< TVTKPlaneTPlanes
typedef map< string, HypothesisData * > THypothesisDataMap
typedef map< string, SMESHGUI_GenericHypothesisCreator * > THypCreatorMap
typedef std::vector< _PTR(SObject)> SObjectList
typedef map< TKeyOfVisualObj,
TVisualObjPtr
TVisualObjCont
typedef pair< int, string > TKeyOfVisualObj
typedef sequence< GEOM::GEOM_Object > object_array
typedef sequence< SMESH_Meshmesh_array
typedef sequence< AlgoStateErroralgo_error_array
typedef sequence< string > ListOfHypothesisName
typedef sequence< SMESH_HypothesisListOfHypothesis
typedef sequence< SMESH_GroupBaseListOfGroups
typedef sequence< double > double_array
typedef sequence< long > long_array
typedef sequence< string > string_array
typedef sequence< long_arrayarray_of_long_array
typedef sequence< log_blocklog_array
typedef sequence< SMESH::PointStructpoint_array

Enumerations

enum  Orientation { XY, YZ, ZX }
enum  EDisplaing {
  eDisplayAll, eDisplay, eDisplayOnly, eErase,
  eEraseAll
}
enum  FunctorType {
  FT_AspectRatio, FT_AspectRatio3D, FT_Warping, FT_MinimumAngle,
  FT_Taper, FT_Skew, FT_Area, FT_Volume3D,
  FT_FreeBorders, FT_FreeEdges, FT_MultiConnection, FT_MultiConnection2D,
  FT_Length, FT_Length2D, FT_BelongToGeom, FT_BelongToPlane,
  FT_BelongToCylinder, FT_LyingOnGeom, FT_RangeOfIds, FT_BadOrientedVolume,
  FT_LessThan, FT_MoreThan, FT_EqualTo, FT_LogicalNOT,
  FT_LogicalAND, FT_LogicalOR, FT_Undefined
}
enum  AlgoStateErrorName { MISSING_ALGO, MISSING_HYPO, NOT_CONFORM_MESH }
enum  Dimension { DIM_1D, DIM_2D, DIM_3D }
enum  log_command {
  ADD_NODE, ADD_EDGE, ADD_TRIANGLE, ADD_QUADRANGLE,
  ADD_POLYGON, ADD_TETRAHEDRON, ADD_PYRAMID, ADD_PRISM,
  ADD_HEXAHEDRON, ADD_POLYHEDRON, REMOVE_NODE, REMOVE_ELEMENT,
  MOVE_NODE, CHANGE_ELEMENT_NODES, CHANGE_POLYHEDRON_NODES, RENUMBER,
  ADD_QUADEDGE, ADD_QUADTRIANGLE, ADD_QUADQUADRANGLE, ADD_QUADTETRAHEDRON,
  ADD_QUADPYRAMID, ADD_QUADPENTAHEDRON, ADD_QUADHEXAHEDRON
}
enum  ElementType {
  ALL, NODE, EDGE, FACE,
  VOLUME
}
enum  ElementOrder { ORDER_ANY, ORDER_LINEAR, ORDER_QUADRATIC }
enum  Hypothesis_Status {
  HYP_OK, HYP_MISSING, HYP_CONCURENT, HYP_BAD_PARAMETER,
  HYP_UNKNOWN_FATAL, HYP_INCOMPATIBLE, HYP_NOTCONFORM, HYP_ALREADY_EXIST,
  HYP_BAD_DIM, HYP_BAD_SUBSHAPE
}
enum  DriverMED_ReadStatus {
  DRS_OK, DRS_EMPTY, DRS_WARN_RENUMBER, DRS_WARN_SKIP_ELEM,
  DRS_FAIL
}
enum  MED_VERSION { MED_V2_1, MED_V2_2 }

Functions

vtkFloatingPointType GetFloat (const QString &theValue, vtkFloatingPointType theDefault)
vtkFloatingPointType GetFloat (const QString &theValue, const QString &theSection, vtkFloatingPointType theDefault)
void WriteUnstructuredGrid (vtkUnstructuredGrid *theGrid, const char *theFileName)
QColor GetColor (const QString &theSect, const QString &theName, const QColor &def)
void GetColor (const QString &theSect, const QString &theName, int &r, int &g, int &b, const QColor &def)
void GetColor (const QString &theSect, const QString &theName, vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b, const QColor &def)
template<class TArray>
void DumpArray (const TArray &theArray, std::ostringstream &theStream)
TCollection_AsciiString myLongStringStart ("TPythonDump::LongStringStart")
TCollection_AsciiString myLongStringEnd ("TPythonDump::LongStringEnd")
Predicate_iGetPredicate (Predicate_ptr thePredicate)
Predicate_iGetPredicate (SMESH::Predicate_ptr thePredicate)
template<class T>
DownCast (CORBA::Object_ptr theArg)
void ReverseConnectivity (vector< int > &ids, int type)
SMESH::FilterManager_var & GetFilterManager ()
GEOM::GEOM_Gen_var GetGEOMGen ()
GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh (_PTR(SObject) theMeshOrSubmesh)
GEOM::GEOM_Object_ptr GetGeom (_PTR(SObject) theSO)
SMESH::SMESH_Group_var AddGroup (SMESH::SMESH_Mesh_ptr theMesh, SMESH::ElementType theType, const char *theGroupName)
void processHypothesisStatus (const int theHypStatus, SMESH::SMESH_Hypothesis_ptr theHyp, const bool theIsAddition)
void InitAvailableHypotheses ()
QStringList GetAvailableHypotheses (const bool isAlgo, const int theDim, const bool isAux)
QStringList GetHypothesesSets ()
HypothesesSetGetHypothesesSet (const QString theSetName)
HypothesisDataGetHypothesisData (const char *aHypType)
bool IsAvailableHypothesis (const HypothesisData *algoData, const QString &hypType, bool &isAuxiliary)
bool IsCompatibleAlgorithm (const HypothesisData *algo1Data, const HypothesisData *algo2Data)
SMESHGUI_GenericHypothesisCreatorGetHypothesisCreator (const char *aHypType)
SMESH::SMESH_Hypothesis_ptr CreateHypothesis (const char *aHypType, const char *aHypName, const bool isAlgo)
bool AddHypothesisOnMesh (SMESH::SMESH_Mesh_ptr aMesh, SMESH::SMESH_Hypothesis_ptr aHyp)
bool AddHypothesisOnSubMesh (SMESH::SMESH_subMesh_ptr aSubMesh, SMESH::SMESH_Hypothesis_ptr aHyp)
bool RemoveHypothesisOrAlgorithmOnMesh (const Handle(SALOME_InteractiveObject)&IObject)
bool RemoveHypothesisOrAlgorithmOnMesh (_PTR(SObject) MorSM, SMESH::SMESH_Hypothesis_ptr anHyp)
SObjectList GetMeshesUsingAlgoOrHypothesis (SMESH::SMESH_Hypothesis_ptr AlgoOrHyp)
QString GetMessageOnAlgoStateErrors (const algo_error_array &errors)
SMESH_Mesh_var GetMeshByIO (const Handle(SALOME_InteractiveObject)&theIO)
void AddNode (SMESH::SMESH_Mesh_ptr theMesh, float x, float y, float z)
SMESH::SMESH_Pattern_var GetPattern ()
SMESH::SMESH_Gen_var GetSMESHGen ()
SUIT_Desktop * GetDesktop (const CAM_Module *theModule)
LightApp_SelectionMgr * GetSelectionMgr (const SalomeApp_Module *theModule)
SUIT_ResourceMgr * GetResourceMgr (const SalomeApp_Module *)
 _PTR (Study) GetCStudy(const SalomeApp_Study *theStudy)
CORBA::Object_var DataOwnerToObject (const LightApp_DataOwnerPtr &theOwner)
SUIT_Study * GetActiveStudy ()
SUIT_ViewWindow * GetActiveWindow ()
 _PTR (SObject) FindSObject(CORBA
void SetName (_PTR(SObject) theSObject, const char *theName)
void SetValue (_PTR(SObject) theSObject, const char *theValue)
void setFileName (_PTR(SObject) theSObject, const char *theValue)
void setFileType (_PTR(SObject) theSObject, const char *theValue)
CORBA::Object_var SObjectToObject (_PTR(SObject) theSObject, _PTR(Study) theStudy)
CORBA::Object_var SObjectToObject (_PTR(SObject) theSObject)
CORBA::Object_var IObjectToObject (const Handle(SALOME_InteractiveObject)&theIO)
CORBA::Object_var IORToObject (const char *theIOR)
int GetNameOfSelectedIObjects (LightApp_SelectionMgr *theMgr, QString &theName)
void ModifiedMesh (_PTR(SObject) theSObject, bool theIsRight)
SalomeApp_Study * GetAppStudy (const CAM_Module *theModule)
template<class TInterface>
TInterface::_var_type DataOwnerToInterface (const LightApp_DataOwnerPtr &theDataOwner)
template<class TInterface>
TInterface::_var_type SObjectToInterface (_PTR(SObject) theSObject)
template<class TInterface>
TInterface::_var_type IObjectToInterface (const Handle(SALOME_InteractiveObject)&theIO)
template<class TInterface>
TInterface::_var_type IORToInterface (const char *theIOR)
TVisualObjPtr GetVisualObj (int theStudyId, const char *theEntry)
SVTK_ViewWindow * GetViewWindow (const SalomeApp_Module *theModule)
SVTK_ViewWindow * FindVtkViewWindow (SUIT_ViewManager *theMgr, SUIT_ViewWindow *theWindow)
SVTK_ViewWindow * GetVtkViewWindow (SUIT_ViewWindow *theWindow)
SVTK_ViewWindow * GetCurrentVtkView ()
void RepaintViewWindow (SVTK_ViewWindow *theWindow)
void RenderViewWindow (SVTK_ViewWindow *theWindow)
SMESH_ActorFindActorByEntry (SUIT_ViewWindow *theWindow, const char *theEntry)
SMESH_ActorFindActorByEntry (const char *theEntry)
SMESH_ActorFindActorByObject (CORBA::Object_ptr theObject)
SMESH_ActorCreateActor (_PTR(Study) theStudy, const char *theEntry, int theIsClear)
void DisplayActor (SUIT_ViewWindow *theWnd, SMESH_Actor *theActor)
void RemoveActor (SUIT_ViewWindow *theWnd, SMESH_Actor *theActor)
void FitAll ()
vtkRenderer * GetCurrentRenderer ()
void RepaintCurrentView ()
void UpdateView (SUIT_ViewWindow *theWnd, EDisplaing theAction, const char *theEntry)
void UpdateView (EDisplaing theAction, const char *theEntry)
void UpdateView ()
void Update (const Handle(SALOME_InteractiveObject)&theIO, bool theDisplay)
void UpdateSelectionProp (SMESHGUI *theModule)
SVTK_Selector * GetSelector (SUIT_ViewWindow *theWindow)
void SetFilter (const Handle(VTKViewer_Filter)&theFilter, SVTK_Selector *theSelector)
 Handle (VTKViewer_Filter) GetFilter(int theId
void SetPointRepresentation (bool theIsVisible)
void SetPickable (SMESH_Actor *theActor=NULL)
bool IsFilterPresent (int theId, SVTK_Selector *theSelector=GetSelector())
void RemoveFilter (int theId, SVTK_Selector *theSelector=GetSelector())
void RemoveFilters (SVTK_Selector *theSelector=GetSelector())
bool IsValid (SALOME_Actor *theActor, int theCellId, SVTK_Selector *theSelector=GetSelector())
int GetNameOfSelectedNodes (SVTK_Selector *theSelector, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
int GetNameOfSelectedElements (SVTK_Selector *theSelector, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
int GetEdgeNodes (SVTK_Selector *theSelector, const TVisualObjPtr &theVisualObj, int &theId1, int &theId2)
int GetNameOfSelectedNodes (LightApp_SelectionMgr *, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
int GetNameOfSelectedNodes (LightApp_SelectionMgr *, QString &aName)
int GetNameOfSelectedElements (LightApp_SelectionMgr *, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
int GetNameOfSelectedElements (LightApp_SelectionMgr *, QString &aName)
int GetSelected (LightApp_SelectionMgr *, TColStd_IndexedMapOfInteger &theMap, const bool theIsElement=true)
int GetEdgeNodes (LightApp_SelectionMgr *, int &theId1, int &theId2)
void SetControlsPrecision (const long theVal)

Variables

THypothesisDataMap myHypothesesMap
THypothesisDataMap myAlgorithmsMap
THypCreatorMap myHypCreatorMap
list< HypothesesSet * > myListOfHypothesesSets
static TVisualObjCont VISUAL_OBJ_CONT
SVTK_Selector * theSelector = GetSelector())
const long EXTRUSION_FLAG_BOUNDARY = 1
const long EXTRUSION_FLAG_SEW = 2


Typedef Documentation

typedef vtkSmartPointer<OrientedPlane> SMESH.TVTKPlane
 

typedef std::vector<TVTKPlane> SMESH.TPlanes
 

typedef map<string,HypothesisData*> SMESH.THypothesisDataMap
 

typedef map<string,SMESHGUI_GenericHypothesisCreator*> SMESH.THypCreatorMap
 

typedef std::vector<_PTR(SObject)> SMESH.SObjectList
 

typedef map<TKeyOfVisualObj,TVisualObjPtr> SMESH.TVisualObjCont
 

typedef pair<int,string> SMESH.TKeyOfVisualObj
 

typedef sequence<GEOM::GEOM_Object> SMESH.object_array
 

typedef sequence<SMESH_Mesh> SMESH.mesh_array
 

typedef sequence<AlgoStateError> SMESH.algo_error_array
 

typedef sequence<string> SMESH.ListOfHypothesisName
 

typedef sequence<SMESH_Hypothesis> SMESH.ListOfHypothesis
 

typedef sequence<SMESH_GroupBase> SMESH.ListOfGroups
 

typedef sequence<double> SMESH.double_array
 

typedef sequence<long> SMESH.long_array
 

typedef sequence<string> SMESH.string_array
 

typedef sequence<long_array> SMESH.array_of_long_array
 

typedef sequence<log_block> SMESH.log_array
 

typedef sequence<SMESH::PointStruct> SMESH.point_array
 


Enumeration Type Documentation

enum SMESH::Orientation
 

Enumerator:
XY 
YZ 
ZX 

enum SMESH::EDisplaing
 

Enumerator:
eDisplayAll 
eDisplay 
eDisplayOnly 
eErase 
eEraseAll 

enum SMESH::FunctorType
 

Enumeration of functor types

Enumerator:
FT_AspectRatio 
FT_AspectRatio3D 
FT_Warping 
FT_MinimumAngle 
FT_Taper 
FT_Skew 
FT_Area 
FT_Volume3D 
FT_FreeBorders 
FT_FreeEdges 
FT_MultiConnection 
FT_MultiConnection2D 
FT_Length 
FT_Length2D 
FT_BelongToGeom 
FT_BelongToPlane 
FT_BelongToCylinder 
FT_LyingOnGeom 
FT_RangeOfIds 
FT_BadOrientedVolume 
FT_LessThan 
FT_MoreThan 
FT_EqualTo 
FT_LogicalNOT 
FT_LogicalAND 
FT_LogicalOR 
FT_Undefined 

enum SMESH::AlgoStateErrorName
 

Enumerator:
MISSING_ALGO 
MISSING_HYPO 
NOT_CONFORM_MESH 

enum SMESH::Dimension
 

Enumerator:
DIM_1D 
DIM_2D 
DIM_3D 

enum SMESH::log_command
 

Enumerator:
ADD_NODE 
ADD_EDGE 
ADD_TRIANGLE 
ADD_QUADRANGLE 
ADD_POLYGON 
ADD_TETRAHEDRON 
ADD_PYRAMID 
ADD_PRISM 
ADD_HEXAHEDRON 
ADD_POLYHEDRON 
REMOVE_NODE 
REMOVE_ELEMENT 
MOVE_NODE 
CHANGE_ELEMENT_NODES 
CHANGE_POLYHEDRON_NODES 
RENUMBER 
ADD_QUADEDGE 
ADD_QUADTRIANGLE 
ADD_QUADQUADRANGLE 
ADD_QUADTETRAHEDRON 
ADD_QUADPYRAMID 
ADD_QUADPENTAHEDRON 
ADD_QUADHEXAHEDRON 

enum SMESH::ElementType
 

Enumeration for element type, like in SMDS

Enumerator:
ALL 
NODE 
EDGE 
FACE 
VOLUME 

enum SMESH::ElementOrder
 

ElementOrder points out entities of what order are requested

Enumerator:
ORDER_ANY 
ORDER_LINEAR  entities of any order
ORDER_QUADRATIC  entities of 2nd order

enum SMESH::Hypothesis_Status
 

Enumeration for hypothesis status (used by AddHypothesis() and RemoveHypothesis() methods)

Enumerator:
HYP_OK 
HYP_MISSING 
HYP_CONCURENT 
HYP_BAD_PARAMETER 
HYP_UNKNOWN_FATAL 
HYP_INCOMPATIBLE 
HYP_NOTCONFORM 
HYP_ALREADY_EXIST 
HYP_BAD_DIM 
HYP_BAD_SUBSHAPE 

enum SMESH::DriverMED_ReadStatus
 

Enumeration for DriverMED read status (used by ImportMEDFile() method)

Enumerator:
DRS_OK 
DRS_EMPTY 
DRS_WARN_RENUMBER 
DRS_WARN_SKIP_ELEM 
DRS_FAIL 

enum SMESH::MED_VERSION
 

Enumeration for DriverMED (used by Perform() method)

Enumerator:
MED_V2_1 
MED_V2_2 


Function Documentation

vtkFloatingPointType SMESH::GetFloat const QString &  theValue,
vtkFloatingPointType  theDefault = 0
 

vtkFloatingPointType SMESH::GetFloat const QString &  theValue,
const QString &  theSection,
vtkFloatingPointType  theDefault = 0
 

void SMESH::WriteUnstructuredGrid vtkUnstructuredGrid *  theGrid,
const char *  theFileName
 

QColor SMESH::GetColor const QString &  theSect,
const QString &  theName,
const QColor &  def = QColor()
 

void SMESH::GetColor const QString &  theSect,