Version: 8.3.0
SMESH Namespace Reference

Namespaces

namespace  Controls
 

Data Structures

struct  NotifyerAndWaiter
 Object notified on change of base objects and notifying dependent objects in its turn. More...
 
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  MaxElementLength2D_i
 
class  MaxElementLength3D_i
 
class  Length_i
 
class  Length2D_i
 
class  MultiConnection_i
 
class  MultiConnection2D_i
 
class  BallDiameter_i
 
class  NodeConnectivityNumber_i
 
class  Predicate_i
 
class  BadOrientedVolume_i
 
class  BareBorderVolume_i
 
class  BareBorderFace_i
 
class  OverConstrainedVolume_i
 
class  OverConstrainedFace_i
 
class  BelongToMeshGroup_i
 
class  BelongToGeom_i
 
class  BelongToSurface_i
 
class  BelongToPlane_i
 
class  BelongToCylinder_i
 
class  BelongToGenSurface_i
 
class  LyingOnGeom_i
 
class  FreeBorders_i
 
class  FreeEdges_i
 
class  FreeFaces_i
 
class  FreeNodes_i
 
class  EqualNodes_i
 
class  EqualEdges_i
 
class  EqualFaces_i
 
class  EqualVolumes_i
 
class  RangeOfIds_i
 
class  LinearOrQuadratic_i
 
class  GroupColor_i
 
class  ElemGeomType_i
 
class  ElemEntityType_i
 
class  CoplanarFaces_i
 
class  ConnectedElements_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  Measurements_i
 
struct  TVar
 Object used to make TPythonDump know that its held value can be a varible. More...
 
class  TPythonDump
 Utility helping in storing SMESH engine calls as python commands. More...
 
struct  ClippingPlaneInfo
 
class  TElementSimulation
 
class  TElementSimulationQuad
 
class  OrientedPlane
 
struct  TPlaneData
 
struct  MemoryReserve
 Allocate some memory at construction and release it at destruction. More...
 
class  TShapeDisplayer
 Class showing shapes without publishing. More...
 
class  TPolySimulation
 
class  TNodeSimulation
 
class  toStrT
 Class useful to convert a string returned from a CORBA call to other string types w/o memory leak. More...
 
struct  toQStr
 
struct  toStdStr
 
struct  toUtf8
 
class  ApplicableToAny
 
struct  HistogramRectangle
 Parameters of a reclangle of histogram. More...
 
interface  Functor
 Base interface for all functors ( i.e. More...
 
interface  NumericalFunctor
 Numerical functors are intended for calculating value by Id of mesh entity. More...
 
interface  MinimumAngle
 
interface  AspectRatio
 
interface  AspectRatio3D
 
interface  Warping
 
interface  Taper
 
interface  Skew
 
interface  Area
 
interface  Volume3D
 
interface  MaxElementLength2D
 
interface  MaxElementLength3D
 
interface  Length
 
interface  Length2D
 
interface  MultiConnection
 
interface  MultiConnection2D
 
interface  BallDiameter
 
interface  NodeConnectivityNumber
 
interface  Predicate
 Predicates are intended for verification of criteria, they return bool value by mesh id. More...
 
interface  BadOrientedVolume
 Logical functor (predicate) "Bad Oriented Volume". More...
 
interface  BareBorderVolume
 Logical functor (predicate) "Volumes with bare border". More...
 
interface  BareBorderFace
 Logical functor (predicate) "Faces with bare border". More...
 
interface  OverConstrainedVolume
 Logical functor (predicate) "Over-constrained Volume" Verify whether a mesh volume has only one facet shared with other volumes. More...
 
interface  OverConstrainedFace
 Logical functor (predicate) "Over-constrained Face". More...
 
interface  EqualNodes
 Logical functor (predicate) "Equal Nodes". More...
 
interface  EqualEdges
 Logical functor (predicate) "Equal Edges". More...
 
interface  EqualFaces
 Logical functor (predicate) "Equal Faces". More...
 
interface  EqualVolumes
 Logical functor (predicate) "Equal Volumes". More...
 
interface  BelongToMeshGroup
 Logical functor (predicate) "Belong To Mesh Group". More...
 
interface  BelongToGeom
 Logical functor (predicate) "Belong To Geometry". More...
 
interface  BelongToSurface
 Logical functor (predicate) "Belong To Surface". More...
 
interface  BelongToPlane
 Logical functor (predicate) "Belong To Plane". More...
 
interface  BelongToCylinder
 Logical functor (predicate) "Belong To Cylinder". More...
 
interface  BelongToGenSurface
 Logical functor (predicate) "Belong To Generic Surface". More...
 
interface  LyingOnGeom
 Logical functor (predicate) "Lying On Geometry". More...
 
interface  FreeBorders
 Logical functor (predicate) "Free borders". More...
 
interface  FreeEdges
 Logical functor (predicate) "Free edges". More...
 
interface  FreeNodes
 Logical functor (predicate) "Free nodes". More...
 
interface  FreeFaces
 Logical functor (predicate) "Free faces". More...
 
interface  RangeOfIds
 Abstract logical functor (predicate) "RangeOfIds". More...
 
interface  Comparator
 Comparator. More...
 
interface  LessThan
 
interface  MoreThan
 
interface  EqualTo
 
interface  Logical
 Logical predicates are intended for compose predicates using boolean operations. More...
 
interface  LogicalNOT
 
interface  LogicalBinary
 
interface  LogicalAND
 
interface  LogicalOR
 
interface  LinearOrQuadratic
 Logical functor (predicate) "Is element Linear or Quadratic". More...
 
interface  GroupColor
 Predicate "Group Color" Returns color of group to which mesh element belongs to. More...
 
interface  ElemGeomType
 Predicate "Element geometry type" Returns is element has indicated geometry type. More...
 
interface  ElemEntityType
 Predicate "Element entity type" Returns is element has indicated entity type. More...
 
interface  CoplanarFaces
 Predicate "Coplanar faces" Returns true if a mesh face is a coplanar neighbour to a given one. More...
 
interface  ConnectedElements
 Predicate "Connected Elements" Returns true if an element is connected via other elements to the element located at a given point. More...
 
interface  Filter
 Filter. More...
 
interface  FilterLibrary
 Interface for working with library of filters. More...
 
interface  FilterManager
 Interface of Filter manager. More...
 
struct  AlgoStateError
 Hypothesis definintion error. More...
 
struct  ComputeError
 
interface  SMESH_Gen
 
interface  SMESH_GroupBase
 SMESH_Group: base interface of group object. More...
 
interface  SMESH_Group
 SMESH_Group: interface of a standalone group object. More...
 
interface  SMESH_GroupOnGeom
 SMESH_GroupOnGeom: interface of a group object linked to geometry. More...
 
interface  SMESH_GroupOnFilter
 SMESH_GroupOnFilter: interface of a group object defined by filter. More...
 
interface  SMESH_Hypothesis
 
interface  SMESH_Algo
 
interface  SMESH_0D_Algo
 
interface  SMESH_1D_Algo
 
interface  SMESH_2D_Algo
 
interface  SMESH_3D_Algo
 
struct  Measure
 
interface  Measurements
 
struct  log_block
 
struct  PointStruct
 
struct  DirStruct
 
struct  AxisStruct
 
struct  NodePosition
 Node location on a shape. More...
 
struct  ElementPosition
 Element location on a shape. More...
 
struct  MedFileInfo
 A structure containing information about MED file. More...
 
struct  ElementSubType
 Structure used in mesh edit preview data (MeshPreviewStruct) More...
 
struct  MeshPreviewStruct
 Structure containing mesh edit preview data. More...
 
interface  SMESH_IDSource
 
interface  SMESH_Mesh
 
interface  SMESH_subMesh
 
struct  FreeBorder
 
struct  FreeBorderPart
 
struct  CoincidentFreeBorders
 
interface  SMESH_MeshEditor
 This interface makes modifications on the Mesh - removing elements and nodes etc. More...
 
interface  SMESH_Pattern
 SMESH_Pattern: interface of mesh pattern. More...
 

Typedefs

typedef vtkSmartPointer
< OrientedPlane
TPlane
 
typedef std::list< vtkActor * > TActorList
 
typedef std::vector< TPlaneTPlaneVector
 
typedef std::vector< TPlaneDataTPlaneDataVector
 
typedef IMap< QString,
HypothesisData * > 
THypothesisDataMap
 
typedef std::vector< _PTR(SObject)> SObjectList
 
typedef
SALOME::GenericObj_wrap
< SMESH_IDSource
IDSource_wrap
 
typedef std::map
< TKeyOfVisualObj,
TVisualObjPtr
TVisualObjCont
 
typedef std::pair< int,
std::string > 
TKeyOfVisualObj
 
typedef sequence
< HistogramRectangle
Histogram
 
typedef sequence
< SALOMEDS::SObject
sobject_list
 
typedef sequence
< GEOM::GEOM_Object > 
object_array
 
typedef sequence< SMESH_Meshmesh_array
 
typedef sequence< AlgoStateErroralgo_error_array
 
typedef sequence< ComputeErrorcompute_error_array
 
typedef sequence< string > ListOfParameters
 
typedef sequence< string > ListOfHypothesisName
 
typedef sequence
< SMESH_Hypothesis
ListOfHypothesis
 
typedef sequence< SMESH_GroupBaseListOfGroups
 
typedef sequence< SMESH_IDSourceListOfIDSources
 
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< PointStructnodes_array
 
typedef sequence< ElementTypearray_of_ElementType
 
typedef sequence< ElementSubTypetypes_array
 
typedef sequence< SMESH_subMeshsubmesh_array
 
typedef sequence< submesh_arraysubmesh_array_array
 
typedef sequence< FreeBorderListOfFreeBorders
 
typedef sequence< FreeBorderPartFreeBordersGroup
 
typedef sequence
< FreeBordersGroup
ListOfFreeBorderGroups
 
typedef sequence
< SMESH::PointStruct
point_array
 

Enumerations

enum  LabelFont { FntArial, FntCourier, FntTimes }
 Label font family. More...
 
enum  Viewer2dActionType { UpdateIn2dViewer = 0, RemoveFrom2dViewer }
 
enum  MeshObjectType {
  HYPOTHESIS, ALGORITHM, MESH, SUBMESH,
  MESHorSUBMESH, SUBMESH_VERTEX, SUBMESH_EDGE, SUBMESH_FACE,
  SUBMESH_SOLID, SUBMESH_COMPOUND, GROUP, GROUP_NODE,
  GROUP_EDGE, GROUP_FACE, GROUP_VOLUME, GROUP_0D,
  GROUP_BALL, COMPONENT, IDSOURCE, IDSOURCE_EDGE,
  IDSOURCE_FACE, IDSOURCE_VOLUME
}
 
enum  Mode { Absolute, Relative }
 
enum  Orientation { XY, YZ, ZX }
 
enum  SMESHGUI_FilterType {
  UnknownFilter = -1, NodeFilter = 0, EdgeFilter = 1, FaceFilter = 2,
  VolumeFilter = 3, AllElementsFilter = 4, QuadFilter = 5, TriaFilter = 6,
  FirstGeometryTypeFilter, FirstEntityTypeFilter = FirstGeometryTypeFilter + SMDSGeom_NONE, LastFilter = FirstEntityTypeFilter + SMDSEntity_Last
}
 
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_MaxElementLength2D, FT_MaxElementLength3D, FT_FreeBorders, FT_FreeEdges,
  FT_FreeNodes, FT_FreeFaces, FT_EqualNodes, FT_EqualEdges,
  FT_EqualFaces, FT_EqualVolumes, FT_MultiConnection, FT_MultiConnection2D,
  FT_Length, FT_Length2D, FT_NodeConnectivityNumber, FT_BelongToMeshGroup,
  FT_BelongToGeom, FT_BelongToPlane, FT_BelongToCylinder, FT_BelongToGenSurface,
  FT_LyingOnGeom, FT_RangeOfIds, FT_BadOrientedVolume, FT_BareBorderVolume,
  FT_BareBorderFace, FT_OverConstrainedVolume, FT_OverConstrainedFace, FT_LinearOrQuadratic,
  FT_GroupColor, FT_ElemGeomType, FT_EntityType, FT_CoplanarFaces,
  FT_BallDiameter, FT_ConnectedElements, FT_LessThan, FT_MoreThan,
  FT_EqualTo, FT_LogicalNOT, FT_LogicalAND, FT_LogicalOR,
  FT_Undefined
}
 Enumeration of functor types. More...
 
enum  ComputeErrorName {
  COMPERR_OK, COMPERR_BAD_INPUT_MESH, COMPERR_STD_EXCEPTION, COMPERR_OCC_EXCEPTION,
  COMPERR_SLM_EXCEPTION, COMPERR_EXCEPTION, COMPERR_MEMORY_PB, COMPERR_ALGO_FAILED,
  COMPERR_BAD_SHAPE, COMPERR_WARNING, COMPERR_CANCELED, COMPERR_NO_MESH_ON_SHAPE,
  COMPERR_BAD_PARMETERS
}
 Mesh computation error. More...
 
enum  Dimension { DIM_0D, 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,
  CLEAR_MESH, ADD_QUADEDGE, ADD_QUADTRIANGLE, ADD_QUADQUADRANGLE,
  ADD_QUADPOLYGON, ADD_QUADTETRAHEDRON, ADD_QUADPYRAMID, ADD_QUADPENTAHEDRON,
  ADD_QUADHEXAHEDRON, ADD_ELEM0D, ADD_BIQUAD_TRIANGLE, ADD_BIQUAD_QUADRANGLE,
  ADD_TRIQUAD_HEXA, ADD_HEXAGONAL_PRISM, ADD_BALL
}
 
enum  ElementType {
  ALL, NODE, EDGE, FACE,
  VOLUME, ELEM0D, BALL, NB_ELEMENT_TYPES
}
 Enumeration for element type, like in SMDS. More...
 
enum  GeometryType {
  Geom_POINT, Geom_EDGE, Geom_TRIANGLE, Geom_QUADRANGLE,
  Geom_POLYGON, Geom_TETRA, Geom_PYRAMID, Geom_HEXA,
  Geom_PENTA, Geom_HEXAGONAL_PRISM, Geom_POLYHEDRA, Geom_BALL,
  Geom_LAST
}
 Enumeration for element geometry type, like SMDSAbs_GeometryType in SMDSAbs_ElementType.hxx. More...
 
enum  ElementOrder { ORDER_ANY, ORDER_LINEAR, ORDER_QUADRATIC }
 ElementOrder points out entities of what order are requested. More...
 
enum  EntityType {
  Entity_Node, Entity_0D, Entity_Edge, Entity_Quad_Edge,
  Entity_Triangle, Entity_Quad_Triangle, Entity_BiQuad_Triangle, Entity_Quadrangle,
  Entity_Quad_Quadrangle, Entity_BiQuad_Quadrangle, Entity_Polygon, Entity_Quad_Polygon,
  Entity_Tetra, Entity_Quad_Tetra, Entity_Pyramid, Entity_Quad_Pyramid,
  Entity_Hexa, Entity_Quad_Hexa, Entity_TriQuad_Hexa, Entity_Penta,
  Entity_Quad_Penta, Entity_Hexagonal_Prism, Entity_Polyhedra, Entity_Quad_Polyhedra,
  Entity_Ball, Entity_Last
}
 Enumeration of entity type used in mesh info array, it should be synchronised with enum SMDSAbs_EntityType. More...
 
enum  Hypothesis_Status {
  HYP_OK, HYP_MISSING, HYP_CONCURENT, HYP_BAD_PARAMETER,
  HYP_HIDDEN_ALGO, HYP_HIDING_ALGO, HYP_UNKNOWN_FATAL, HYP_INCOMPATIBLE,
  HYP_NOTCONFORM, HYP_ALREADY_EXIST, HYP_BAD_DIM, HYP_BAD_SUBSHAPE,
  HYP_BAD_GEOMETRY, HYP_NEED_SHAPE, HYP_INCOMPAT_HYPS
}
 Enumeration for hypothesis status (used by AddHypothesis() and RemoveHypothesis() methods) More...
 
enum  DriverMED_ReadStatus {
  DRS_OK, DRS_EMPTY, DRS_WARN_RENUMBER, DRS_WARN_SKIP_ELEM,
  DRS_WARN_DESCENDING, DRS_FAIL
}
 Enumeration for mesh read status (used by SMESH_Gen::CreateMeshesFrom*() methods) More...
 
enum  MED_VERSION { MED_V2_1, MED_V2_2 }
 Enumeration for ExportToMED*() More...
 
enum  NB_COMMON_NODES_ENUM { ALL_NODES, MAIN, AT_LEAST_ONE, MAJORITY }
 Enumeration for CreateDimGroup() More...
 
enum  Bnd_Dimension { BND_2DFROM3D, BND_1DFROM3D, BND_1DFROM2D }
 

Functions

double GetFloat (const QString &theValue, double theDefault)
 
double GetFloat (const QString &theValue, const QString &theSection, double 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, double &r, double &g, double &b, const QColor &def)
 
void GetColor (const QString &theSect, const QString &theName, QColor &color, int &delta, QString def)
 
std::map< SMDSAbs_ElementType,
int
GetEntitiesFromObject (SMESH_VisualObj *theObject)
 
void ProcessIn2DViewers (SMESH_Actor *theActor, Viewer2dActionType aType)
 Get histogram from the input actor Repaint/Remove the histogram in/from each opened Plot2D Viewer. More...
 
template<class TArray >
void DumpArray (const TArray &theArray, TPythonDump &theStream)
 
TCollection_AsciiString myLongStringStart ("TPythonDump::LongStringStart")
 
TCollection_AsciiString myLongStringEnd ("TPythonDump::LongStringEnd")
 
void printException (const char *text)
 
Predicate_iGetPredicate (Predicate_ptr thePredicate)
 
Predicate_iGetPredicate (SMESH::Predicate_ptr thePredicate)
 
const char * FunctorTypeToString (SMESH::FunctorType ft)
 Return a string corresponding to an item of enum FunctorType. More...
 
SMESH::FunctorType StringToFunctorType (const char *str)
 Converts a string to FunctorType. More...
 
template<class T >
DownCast (CORBA::Object_ptr theArg)
 
void throwCorbaException (const char *excText)
 Function used in SMESH_CATCH to convert a caught exception to SALOME::SALOME_Exception. More...
 
QString errorText (int errCode, const char *comment)
 
 _PTR (SObject) getSubShapeSO(int subShapeID = SMESH::FindSObject(aMainShape)
 Return SO of a sub-shape. More...
 
 if (subShapeID==1||!so) return so
 
 _PTR (ChildIterator) it
 
 if (_PTR(Study) study=SMESH::GetActiveStudyDocument()) it
 
 if (it)
 
GEOM::GEOM_Object_ptr getSubShape (int subShapeID, GEOM::GEOM_Object_var aMainShape)
 Return sub-shape by ID. More...
 
QString shapeTypeName (GEOM::GEOM_Object_var aShape, const char *dflt="")
 
QString shapeText (int subShapeID, GEOM::GEOM_Object_var aMainShape)
 Return text describing a sub-shape. More...
 
int getSelectedRows (QTableWidget *table, QList< int > &rows)
 Return a list of selected rows. More...
 
SMESH::FilterManager_var & GetFilterManager ()
 
GEOM::GEOM_Gen_var GetGEOMGen ()
 
GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh (_PTR(SObject) theMeshOrSubmesh, bool *isMesh)
 
GEOM::GEOM_Object_var GetGeom (_PTR(SObject) theSO)
 
char * GetGeomName (_PTR(SObject) smeshSO)
 
GEOM::GEOM_Object_ptr GetSubShape (GEOM::GEOM_Object_ptr theMainShape, long theID)
 
bool GetGeomEntries (Handle(SALOME_InteractiveObject)&hypIO, QString &subGeom, QString &meshGeom)
 Return entries of sub-mesh geometry and mesh geometry by an IO of assigned hypothesis. More...
 
SMESH::SMESH_Group_var AddGroup (SMESH::SMESH_Mesh_ptr theMesh, SMESH::ElementType theType, const QString &theGroupName)
 
void processHypothesisStatus (const int theHypStatus, SMESH::SMESH_Hypothesis_ptr theHyp, const bool theIsAddition, const char *theError=0)
 
static QString mangledHypoSetName (HypothesesSet *hypSet)
 Prepends dimension and appends '[custom]' to the name of hypothesis set. More...
 
static QString demangledHypoSetName (QString name)
 Removes dimension and '[custom]' from the name of hypothesis set. More...
 
void InitAvailableHypotheses ()
 
QStringList GetAvailableHypotheses (const bool isAlgo, const int theDim, const bool isAux, const bool hasGeometry, const bool isSubMesh)
 
QStringList GetHypothesesSets (int maxDim)
 
HypothesesSetGetHypothesesSet (const QString &theSetName)
 
HypothesisDataGetHypothesisData (const QString &aHypType)
 
HypothesisDataGetGroupTitle (const HypothesisData *hyp, const bool isAlgo)
 Return the HypothesisData holding a name of a group of hypotheses a given hypothesis belongs to. More...
 
bool IsAvailableHypothesis (const HypothesisData *algoData, const QString &hypType, bool &isAuxiliary)
 
bool IsCompatibleAlgorithm (const HypothesisData *algo1Data, const HypothesisData *algo2Data)
 
SMESHGUI_GenericHypothesisCreatorGetHypothesisCreator (const QString &aHypType)
 
SMESH::SMESH_Hypothesis_ptr CreateHypothesis (const QString &aHypType, const QString &aHypName, const bool isAlgo)
 
bool IsApplicable (const QString &aHypType, GEOM::GEOM_Object_ptr theGeomObject, const bool toCheckAll)
 
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)
 
const char * Plugin_Name ()
 
SMESH_Mesh_var GetMeshByIO (const Handle(SALOME_InteractiveObject)&theIO)
 
QString UniqueMeshName (const QString &theBaseName, const QString &thePostfix)
 
QString UniqueName (const QString &theBaseName, _PTR(SObject) theParent, const QString &thePostfix)
 
SMESH::Measurements_var & GetMeasurements ()
 
long AddNode (SMESH::SMESH_Mesh_ptr theMesh, float x, float y, float z, const QStringList &theParameters)
 
SMESH::SMESH_Pattern_var GetPattern ()
 
SUIT_Desktop * GetDesktop (const CAM_Module *theModule)
 
LightApp_SelectionMgr * GetSelectionMgr (const SalomeApp_Module *theModule)
 
SUIT_ResourceMgr * GetResourceMgr (const SalomeApp_Module *)
 
 GetCStudy (const SalomeApp_Study *theStudy)
 
CORBA::Object_var DataOwnerToObject (const LightApp_DataOwnerPtr &theOwner)
 
SUIT_Study * GetActiveStudy ()
 
SUIT_ViewWindow * GetActiveWindow ()
 
 _PTR (Study) GetActiveStudyDocument()
 
void SetName (_PTR(SObject) theSObject, const QString &theName)
 
void SetValue (_PTR(SObject) theSObject, const QString &theValue)
 
void setFileName (_PTR(SObject) theSObject, const QString &theValue)
 
void setFileType (_PTR(SObject) theSObject, const QString &theValue)
 
CORBA::Object_var SObjectToObject (_PTR(SObject) theSObject, _PTR(Study))
 
CORBA::Object_var SObjectToObject (_PTR(SObject) theSObject)
 
CORBA::Object_var IObjectToObject (const Handle(SALOME_InteractiveObject)&theIO)
 
CORBA::Object_var IORToObject (const QString &theIOR)
 
int GetNameOfSelectedIObjects (LightApp_SelectionMgr *theMgr, QString &theName)
 
void ModifiedMesh (_PTR(SObject) theSObject, bool theIsNotModif, bool isEmptyMesh)
 
void ShowHelpFile (const QString &theHelpFileName)
 
gp_XYZ getNormale (const SMDS_MeshFace *theFace)
 Return normale to a given face. More...
 
QString fromUtf8 (const char *txt)
 
QString fromUtf8 (const std::string &txt)
 
SalomeApp_Study * GetAppStudy (const CAM_Module *)
 
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 QString &theIOR)
 
void RemoveVisualObjectWithActors (const char *theEntry, bool fromAllViews)
 Remove VisualObj and its actor from all views. More...
 
void RemoveAllObjectsWithActors ()
 Remove all VisualObjs and their actors from all views. More...
 
void RemoveVisuData (int studyID)
 Remove all VisualObjs of a study. More...
 
void OnVisuException ()
 Notify the user on problems during visualization. More...
 
TVisualObjPtr GetVisualObj (int theStudyId, const char *theEntry, bool nulData)
 Returns an updated visual object. More...
 
SVTK_ViewWindow * GetViewWindow (const SalomeApp_Module *theModule, bool createIfNotFound)
 Return active view window, if it instantiates SVTK_ViewWindow class, overwise find or create corresponding view window, make it active and return it. More...
 
SVTK_ViewWindow * FindVtkViewWindow (SUIT_ViewManager *theMgr, SUIT_ViewWindow *theWindow)
 
SVTK_ViewWindow * GetVtkViewWindow (SUIT_ViewWindow *theWindow)
 
SVTK_ViewWindow * GetCurrentVtkView ()
 
void RepaintCurrentView ()
 
void RepaintViewWindow (SVTK_ViewWindow *theWindow)
 
void RenderViewWindow (SVTK_ViewWindow *theWindow)
 
void FitAll ()
 
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)
 
bool noSmeshActors (SUIT_ViewWindow *theWnd)
 Return true if there are no SMESH actors in a view. More...
 
bool UpdateView (SUIT_ViewWindow *theWnd, EDisplaing theAction, const char *theEntry)
 
bool UpdateView (EDisplaing theAction, const char *theEntry)
 
void UpdateView ()
 
bool Update (const Handle(SALOME_InteractiveObject)&theIO, bool theDisplay)
 
bool UpdateNulData (const Handle(SALOME_InteractiveObject)&theIO, bool theDisplay)
 
void UpdateSelectionProp (SMESHGUI *theModule)
 
void UpdateFontProp (SMESHGUI *theModule)
 
SVTK_Selector * GetSelector (SUIT_ViewWindow *theWindow)
 
void SetFilter (const Handle(VTKViewer_Filter)&theFilter, SVTK_Selector *theSelector)
 
 Handle (VTKViewer_Filter) GetFilter(int theId
 
bool IsFilterPresent (int theId, SVTK_Selector *theSelector) = GetSelector() )
 
void RemoveFilter (int theId, SVTK_Selector *theSelector)
 
void RemoveFilters (SVTK_Selector *theSelector)
 
bool IsValid (SALOME_Actor *theActor, int theCellId, SVTK_Selector *theSelector)
 
void SetPointRepresentation (bool theIsVisible)
 
void SetPickable (SMESH_Actor *theActor)
 
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 &theVisualObject, int &theId1, int &theId2)
 
int GetNameOfSelectedNodes (LightApp_SelectionMgr *theMgr, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
 
int GetNameOfSelectedNodes (LightApp_SelectionMgr *theMgr, QString &theName)
 
int GetNameOfSelectedElements (LightApp_SelectionMgr *theMgr, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
 
int GetNameOfSelectedElements (LightApp_SelectionMgr *theMgr, QString &theName)
 
int GetSelected (LightApp_SelectionMgr *theMgr, TColStd_IndexedMapOfInteger &theMap, const bool theIsElement)
 
int GetEdgeNodes (LightApp_SelectionMgr *theMgr, int &theId1, int &theId2)
 
void SetControlsPrecision (const long theVal)
 
void ComputeBoundsParam (double theBounds[6], double theDirection[3], double theMinPnt[3], double &theMaxBoundPrj, double &theMinBoundPrj)
 
void DistanceToPosition (double theBounds[6], double theDirection[3], double theDist, double thePos[3])
 
void PositionToDistance (double theBounds[6], double theDirection[3], double thePos[3], double &theDist)
 
bool ComputeClippingPlaneParameters (std::list< vtkActor * > theActorList, double theNormal[3], double theDist, double theBounds[6], double theOrigin[3])
 
bool ComputeBounds (std::list< vtkActor * > theActorList, double theBounds[6])
 
void ClearPlot2Viewers (SUIT_ViewWindow *theWindow)
 Find all SMESH_Actor's in the View Window. More...
 
void throwSalomeEx (const char *txt)
 
void doNothing (const char *txt)
 

Variables

const vtkIdType DeleteActorEvent = vtkCommand::UserEvent + 100
 
const char theNotPublishedObjectName [] = "__NOT__Published__Object__"
 
return subSO
 
THypothesisDataMap myHypothesesMap
 
THypothesisDataMap myAlgorithmsMap
 
QList< HypothesesSet * > myListOfHypothesesSets
 
static TVisualObjCont VISUAL_OBJ_CONT
 
static MemoryReservetheVISU_MemoryReserve = new MemoryReserve
 
SVTK_Selector * theSelector
 
const long Tag_HypothesisRoot = 1
 Tags definition. More...
 
const long Tag_AlgorithmsRoot = 2
 
const long Tag_FirstMeshRoot = 3
 
const long Tag_RefOnShape = 1
 
const long Tag_RefOnAppliedHypothesis = 2
 
const long Tag_RefOnAppliedAlgorithms = 3
 
const long Tag_FirstSubMesh = 4
 
const long Tag_SubMeshOnVertex = 4
 
const long Tag_SubMeshOnEdge = 5
 
const long Tag_SubMeshOnWire = 6
 
const long Tag_SubMeshOnFace = 7
 
const long Tag_SubMeshOnShell = 8
 
const long Tag_SubMeshOnSolid = 9
 
const long Tag_SubMeshOnCompound = 10
 
const long Tag_LastSubMesh = 10
 
const long Tag_FirstGroup = 11
 
const long Tag_NodeGroups = 11
 
const long Tag_EdgeGroups = 12
 
const long Tag_FaceGroups = 13
 
const long Tag_VolumeGroups = 14
 
const long Tag_0DElementsGroups = 15
 
const long Tag_BallElementsGroups = 16
 
const long Tag_LastGroup = 16
 
const long EXTRUSION_FLAG_BOUNDARY = 1
 Auxiliary flags for advanced extrusion. More...
 
const long EXTRUSION_FLAG_SEW = 2
 

Typedef Documentation

typedef sequence<double > SMESH::double_array
typedef SALOME::GenericObj_wrap<SMESH_IDSource> SMESH::IDSource_wrap
typedef sequence<string> SMESH::ListOfHypothesisName
typedef sequence<string> SMESH::ListOfParameters
typedef sequence<log_block> SMESH::log_array
typedef sequence<long > SMESH::long_array
typedef sequence<SMESH_Mesh> SMESH::mesh_array
typedef sequence<PointStruct> SMESH::nodes_array
typedef sequence<GEOM::GEOM_Object> SMESH::object_array
typedef std::vector<_PTR(SObject)> SMESH::SObjectList
typedef sequence<string > SMESH::string_array
typedef std::list<vtkActor*> SMESH::TActorList
typedef IMap<QString,HypothesisData*> SMESH::THypothesisDataMap
typedef std::pair<int,std::string> SMESH::TKeyOfVisualObj
typedef std::vector<TPlaneData> SMESH::TPlaneDataVector
typedef std::vector<TPlane> SMESH::TPlaneVector

Enumeration Type Documentation

Enumerator
BND_2DFROM3D 
BND_1DFROM3D 
BND_1DFROM2D 

Mesh computation error.

Enumerator
COMPERR_OK 
COMPERR_BAD_INPUT_MESH 
COMPERR_STD_EXCEPTION 
COMPERR_OCC_EXCEPTION 
COMPERR_SLM_EXCEPTION 
COMPERR_EXCEPTION 
COMPERR_MEMORY_PB 
COMPERR_ALGO_FAILED 
COMPERR_BAD_SHAPE 
COMPERR_WARNING 
COMPERR_CANCELED 
COMPERR_NO_MESH_ON_SHAPE 
COMPERR_BAD_PARMETERS 
Enumerator
DIM_0D 
DIM_1D 
DIM_2D 
DIM_3D 

Enumeration for mesh read status (used by SMESH_Gen::CreateMeshesFrom*() methods)

Enumerator
DRS_OK 
DRS_EMPTY 
DRS_WARN_RENUMBER 
DRS_WARN_SKIP_ELEM 
DRS_WARN_DESCENDING 
DRS_FAIL 
Enumerator
eDisplayAll 
eDisplay 
eDisplayOnly 
eErase 
eEraseAll 

ElementOrder points out entities of what order are requested.

Enumerator
ORDER_ANY 
ORDER_LINEAR 

entities of any order

ORDER_QUADRATIC 

entities of 1st order

entities of 2nd order

Enumeration for element type, like in SMDS.

Enumerator
ALL 
NODE 
EDGE 
FACE 
VOLUME 
ELEM0D 
BALL 
NB_ELEMENT_TYPES 

Enumeration of entity type used in mesh info array, it should be synchronised with enum SMDSAbs_EntityType.

Enumerator
Entity_Node 
Entity_0D 
Entity_Edge 
Entity_Quad_Edge 
Entity_Triangle 
Entity_Quad_Triangle 
Entity_BiQuad_Triangle 
Entity_Quadrangle 
Entity_Quad_Quadrangle 
Entity_BiQuad_Quadrangle 
Entity_Polygon 
Entity_Quad_Polygon 
Entity_Tetra 
Entity_Quad_Tetra 
Entity_Pyramid 
Entity_Quad_Pyramid 
Entity_Hexa 
Entity_Quad_Hexa 
Entity_TriQuad_Hexa 
Entity_Penta 
Entity_Quad_Penta 
Entity_Hexagonal_Prism 
Entity_Polyhedra 
Entity_Quad_Polyhedra 
Entity_Ball 
Entity_Last 

Enumeration of functor types.

Enumerator
FT_AspectRatio 
FT_AspectRatio3D 
FT_Warping 
FT_MinimumAngle 
FT_Taper 
FT_Skew 
FT_Area 
FT_Volume3D 
FT_MaxElementLength2D 
FT_MaxElementLength3D 
FT_FreeBorders 
FT_FreeEdges 
FT_FreeNodes 
FT_FreeFaces 
FT_EqualNodes 
FT_EqualEdges 
FT_EqualFaces 
FT_EqualVolumes 
FT_MultiConnection 
FT_MultiConnection2D 
FT_Length 
FT_Length2D 
FT_NodeConnectivityNumber 
FT_BelongToMeshGroup 
FT_BelongToGeom 
FT_BelongToPlane 
FT_BelongToCylinder 
FT_BelongToGenSurface 
FT_LyingOnGeom 
FT_RangeOfIds 
FT_BadOrientedVolume 
FT_BareBorderVolume 
FT_BareBorderFace 
FT_OverConstrainedVolume 
FT_OverConstrainedFace 
FT_LinearOrQuadratic 
FT_GroupColor 
FT_ElemGeomType 
FT_EntityType 
FT_CoplanarFaces 
FT_BallDiameter 
FT_ConnectedElements 
FT_LessThan 
FT_MoreThan 
FT_EqualTo 
FT_LogicalNOT 
FT_LogicalAND 
FT_LogicalOR 
FT_Undefined 

Enumeration for element geometry type, like SMDSAbs_GeometryType in SMDSAbs_ElementType.hxx.

Enumerator
Geom_POINT 
Geom_EDGE 
Geom_TRIANGLE 
Geom_QUADRANGLE 
Geom_POLYGON 
Geom_TETRA 
Geom_PYRAMID 
Geom_HEXA 
Geom_PENTA 
Geom_HEXAGONAL_PRISM 
Geom_POLYHEDRA 
Geom_BALL 
Geom_LAST 

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

Enumerator
HYP_OK 
HYP_MISSING 
HYP_CONCURENT 
HYP_BAD_PARAMETER 
HYP_HIDDEN_ALGO 
HYP_HIDING_ALGO 
HYP_UNKNOWN_FATAL 
HYP_INCOMPATIBLE 
HYP_NOTCONFORM 
HYP_ALREADY_EXIST 
HYP_BAD_DIM 
HYP_BAD_SUBSHAPE 
HYP_BAD_GEOMETRY 
HYP_NEED_SHAPE 
HYP_INCOMPAT_HYPS 

Label font family.

Enumerator
FntArial 

arial font family

FntCourier 

courier font family

FntTimes 

times font family

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 
CLEAR_MESH 
ADD_QUADEDGE 
ADD_QUADTRIANGLE 
ADD_QUADQUADRANGLE 
ADD_QUADPOLYGON 
ADD_QUADTETRAHEDRON 
ADD_QUADPYRAMID 
ADD_QUADPENTAHEDRON 
ADD_QUADHEXAHEDRON 
ADD_ELEM0D 
ADD_BIQUAD_TRIANGLE 
ADD_BIQUAD_QUADRANGLE 
ADD_TRIQUAD_HEXA 
ADD_HEXAGONAL_PRISM 
ADD_BALL 

Enumeration for ExportToMED*()

Enumerator
MED_V2_1 
MED_V2_2 
Enumerator
HYPOTHESIS 
ALGORITHM 
MESH 
SUBMESH 
MESHorSUBMESH 
SUBMESH_VERTEX 
SUBMESH_EDGE 
SUBMESH_FACE 
SUBMESH_SOLID 
SUBMESH_COMPOUND 
GROUP 
GROUP_NODE 
GROUP_EDGE 
GROUP_FACE 
GROUP_VOLUME 
GROUP_0D 
GROUP_BALL 
COMPONENT 
IDSOURCE 
IDSOURCE_EDGE 
IDSOURCE_FACE 
IDSOURCE_VOLUME 
Enumerator
Absolute 
Relative 

Enumeration for CreateDimGroup()

Enumerator
ALL_NODES 
MAIN 
AT_LEAST_ONE 
MAJORITY 
Enumerator
XY 
YZ 
ZX 
Enumerator
UnknownFilter 
NodeFilter 
EdgeFilter 
FaceFilter 
VolumeFilter 
AllElementsFilter 
QuadFilter 
TriaFilter 
FirstGeometryTypeFilter 
FirstEntityTypeFilter 
LastFilter 
Enumerator
UpdateIn2dViewer 
RemoveFrom2dViewer 

Function Documentation

SMESH::_PTR ( Study  )

References _PTR(), and GetActiveStudy().

SMESH::_PTR ( ChildIterator  )
bool SMESH::AddHypothesisOnMesh ( SMESH::SMESH_Mesh_ptr  aMesh,
SMESH::SMESH_Hypothesis_ptr  aHyp 
)
bool SMESH::AddHypothesisOnSubMesh ( SMESH::SMESH_subMesh_ptr  aSubMesh,
SMESH::SMESH_Hypothesis_ptr  aHyp 
)
long SMESH::AddNode ( SMESH::SMESH_Mesh_ptr  theMesh,
float  x,
float  y,
float  z,
const QStringList &  theParameters 
)
void SMESH::ClearPlot2Viewers ( SUIT_ViewWindow *  theWindow)

Find all SMESH_Actor's in the View Window.

If actor constains Plot2d_Histogram object remove it from each Plot2d Viewer.

References GetVtkViewWindow(), ProcessIn2DViewers(), and RemoveFrom2dViewer.

Referenced by SMESHGUI::onViewClosed().

void SMESH::ComputeBoundsParam ( double  theBounds[6],
double  theDirection[3],
double  theMinPnt[3],
double &  theMaxBoundPrj,
double &  theMinBoundPrj 
)
bool SMESH::ComputeClippingPlaneParameters ( std::list< vtkActor * >  theActorList,
double  theNormal[3],
double  theDist,
double  theBounds[6],
double  theOrigin[3] 
)
SMESH::SMESH_Hypothesis_ptr SMESH::CreateHypothesis ( const QString &  aHypType,
const QString &  aHypName,
const bool  isAlgo 
)
template<class TInterface >
TInterface::_var_type SMESH::DataOwnerToInterface ( const LightApp_DataOwnerPtr &  theDataOwner)

References DataOwnerToObject().

CORBA::Object_var SMESH::DataOwnerToObject ( const LightApp_DataOwnerPtr &  theOwner)
static QString SMESH::demangledHypoSetName ( QString  name)
static

Removes dimension and '[custom]' from the name of hypothesis set.

Referenced by GetHypothesesSet().

void SMESH::DistanceToPosition ( double  theBounds[6],
double  theDirection[3],
double  theDist,
double  thePos[3] 
)
template<class TArray >
void SMESH::DumpArray ( const TArray &  theArray,
TPythonDump &  theStream 
)
SMESH_Actor * SMESH::FindActorByEntry ( SUIT_ViewWindow *  theWindow,
const char *  theEntry 
)

References GetVtkViewWindow(), and Handle().

Referenced by SMESHGUI_Displayer::buildPresentation(), SMESHGUI_Make2DFrom3DOp::compute2DMesh(), TGetActorAspect::Execute(), TSelectListEvent::Execute(), SMESHGUI_FilterDlg::filterSelectionSource(), FindActorByEntry(), FindActorByObject(), SMESHGUI_FilterDlg::getActor(), GetEdgeNodes(), GetNameOfSelectedElements(), GetNameOfSelectedNodes(), SMESHGUI_Selection::isVisible(), SMESHGUI_MeshPatternDlg::onApply(), SMESHGUI_GroupDlg::onApply(), SMESHGUI_GenericHypothesisCreator::onDialogFinished(), SMESHGUI::OnGUIEvent(), SMESHGUI_TransparencyDlg::onSelectionChanged(), SMESHGUI_Preferences_ScalarBarDlg::onSelectionChanged(), SMESHGUI_SingleEditDlg::onSelectionDone(), SMESHGUI_MakeNodeAtPointOp::onSelectionDone(), SMESHGUI_MultiEditDlg::onSelectionDone(), SMESHGUI_SplitVolumesDlg::onSelectionDone(), SMESHGUI::onUpdateControlActions(), SMESHGUI_Selection::processOwner(), RemoveHypothesisOrAlgorithmOnMesh(), RemoveVisualObjectWithActors(), SMESHGUI::renameObject(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_ReorientFacesOp::selectionDone(), SMESHGUI_3TypesSelector::selectionIntoArgument(), SMESHGUI_RemoveElementsDlg::SelectionIntoArgument(), SMESHGUI_RemoveNodesDlg::SelectionIntoArgument(), SMESHGUI_CopyMeshDlg::SelectionIntoArgument(), SMESHGUI_AddMeshElementDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_AddQuadraticElementDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_SewingDlg::SelectionIntoArgument(), SMESHGUI_MergeDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESH_Swig::SetActorAspect(), SMESHGUI_TransparencyDlg::SetTransparency(), SMESHGUI_MeshInfoDlg::showInfo(), SMESHGUI_DisplayEntitiesDlg::SMESHGUI_DisplayEntitiesDlg(), and UpdateView().

SMESH_Actor * SMESH::FindActorByEntry ( const char *  theEntry)
SMESH_Actor * SMESH::FindActorByObject ( CORBA::Object_ptr  theObject)

References _PTR(), FindActorByEntry(), and SObject().

Referenced by SMESHGUI_MeshPatternDlg::activateSelection(), SMESHGUI_SelectionOp::actor(), SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), SMESHGUI_RenumberingDlg::ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), SMESHGUI_SymmetryDlg::ClickOnApply(), SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_MeshPatternDlg::displayPreview(), SMESHGUI_FilterDlg::getActor(), SMESHGUI_ShapeByMeshOp::onElemIdChanged(), SMESHGUI_MultiEditDlg::onListSelectionChanged(), SMESHGUI_GroupDlg::onObjectSelectionChanged(), SMESHGUI_MultiEditDlg::onSelectionDone(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_MeshPatternDlg::onTextChanged(), SMESHGUI_GroupDlg::restoreShowEntityMode(), SMESHGUI_NodesDlg::SelectionIntoArgument(), SMESHGUI_CopyMeshDlg::SelectionIntoArgument(), SMESHGUI_SmoothingDlg::SelectionIntoArgument(), SMESHGUI_CreatePolyhedralVolumeDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_MergeDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_GroupDlg::SetAppropriateActor(), SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument(), and SMESHGUI_GroupDlg::setShowEntityMode().

SVTK_ViewWindow * SMESH::FindVtkViewWindow ( SUIT_ViewManager *  theMgr,
SUIT_ViewWindow *  theWindow 
)
QString SMESH::fromUtf8 ( const char *  txt)
QString SMESH::fromUtf8 ( const std::string &  txt)

References fromUtf8().

const char * SMESH::FunctorTypeToString ( SMESH::FunctorType  ft)

Return a string corresponding to an item of enum FunctorType.

References FT_Undefined, and getFunctNames().

Referenced by SMESH_GroupOnFilter_i::FilterToString(), and Handle().

SUIT_Study * SMESH::GetActiveStudy ( )

Referenced by _PTR(), and UpdateView().

SalomeApp_Study* SMESH::GetAppStudy ( const CAM_Module *  )
QStringList SMESH::GetAvailableHypotheses ( const bool  isAlgo,
const int  theDim,
const bool  isAux,
const bool  hasGeometry,
const bool  isSubMesh 
)
void SMESH::GetColor ( const QString &  theSect,
const QString &  theName,
int r,
int g,
int b,
const QColor &  def 
)
void SMESH::GetColor ( const QString &  theSect,
const QString &  theName,
double &  r,
double &  g,
double &  b,
const QColor &  def 
)

References GetColor().

void SMESH::GetColor ( const QString &  theSect,
const QString &  theName,
QColor &  color,
int delta,
QString  def 
)
SMESH::GetCStudy ( const SalomeApp_Study *  theStudy)
SUIT_Desktop * SMESH::GetDesktop ( const CAM_Module *  theModule)
int SMESH::GetEdgeNodes ( SVTK_Selector *  theSelector,
const TVisualObjPtr theVisualObject,
int theId1,
int theId2 
)
int SMESH::GetEdgeNodes ( LightApp_SelectionMgr *  theMgr,
int theId1,
int theId2 
)
double SMESH::GetFloat ( const QString &  theValue,
const QString &  theSection,
double  theDefault 
)
bool SMESH::GetGeomEntries ( Handle(SALOME_InteractiveObject)&  hypIO,
QString &  subGeom,
QString &  meshGeom 
)

Return entries of sub-mesh geometry and mesh geometry by an IO of assigned hypothesis.

Parameters
[in]hypIO- IO of hyp which is a reference SO to a hyp SO
[out]subGeom- found entry of a sub-mesh if any
[out]meshGeom- found entry of a mesh
Returns
bool - true if any geometry has been found

References _PTR(), GetShapeOnMeshOrSubMesh(), SMESHGUI::GetSMESHGen(), SMESHGUI::GetSMESHGUI(), and SObject().

Referenced by SMESHGUI::OnGUIEvent().

char * SMESH::GetGeomName ( _PTR(SObject smeshSO)

References _PTR(), and SObject().

Referenced by SMESHGUI_MeshOp::readMesh().

HypothesisData * SMESH::GetGroupTitle ( const HypothesisData hyp,
const bool  isAlgo 
)

Return the HypothesisData holding a name of a group of hypotheses a given hypothesis belongs to.

References HypothesisData::Dim, HypothesisData::GroupID, and HypothesisData::Label.

Referenced by SMESHGUI_MeshOp::availableHyps().

HypothesesSet * SMESH::GetHypothesesSet ( const QString &  theSetName)
SMESH::Measurements_var & SMESH::GetMeasurements ( )
SMESH_Mesh_var SMESH::GetMeshByIO ( const Handle(SALOME_InteractiveObject)&  theIO)
SObjectList SMESH::GetMeshesUsingAlgoOrHypothesis ( SMESH::SMESH_Hypothesis_ptr  AlgoOrHyp)
int SMESH::GetNameOfSelectedElements ( LightApp_SelectionMgr *  theMgr,
const Handle(SALOME_InteractiveObject)&  theIO,
QString &  theName 
)

References FindActorByEntry().

int SMESH::GetNameOfSelectedElements ( LightApp_SelectionMgr *  theMgr,
QString &  theName 
)
int SMESH::GetNameOfSelectedNodes ( LightApp_SelectionMgr *  theMgr,
const Handle(SALOME_InteractiveObject)&  theIO,
QString &  theName 
)

References FindActorByEntry().

int SMESH::GetNameOfSelectedNodes ( LightApp_SelectionMgr *  theMgr,
QString &  theName 
)
gp_XYZ SMESH::getNormale ( const SMDS_MeshFace theFace)
Predicate_i* SMESH::GetPredicate ( SMESH::Predicate_ptr  thePredicate)
SUIT_ResourceMgr * SMESH::GetResourceMgr ( const SalomeApp_Module )

Referenced by SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_FilterDlg::createFilter(), SMESHGUI_SingleEditDlg::createMainFrame(), SMESHGUI_CreatePatternDlg::createMainFrame(), SMESHGUI_MakeNodeAtPointDlg::createMainFrame(), SMESHGUI_MeshPatternDlg::createMainFrame(), SMESHGUI_MultiEditDlg::createMainFrame(), SMESHGUI::createPreferences(), StdMeshersGUI_ObjectReferenceParamWdg::init(), SMESHGUI_GroupDlg::initDialog(), SMESHGUI_Preferences_ScalarBarDlg::initScalarBarFromResources(), SMESHGUI_FilterTable::onCriterionChanged(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI::preferencesChanged(), SMESH::TShapeDisplayer::Show(), SMESHGUI::SMESHGUI(), SMESHGUI_3TypesSelector::SMESHGUI_3TypesSelector(), SMESHGUI_AddMeshElementDlg::SMESHGUI_AddMeshElementDlg(), SMESHGUI_AddQuadraticElementDlg::SMESHGUI_AddQuadraticElementDlg(), SMESHGUI_CopyMeshDlg::SMESHGUI_CopyMeshDlg(), SMESHGUI_CreatePolyhedralVolumeDlg::SMESHGUI_CreatePolyhedralVolumeDlg(), SMESHGUI_CutGroupsDlg::SMESHGUI_CutGroupsDlg(), SMESHGUI_DuplicateNodesDlg::SMESHGUI_DuplicateNodesDlg(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_MergeDlg::SMESHGUI_MergeDlg(), SMESHGUI_NodesDlg::SMESHGUI_NodesDlg(), SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg(), SMESHGUI_RemoveElementsDlg::SMESHGUI_RemoveElementsDlg(), SMESHGUI_RemoveNodesDlg::SMESHGUI_RemoveNodesDlg(), SMESHGUI_RenumberingDlg::SMESHGUI_RenumberingDlg(), SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SewingDlg::SMESHGUI_SewingDlg(), SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg(), StdMeshersGUI_SubShapeSelectorWdg::StdMeshersGUI_SubShapeSelectorWdg(), UpdateFontProp(), and UpdateSelectionProp().

int SMESH::GetSelected ( LightApp_SelectionMgr *  theMgr,
TColStd_IndexedMapOfInteger &  theMap,
const bool  theIsElement 
)

References Handle().

GEOM::GEOM_Object_ptr SMESH::GetSubShape ( GEOM::GEOM_Object_ptr  theMainShape,
long  theID 
)

References _PTR(), and GetGEOMGen().

Referenced by getSubShape().

GEOM::GEOM_Object_ptr SMESH::getSubShape ( int  subShapeID,
GEOM::GEOM_Object_var  aMainShape 
)

Return sub-shape by ID.

WARNING: UnRegister() must be called on a result

References _PTR(), GetSubShape(), and SObject().

Referenced by SMESHGUI_BaseComputeOp::onPublishShape(), and shapeText().

SVTK_ViewWindow * SMESH::GetViewWindow ( const SalomeApp_Module theModule,
bool  createIfNotFound 
)

Return active view window, if it instantiates SVTK_ViewWindow class, overwise find or create corresponding view window, make it active and return it.

Note
Active VVTK_ViewWindow can be returned, because it inherits SVTK_ViewWindow.

Referenced by SMESHGUI_CreatePatternDlg::activateSelection(), StdMeshersGUI_ObjectReferenceParamWdg::activateSelection(), SMESHGUI_MeshPatternDlg::activateSelection(), SMESHGUI_RemoveElementsDlg::ActivateThisDialog(), SMESHGUI_RemoveNodesDlg::ActivateThisDialog(), SMESHGUI_NodesDlg::ActivateThisDialog(), SMESHGUI_AddMeshElementDlg::ActivateThisDialog(), SMESHGUI_SmoothingDlg::ActivateThisDialog(), SMESHGUI_CreatePolyhedralVolumeDlg::ActivateThisDialog(), SMESHGUI_ScaleDlg::ActivateThisDialog(), SMESHGUI_AddQuadraticElementDlg::ActivateThisDialog(), SMESHGUI_TranslationDlg::ActivateThisDialog(), SMESHGUI_RotationDlg::ActivateThisDialog(), SMESHGUI_SymmetryDlg::ActivateThisDialog(), SMESHGUI_CreatePolyhedralVolumeDlg::ConstructorsClicked(), SMESHGUI_ScaleDlg::ConstructorsClicked(), SMESHGUI_TranslationDlg::ConstructorsClicked(), SMESHGUI_SymmetryDlg::ConstructorsClicked(), SMESHGUI_SewingDlg::ConstructorsClicked(), SMESHGUI_MinDistance::displayPreview(), SMESHGUI_BoundingBox::displayPreview(), SMESHGUI_DeleteGroupDlg::enterEvent(), SMESHGUI_ScaleDlg::enterEvent(), SMESHGUI_RemoveElementsDlg::enterEvent(), SMESHGUI_RemoveNodesDlg::enterEvent(), SMESHGUI_DuplicateNodesDlg::enterEvent(), SMESHGUI_TranslationDlg::enterEvent(), SMESHGUI_CopyMeshDlg::enterEvent(), SMESHGUI_RotationDlg::enterEvent(), SMESHGUI_SymmetryDlg::enterEvent(), SMESHGUI_AddMeshElementDlg::enterEvent(), SMESHGUI_SewingDlg::enterEvent(), SMESHGUI_SmoothingDlg::enterEvent(), SMESHGUI_CreatePolyhedralVolumeDlg::enterEvent(), SMESHGUI_AddQuadraticElementDlg::enterEvent(), SMESHGUI_ExtrusionAlongPathDlg::enterEvent(), SMESHGUI_SingleEditDlg::enterEvent(), SMESHGUI_NodesDlg::enterEvent(), SMESHGUI_RevolutionDlg::enterEvent(), SMESHGUI_MergeDlg::enterEvent(), SMESHGUI_GroupOpDlg::enterEvent(), SMESHGUI_MultiEditDlg::enterEvent(), SMESHGUI_MeshPatternDlg::enterEvent(), SMESHGUI_GroupDlg::enterEvent(), SMESHGUI_ExtrusionDlg::enterEvent(), SMESHGUI_MinDistance::erasePreview(), SMESHGUI_BoundingBox::erasePreview(), TSelectListEvent::Execute(), TGetSelectionModeEvent::Execute(), SMESHGUI_MinDistance::firstEdited(), SMESHGUI_MeshInfoDlg::idChanged(), SMESHGUI_MeshInfoDlg::idPreviewChange(), SMESHGUI_DeleteGroupDlg::Init(), SMESHGUI_SingleEditDlg::Init(), SMESHGUI_DuplicateNodesDlg::Init(), SMESHGUI_RemoveNodesDlg::Init(), SMESHGUI_RemoveElementsDlg::Init(), SMESHGUI_GroupOpDlg::Init(), SMESHGUI_TranslationDlg::Init(), SMESHGUI_RotationDlg::Init(), SMESHGUI_SymmetryDlg::Init(), SMESHGUI_AddMeshElementDlg::Init(), SMESHGUI_AddQuadraticElementDlg::Init(), SMESHGUI_NodesDlg::Init(), SMESHGUI_MergeDlg::Init(), StdMeshersGUI_SubShapeSelectorWdg::init(), StdMeshersGUI_PropagationHelperWdg::onListSelectionChanged(), SMESHGUI_MultiEditDlg::onListSelectionChanged(), StdMeshersGUI_SubShapeSelectorWdg::onListSelectionChanged(), SMESHGUI_CreatePolyhedralVolumeDlg::onListSelectionChanged(), StdMeshersGUI_SubShapeSelectorWdg::onNext(), SMESHGUI_CreatePatternDlg::onOk(), SMESHGUI_PreviewDlg::onOpenView(), SMESHGUI_FindElemByPointOp::onOpenView(), SMESHGUI_SingleEditDlg::onOpenView(), SMESHGUI_MakeNodeAtPointOp::onOpenView(), SMESHGUI_MeshPatternDlg::onOpenView(), SMESHGUI_MultiEditDlg::onOpenView(), SMESHGUI_RemoveElementsDlg::onOpenView(), SMESHGUI_RemoveNodesDlg::onOpenView(), SMESHGUI_GroupOpDlg::onOpenView(), SMESHGUI_NodesDlg::onOpenView(), SMESHGUI_GroupDlg::onOpenView(), SMESHGUI_CopyMeshDlg::onOpenView(), SMESHGUI_AddMeshElementDlg::onOpenView(), SMESHGUI_SmoothingDlg::onOpenView(), SMESHGUI_CreatePolyhedralVolumeDlg::onOpenView(), SMESHGUI_ExtrusionAlongPathDlg::onOpenView(), SMESHGUI_AddQuadraticElementDlg::onOpenView(), SMESHGUI_ScaleDlg::onOpenView(), SMESHGUI_TranslationDlg::onOpenView(), SMESHGUI_RotationDlg::onOpenView(), SMESHGUI_RevolutionDlg::onOpenView(), SMESHGUI_SymmetryDlg::onOpenView(), SMESHGUI_SewingDlg::onOpenView(), SMESHGUI_MergeDlg::onOpenView(), SMESHGUI_ExtrusionDlg::onOpenView(), SMESHGUI_FilterDlg::onOpenView(), SMESHGUI_PrecomputeOp::onPreview(), StdMeshersGUI_SubShapeSelectorWdg::onPrevious(), SMESHGUI_CreatePatternDlg::onSave(), SMESHGUI_MergeDlg::onSelectElementFromGroup(), SMESHGUI_MergeDlg::onSelectGroup(), SMESHGUI_CopyMeshDlg::onSelectIdSource(), SMESHGUI_SmoothingDlg::onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), SMESHGUI_TranslationDlg::onSelectMesh(), SMESHGUI_RotationDlg::onSelectMesh(), SMESHGUI_SymmetryDlg::onSelectMesh(), SMESHGUI_RevolutionDlg::onSelectVectorMenu(), SMESHGUI_BaseComputeOp::onShowBadMesh(), SMESHGUI_SingleEditDlg::onTextChange(), SMESHGUI_MakeNodeAtPointOp::onTextChange(), SMESHGUI_RemoveElementsDlg::onTextChange(), SMESHGUI_RemoveNodesDlg::onTextChange(), SMESHGUI_CopyMeshDlg::onTextChange(), SMESHGUI_AddMeshElementDlg::onTextChange(), SMESHGUI_AddQuadraticElementDlg::onTextChange(), SMESHGUI_SmoothingDlg::onTextChange(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_MeshPatternDlg::onTextChanged(), SMESHGUI_MergeDlg::onTypeChanged(), SMESHGUI_FindElemByPointOp::redisplayPreview(), SMESHGUI_MakeNodeAtPointOp::redisplayPreview(), SMESHGUI_SingleEditDlg::reject(), SMESHGUI_DeleteGroupDlg::reject(), SMESHGUI_MeshPatternDlg::reject(), SMESHGUI_CreatePatternDlg::reject(), SMESHGUI_GroupDlg::reject(), SMESHGUI_MultiEditDlg::reject(), SMESHGUI_RemoveNodesDlg::reject(), SMESHGUI_RemoveElementsDlg::reject(), SMESHGUI_GroupOpDlg::reject(), SMESHGUI_NodesDlg::reject(), SMESHGUI_CopyMeshDlg::reject(), SMESHGUI_AddMeshElementDlg::reject(), SMESHGUI_SmoothingDlg::reject(), SMESHGUI_CreatePolyhedralVolumeDlg::reject(), SMESHGUI_ExtrusionAlongPathDlg::reject(), SMESHGUI_AddQuadraticElementDlg::reject(), SMESHGUI_ScaleDlg::reject(), SMESHGUI_TranslationDlg::reject(), SMESHGUI_RotationDlg::reject(), SMESHGUI_RevolutionDlg::reject(), SMESHGUI_SymmetryDlg::reject(), SMESHGUI_MergeDlg::reject(), SMESHGUI_SewingDlg::reject(), SMESHGUI_MeasureDlg::reject(), SMESHGUI_ExtrusionDlg::reject(), SMESHGUI_FilterDlg::reject(), SMESHGUI_MeshInfoDlg::reject(), SMESHGUI_FilterDlg::restoreSelMode(), SMESHGUI_MinDistance::secondEdited(), SMESHGUI_FilterDlg::selectInViewer(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_MergeDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument(), SMESHGUI_SmoothingDlg::SetEditCurrentArgument(), SMESHGUI_ScaleDlg::SetEditCurrentArgument(), SMESHGUI_TranslationDlg::SetEditCurrentArgument(), SMESHGUI_RotationDlg::SetEditCurrentArgument(), SMESHGUI_RevolutionDlg::SetEditCurrentArgument(), SMESHGUI_SymmetryDlg::SetEditCurrentArgument(), SMESHGUI_MergeDlg::SetEditCurrentArgument(), SMESHGUI_SewingDlg::SetEditCurrentArgument(), SMESHGUI_ExtrusionDlg::SetEditCurrentArgument(), SMESHGUI_MultiEditDlg::setSelectionMode(), SMESHGUI_GroupDlg::setSelectionMode(), SMESHGUI_SplitVolumesDlg::setSelectionMode(), SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SMESH::TShapeDisplayer::Show(), StdMeshersGUI_SubShapeSelectorWdg::ShowPreview(), SMESHGUI_3TypesSelector::SMESHGUI_3TypesSelector(), SMESHGUI_AddMeshElementDlg::SMESHGUI_AddMeshElementDlg(), SMESHGUI_AddQuadraticElementDlg::SMESHGUI_AddQuadraticElementDlg(), SMESHGUI_CopyMeshDlg::SMESHGUI_CopyMeshDlg(), SMESHGUI_CreatePolyhedralVolumeDlg::SMESHGUI_CreatePolyhedralVolumeDlg(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_FilterDlg::SMESHGUI_FilterDlg(), SMESHGUI_GroupOpDlg::SMESHGUI_GroupOpDlg(), SMESHGUI_MergeDlg::SMESHGUI_MergeDlg(), SMESHGUI_MeshInfoDlg::SMESHGUI_MeshInfoDlg(), SMESHGUI_MeshPatternDlg::SMESHGUI_MeshPatternDlg(), SMESHGUI_NodesDlg::SMESHGUI_NodesDlg(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SewingDlg::SMESHGUI_SewingDlg(), SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg(), SMESHGUI_BoundingBox::sourceEdited(), SMESHGUI_FindElemByPointOp::startOperation(), SMESHGUI_MakeNodeAtPointOp::startOperation(), StdMeshersGUI_CartesianParamCreator::StdMeshersGUI_CartesianParamCreator(), SMESHGUI_MinDistance::updateSelection(), SMESHGUI_BoundingBox::updateSelection(), SMESHGUI_BasicProperties::updateSelection(), SMESHGUI_FilterDlg::updateSelection(), SMESHGUI_MeshInfoDlg::updateSelection(), StdMeshersGUI_SubShapeSelectorWdg::updateState(), SMESHGUI_SelectionOp::viewWindow(), and StdMeshersGUI_SubShapeSelectorWdg::~StdMeshersGUI_SubShapeSelectorWdg().

TVisualObjPtr SMESH::GetVisualObj ( int  theStudyId,
const char *  theEntry,
bool  nulData 
)
SMESH::if ( subShapeID  = =1||!so)
SMESH::if ( _PTR(Study)  study = SMESH::GetActiveStudyDocument())
SMESH::if ( it  )
template<class TInterface >
TInterface::_var_type SMESH::IObjectToInterface ( const Handle(SALOME_InteractiveObject)&  theIO)

References IObjectToObject().

template<class TInterface >
TInterface::_var_type SMESH::IORToInterface ( const QString &  theIOR)

References IORToObject().

CORBA::Object_var SMESH::IORToObject ( const QString &  theIOR)

Referenced by IORToInterface().

bool SMESH::IsAvailableHypothesis ( const HypothesisData algoData,
const QString &  hypType,
bool isAuxiliary 
)
bool SMESH::IsCompatibleAlgorithm ( const HypothesisData algo1Data,
const HypothesisData algo2Data 
)
SVTK_Selector *bool SMESH::IsFilterPresent ( int  theId,
SVTK_Selector *  theSelector 
) = GetSelector() )
bool SMESH::IsValid ( SALOME_Actor theActor,
int  theCellId,
SVTK_Selector *  theSelector 
)
static QString SMESH::mangledHypoSetName ( HypothesesSet hypSet)
static

Prepends dimension and appends '[custom]' to the name of hypothesis set.

References HypothesesSet::getIsCustom(), HypothesesSet::maxDim(), and HypothesesSet::name().

Referenced by GetHypothesesSets().

TCollection_AsciiString SMESH::myLongStringEnd ( "TPythonDump::LongStringEnd"  )
TCollection_AsciiString SMESH::myLongStringStart ( "TPythonDump::LongStringStart"  )
bool SMESH::noSmeshActors ( SUIT_ViewWindow *  theWnd)

Return true if there are no SMESH actors in a view.

References GetVtkViewWindow().

Referenced by UpdateView().

const char* SMESH::Plugin_Name ( )
void SMESH::PositionToDistance ( double  theBounds[6],
double  theDirection[3],
double  thePos[3],
double &  theDist 
)
void SMESH::printException ( const char *  text)
void SMESH::processHypothesisStatus ( const int  theHypStatus,
SMESH::SMESH_Hypothesis_ptr  theHyp,
const bool  theIsAddition,
const char *  theError = 0 
)
void SMESH::ProcessIn2DViewers ( SMESH_Actor theActor,
Viewer2dActionType  aType 
)
void SMESH::RemoveActor ( SUIT_ViewWindow *  theWnd,
SMESH_Actor theActor 
)
void SMESH::RemoveAllObjectsWithActors ( )

Remove all VisualObjs and their actors from all views.

References GetVtkViewWindow(), and VISUAL_OBJ_CONT.

Referenced by OnVisuException().

void SMESH::RemoveFilter ( int  theId,
SVTK_Selector *  theSelector 
)
bool SMESH::RemoveHypothesisOrAlgorithmOnMesh ( const Handle(SALOME_InteractiveObject)&  IObject)
bool SMESH::RemoveHypothesisOrAlgorithmOnMesh ( _PTR(SObject MorSM,
SMESH::SMESH_Hypothesis_ptr  anHyp 
)
void SMESH::RemoveVisualObjectWithActors ( const char *  theEntry,
bool  fromAllViews 
)
void SMESH::RemoveVisuData ( int  studyID)

Remove all VisualObjs of a study.

References GetVtkViewWindow(), and VISUAL_OBJ_CONT.

Referenced by SMESHGUI::studyClosed().

void SMESH::RepaintViewWindow ( SVTK_ViewWindow *  theWindow)
void SMESH::SetControlsPrecision ( const long  theVal)

References GetCurrentVtkView().

void SMESH::setFileName ( _PTR(SObject theSObject,
const QString &  theValue 
)

References _PTR().

void SMESH::setFileType ( _PTR(SObject theSObject,
const QString &  theValue 
)

References _PTR().

Referenced by SMESHGUI_GroupDlg::onApply().

void SMESH::SetPointRepresentation ( bool  theIsVisible)

References GetCurrentVtkView(), and RepaintCurrentView().

Referenced by SMESHGUI_MakeNodeAtPointOp::activateSelection(), SMESHGUI_RemoveNodesDlg::ActivateThisDialog(), SMESHGUI_NodesDlg::ActivateThisDialog(), SMESHGUI_AddMeshElementDlg::ActivateThisDialog(), SMESHGUI_AddQuadraticElementDlg::ActivateThisDialog(), SMESHGUI_RemoveNodesDlg::ClickOnApply(), SMESHGUI_NodesDlg::ClickOnApply(), SMESHGUI_CreatePolyhedralVolumeDlg::ConstructorsClicked(), SMESHGUI_ScaleDlg::ConstructorsClicked(), SMESHGUI_TranslationDlg::ConstructorsClicked(), SMESHGUI_SymmetryDlg::ConstructorsClicked(), SMESHGUI_RemoveNodesDlg::Init(), SMESHGUI_AddMeshElementDlg::Init(), SMESHGUI_AddQuadraticElementDlg::Init(), SMESHGUI_NodesDlg::Init(), SMESHGUI_ReorientFacesOp::onActivateObject(), SMESHGUI_MakeNodeAtPointOp::onOpenView(), SMESHGUI_RemoveNodesDlg::onOpenView(), SMESHGUI_GroupOpDlg::onOpenView(), SMESHGUI_NodesDlg::onOpenView(), SMESHGUI_GroupDlg::onOpenView(), SMESHGUI_CopyMeshDlg::onOpenView(), SMESHGUI_AddMeshElementDlg::onOpenView(), SMESHGUI_SmoothingDlg::onOpenView(), SMESHGUI_CreatePolyhedralVolumeDlg::onOpenView(), SMESHGUI_ExtrusionAlongPathDlg::onOpenView(), SMESHGUI_AddQuadraticElementDlg::onOpenView(), SMESHGUI_ScaleDlg::onOpenView(), SMESHGUI_TranslationDlg::onOpenView(), SMESHGUI_RotationDlg::onOpenView(), SMESHGUI_RevolutionDlg::onOpenView(), SMESHGUI_SymmetryDlg::onOpenView(), SMESHGUI_MergeDlg::onOpenView(), SMESHGUI_SewingDlg::onOpenView(), SMESHGUI_ExtrusionDlg::onOpenView(), SMESHGUI_FilterDlg::onOpenView(), SMESHGUI_MergeDlg::onSelectElementFromGroup(), SMESHGUI_MergeDlg::onSelectGroup(), SMESHGUI_CopyMeshDlg::onSelectIdSource(), SMESHGUI_SmoothingDlg::onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), SMESHGUI_TranslationDlg::onSelectMesh(), SMESHGUI_RotationDlg::onSelectMesh(), SMESHGUI_SymmetryDlg::onSelectMesh(), SMESHGUI_RevolutionDlg::onSelectVectorMenu(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_MergeDlg::onTypeChanged(), SMESHGUI_GroupDlg::reject(), SMESHGUI_RemoveNodesDlg::reject(), SMESHGUI_NodesDlg::reject(), SMESHGUI_AddMeshElementDlg::reject(), SMESHGUI_SmoothingDlg::reject(), SMESHGUI_CreatePolyhedralVolumeDlg::reject(), SMESHGUI_ExtrusionAlongPathDlg::reject(), SMESHGUI_AddQuadraticElementDlg::reject(), SMESHGUI_ScaleDlg::reject(), SMESHGUI_TranslationDlg::reject(), SMESHGUI_RotationDlg::reject(), SMESHGUI_RevolutionDlg::reject(), SMESHGUI_SymmetryDlg::reject(), SMESHGUI_MergeDlg::reject(), SMESHGUI_SewingDlg::reject(), SMESHGUI_MeasureDlg::reject(), SMESHGUI_ExtrusionDlg::reject(), SMESHGUI_MeshInfoDlg::reject(), SMESHGUI_CtrlInfoDlg::reject(), SMESHGUI_FilterDlg::restoreSelMode(), SMESHGUI_FilterDlg::selectInViewer(), SMESHGUI_3TypesSelector::selectionIntoArgument(), SMESHGUI_NodesDlg::SelectionIntoArgument(), SMESHGUI_MergeDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument(), SMESHGUI_SmoothingDlg::SetEditCurrentArgument(), SMESHGUI_ScaleDlg::SetEditCurrentArgument(), SMESHGUI_TranslationDlg::SetEditCurrentArgument(), SMESHGUI_RotationDlg::SetEditCurrentArgument(), SMESHGUI_RevolutionDlg::SetEditCurrentArgument(), SMESHGUI_SymmetryDlg::SetEditCurrentArgument(), SMESHGUI_SewingDlg::SetEditCurrentArgument(), SMESHGUI_MergeDlg::SetEditCurrentArgument(), SMESHGUI_ExtrusionDlg::SetEditCurrentArgument(), SMESHGUI_GroupDlg::setSelectionMode(), SMESHGUI_MakeNodeAtPointOp::stopOperation(), SMESHGUI_MinDistance::updateSelection(), SMESHGUI_BoundingBox::updateSelection(), SMESHGUI_BasicProperties::updateSelection(), SMESHGUI_FilterDlg::updateSelection(), SMESHGUI_MeshInfoDlg::updateSelection(), and SMESHGUI_CtrlInfoDlg::updateSelection().

QString SMESH::shapeText ( int  subShapeID,
GEOM::GEOM_Object_var  aMainShape 
)
QString SMESH::shapeTypeName ( GEOM::GEOM_Object_var  aShape,
const char *  dflt = "" 
)
void SMESH::ShowHelpFile ( const QString &  theHelpFileName)
template<class TInterface >
TInterface::_var_type SMESH::SObjectToInterface ( _PTR(SObject theSObject)

References SObjectToObject().

CORBA::Object_var SMESH::SObjectToObject ( _PTR(SObject theSObject)

References _PTR(), and SObjectToObject().

SMESH::FunctorType SMESH::StringToFunctorType ( const char *  str)

Converts a string to FunctorType.

This is reverse of FunctorTypeToString()

References FT_Undefined, and getFunctNames().

Referenced by SMESH_GroupOnFilter_i::StringToFilter().

void SMESH::throwCorbaException ( const char *  excText)

Function used in SMESH_CATCH to convert a caught exception to SALOME::SALOME_Exception.

Referenced by SMESH_MeshEditor_i::Add0DElement(), SMESH_MeshEditor_i::AddBall(), SMESH_MeshEditor_i::AddEdge(), SMESH_MeshEditor_i::AddFace(), SMESH_MeshEditor_i::AddNode(), SMESH_MeshEditor_i::AddPolygonalFace(), SMESH_MeshEditor_i::AddPolyhedralVolume(), SMESH_MeshEditor_i::AddPolyhedralVolumeByFaces(), SMESH_MeshEditor_i::AddQuadPolygonalFace(), SMESH_MeshEditor_i::AddVolume(), SMESH_MeshEditor_i::AdvancedExtrusion(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_MeshEditor_i::BestSplit(), SMESH_MeshEditor_i::ChangeElemNodes(), SMESH_MeshEditor_i::ClearLastCreated(), SMESH_Mesh_i::ClearLog(), SMESH_MeshEditor_i::ConvertFromQuadratic(), SMESH_MeshEditor_i::ConvertFromQuadraticObject(), SMESH_MeshEditor_i::convertToQuadratic(), SMESH_Mesh_i::ConvertToStandalone(), SMESH_MeshEditor_i::Create0DElementsOnAllNodes(), SMESH_Mesh_i::CreateDimGroup(), SMESH_MeshEditor_i::CreateFlatElementsOnFacesGroups(), SMESH_MeshEditor_i::CreateHoleSkin(), SMESH_Mesh_i::CutGroups(), SMESH_Mesh_i::CutListOfGroups(), SMESH_MeshEditor_i::DeleteDiag(), SMESH_MeshEditor_i::DoubleElements(), SMESH_MeshEditor_i::DoubleNode(), SMESH_MeshEditor_i::DoubleNodeElem(), SMESH_MeshEditor_i::DoubleNodeElemGroup(), SMESH_MeshEditor_i::DoubleNodeElemGroup2New(), SMESH_MeshEditor_i::DoubleNodeElemGroupInRegion(), SMESH_MeshEditor_i::DoubleNodeElemGroups(), SMESH_MeshEditor_i::DoubleNodeElemGroups2New(), SMESH_MeshEditor_i::DoubleNodeElemGroupsInRegion(), SMESH_MeshEditor_i::DoubleNodeElemInRegion(), SMESH_MeshEditor_i::DoubleNodeGroup(), SMESH_MeshEditor_i::DoubleNodeGroupNew(), SMESH_MeshEditor_i::DoubleNodeGroups(), SMESH_MeshEditor_i::DoubleNodes(), SMESH_MeshEditor_i::DoubleNodesOnGroupBoundaries(), SMESH_Mesh_i::ExportPartToMED(), SMESH_Mesh_i::ExportToMEDX(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_MeshEditor_i::ExtrusionByNormal(), SMESH_MeshEditor_i::ExtrusionSweepObjects(), SMESH_MeshEditor_i::FindAmongElementsByPoint(), SMESH_MeshEditor_i::FindCoincidentNodes(), SMESH_MeshEditor_i::FindCoincidentNodesOnPart(), SMESH_MeshEditor_i::FindCoincidentNodesOnPartBut(), SMESH_MeshEditor_i::FindElementsByPoint(), SMESH_MeshEditor_i::FindEqualElements(), SMESH_MeshEditor_i::FindNodeClosestTo(), SMESH_Mesh_i::GetElementType(), SMESH_MeshEditor_i::getGroups(), SMESH_MeshEditor_i::GetLastCreatedElems(), SMESH_MeshEditor_i::GetLastCreatedNodes(), SMESH_MeshEditor_i::GetLastError(), SMESH_Mesh_i::GetLog(), SMESH_Mesh_i::GetMeshEditor(), SMESH_Mesh_i::GetMeshEditPreviewer(), SMESH_MeshEditor_i::GetPointState(), SMESH_MeshEditor_i::GetPreviewData(), SMESH_Mesh_i::GetSubMeshElementsId(), SMESH_Mesh_i::GetSubMeshElementType(), SMESH_Mesh_i::GetSubMeshNodesId(), SMESH_Mesh_i::ImportSTLFile(), SMESH_Mesh_i::ImportUNVFile(), SMESH_Mesh_i::IntersectGroups(), SMESH_Mesh_i::IntersectListOfGroups(), SMESH_MeshEditor_i::InverseDiag(), SMESH_MeshEditor_i::Make2DMeshFrom3D(), SMESH_MeshEditor_i::MakeBoundaryElements(), SMESH_MeshEditor_i::MakeBoundaryMesh(), SMESH_MeshEditor_i::MergeElements(), SMESH_MeshEditor_i::MergeEqualElements(), SMESH_MeshEditor_i::MergeNodes(), SMESH_MeshEditor_i::mirror(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESH_MeshEditor_i::MoveNode(), SMESH_MeshEditor_i::QuadTo4Tri(), SMESH_MeshEditor_i::QuadToTri(), SMESH_MeshEditor_i::QuadToTriObject(), SMESH_MeshEditor_i::RemoveElements(), SMESH_Mesh_i::RemoveGroup(), SMESH_Mesh_i::RemoveGroupWithContents(), SMESH_MeshEditor_i::RemoveNodes(), SMESH_MeshEditor_i::RemoveOrphanNodes(), SMESH_Mesh_i::RemoveSubMesh(), SMESH_MeshEditor_i::RenumberElements(), SMESH_MeshEditor_i::RenumberNodes(), SMESH_MeshEditor_i::Reorient(), SMESH_MeshEditor_i::Reorient2D(), SMESH_MeshEditor_i::Reorient2DBy3D(), SMESH_MeshEditor_i::ReorientObject(), SMESH_MeshEditor_i::rotate(), SMESH_MeshEditor_i::RotateMakeMesh(), SMESH_MeshEditor_i::RotateObjectMakeMesh(), SMESH_MeshEditor_i::RotationSweepObjects(), SMESH_MeshEditor_i::scale(), SMESH_MeshEditor_i::SetMeshElementOnShape(), SMESH_MeshEditor_i::SetNodeInVolume(), SMESH_MeshEditor_i::SetNodeOnEdge(), SMESH_MeshEditor_i::SetNodeOnFace(), SMESH_MeshEditor_i::SetNodeOnVertex(), SMESH_MeshEditor_i::SewBorderToSide(), SMESH_MeshEditor_i::SewCoincidentFreeBorders(), SMESH_MeshEditor_i::SewConformFreeBorders(), SMESH_MeshEditor_i::SewFreeBorders(), SMESH_MeshEditor_i::SewSideElements(), SMESH_MeshEditor_i::smooth(), SMESH_MeshEditor_i::smoothObject(), SMESH_MeshEditor_i::SplitBiQuadraticIntoLinear(), SMESH_MeshEditor_i::SplitHexahedraIntoPrisms(), SMESH_MeshEditor_i::SplitQuad(), SMESH_MeshEditor_i::SplitQuadObject(), SMESH_MeshEditor_i::SplitVolumesIntoTetra(), SMESH_MeshEditor_i::translate(), SMESH_MeshEditor_i::TranslateObjectMakeMesh(), SMESH_MeshEditor_i::TriToQuad(), SMESH_MeshEditor_i::TriToQuadObject(), SMESH_Mesh_i::UnionGroups(), and SMESH_Mesh_i::UnionListOfGroups().

void SMESH::throwSalomeEx ( const char *  txt)
QString SMESH::UniqueName ( const QString &  theBaseName,
_PTR(SObject theParent,
const QString &  thePostfix 
)
void SMESH::UpdateFontProp ( SMESHGUI theModule)
bool SMESH::UpdateNulData ( const Handle(SALOME_InteractiveObject)&  theIO,
bool  theDisplay 
)
void SMESH::UpdateSelectionProp ( SMESHGUI theModule)
bool SMESH::UpdateView ( SUIT_ViewWindow *  theWnd,
EDisplaing  theAction,
const char *  theEntry 
)
bool SMESH::UpdateView ( EDisplaing  theAction,
const char *  theEntry 
)

References GetActiveStudy(), and UpdateView().

void SMESH::UpdateView ( )
void SMESH::WriteUnstructuredGrid ( vtkUnstructuredGrid theGrid,
const char *  theFileName 
)

Variable Documentation

const vtkIdType SMESH::DeleteActorEvent = vtkCommand::UserEvent + 100
const long SMESH::EXTRUSION_FLAG_BOUNDARY = 1

Auxiliary flags for advanced extrusion.

BOUNDARY: create or not boundary for result of extrusion SEW: try to use existing nodes or create new nodes in any case

Referenced by SMESH_MeshEditor::ExtrusParam::ToMakeBoundary().

const long SMESH::EXTRUSION_FLAG_SEW = 2
QList<HypothesesSet*> SMESH::myListOfHypothesesSets
return SMESH::subSO
const long SMESH::Tag_BallElementsGroups = 16
const long SMESH::Tag_EdgeGroups = 12
const long SMESH::Tag_FaceGroups = 13
const long SMESH::Tag_FirstGroup = 11
const long SMESH::Tag_FirstMeshRoot = 3
const long SMESH::Tag_FirstSubMesh = 4
const long SMESH::Tag_HypothesisRoot = 1
const long SMESH::Tag_LastGroup = 16
const long SMESH::Tag_NodeGroups = 11
const long SMESH::Tag_RefOnAppliedHypothesis = 2
const long SMESH::Tag_RefOnShape = 1
const long SMESH::Tag_SubMeshOnShell = 8
const long SMESH::Tag_SubMeshOnWire = 6
const long SMESH::Tag_VolumeGroups = 14
const char SMESH::theNotPublishedObjectName[] = "__NOT__Published__Object__"
SVTK_Selector* SMESH::theSelector
Initial value:
{
return theSelector->GetFilter(theId)

Referenced by SMESH_PreviewActorsCollection::SetSelector().

MemoryReserve* SMESH::theVISU_MemoryReserve = new MemoryReserve
static

Referenced by OnVisuException().