Version: 9.16.0
SMESH_Gen_No_Session_i Class Reference

#include <SMESH_Gen_No_Session_i.hxx>

Inheritance diagram for SMESH_Gen_No_Session_i:

Public Member Functions

 SMESH_Gen_No_Session_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName)
 
GEOM::GEOM_Gen_var GetGeomEngine (bool isShaper) override
 
SALOMEDS::Study_var getStudyServantVirtual () const override
 
SALOME_ModuleCatalog::ModuleCatalog_var getModuleCatalog () const override
 
SALOMEDS::Study_var getStudyServant () const
 
SALOMEDS::SObject_ptr publish (CORBA::Object_ptr theIOR, SALOMEDS::SObject_ptr theFatherObject, const int theTag=0, const char *thePixMap=0, const bool theSelectable=true)
 
SALOMEDS::SObject_ptr ObjectToSObject (CORBA::Object_ptr theObject)
 
void SetName (const char *theIOR, const char *theName)
 SMESH_Gen_i::SetName. More...
 
void SetName (SALOMEDS::SObject_ptr theSObject, const char *theName, const char *theDefaultName=0)
 
void SetGeomEngine (GEOM::GEOM_Gen_ptr geomcompo)
 SMESH_Gen_i::SetGeomEngine. More...
 
void SetEmbeddedMode (CORBA::Boolean theMode)
 SMESH_Gen_i::SetEmbeddedMode. More...
 
CORBA::Boolean IsEmbeddedMode ()
 SMESH_Gen_i::IsEmbeddedMode. More...
 
void SetEnablePublish (CORBA::Boolean theIsEnablePublish)
 SMESH_Gen_i::SetEnablePublish. More...
 
CORBA::Boolean IsEnablePublish ()
 SMESH_Gen_i::IsEnablePublish. More...
 
void UpdateStudy ()
 SMESH_Gen_i::UpdateStudy. More...
 
bool hasObjectInfo ()
 
char * getObjectInfo (const char *entry)
 
SMESH::SMESH_Hypothesis_ptr CreateHypothesis (const char *theHypType, const char *theLibName)
 SMESH_Gen_i::CreateHypothesis. More...
 
SMESH::SMESH_Hypothesis_ptr CreateHypothesisByAverageLength (const char *theHypType, const char *theLibName, CORBA::Double theAverageLength, CORBA::Boolean theQuadDominated)
 Return a hypothesis initialized by given average length. More...
 
SMESH::SMESH_Hypothesis_ptr GetHypothesisParameterValues (const char *theHypType, const char *theLibName, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theGeom, const SMESH::HypInitParams &theWay)
 Return a hypothesis holding parameter values corresponding either to the mesh existing on the given geometry or to size of the geometry. More...
 
CORBA::Boolean GetSoleSubMeshUsingHyp (SMESH::SMESH_Hypothesis_ptr theHyp, SMESH::SMESH_Mesh_out theMesh, GEOM::GEOM_Object_out theShape)
 Returns True if a hypothesis is assigned to a sole sub-mesh in a current Study. More...
 
void SetBoundaryBoxSegmentation (CORBA::Long theNbSegments)
 Sets number of segments per diagonal of boundary box of geometry by which default segment length of appropriate 1D hypotheses is defined. More...
 
void SetDefaultNbSegments (CORBA::Long theNbSegments)
 Sets default number of segments per edge. More...
 
virtual void SetOption (const char *, const char *)
 Set an option value. More...
 
virtual char * GetOption (const char *)
 Return an option value. More...
 
bool ToForgetMeshDataOnHypModif () const
 To load full mesh data from study at hyp modification or not. More...
 
SMESH::SMESH_Mesh_ptr CreateMesh (GEOM::GEOM_Object_ptr theShapeObject)
 SMESH_Gen_i::CreateMesh. More...
 
SMESH::SMESH_ParallelMesh_ptr CreateParallelMesh (GEOM::GEOM_Object_ptr theShapeObject)
 SMESH_Gen_i::CreateParallelMesh. More...
 
SMESH::SMESH_Mesh_ptr CreateEmptyMesh ()
 SMESH_Gen_i::CreateEmptyMesh. More...
 
SMESH::SMESH_Mesh_ptr ReloadMeshFromFile (SMESH::SMESH_Mesh_ptr theMesh)
 
SMESH::SMESH_Mesh_ptr CreateMeshesFromUNV (const char *theFileName)
 SMESH_Gen_i::CreateMeshFromUNV. More...
 
SMESH::SMESH_Mesh_ptr ReloadMeshesFromUNV (const char *theFileName, SMESH::SMESH_Mesh_ptr sourceMesh)
 
SMESH::mesh_arrayCreateMeshesFromMED (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus)
 SMESH_Gen_i::CreateMeshFromMED. More...
 
SMESH::mesh_arrayReloadMeshesFromMED (const char *theFileName, SMESH::SMESH_Mesh_ptr sourceMesh, SMESH::DriverMED_ReadStatus &theStatus)
 
SMESH::mesh_arrayCreateMeshesFromMAIL (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus)
 SMESH_Gen_i::CreateMeshFromMED. More...
 
SMESH::mesh_arrayCreateMeshesFromINP (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) override
 
SMESH::mesh_arrayCreateMeshesFromCDB (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) override
 
SMESH::mesh_arrayCreateMeshesFromASC (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) override
 
SMESH::mesh_arrayCreateMeshesFromGEOF (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) override
 
SMESH::SMESH_Mesh_ptr CreateMeshesFromSTL (const char *theFileName)
 SMESH_Gen_i::CreateMeshFromSTL. More...
 
SMESH::SMESH_Mesh_ptr ReloadMeshesFromSTL (const char *theFileName, SMESH::SMESH_Mesh_ptr sourceMesh)
 
SMESH::mesh_arrayCreateMeshesFromCGNS (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus)
 Create meshes and import data from the CGSN file. More...
 
SMESH::mesh_arrayReloadMeshesFromCGNS (const char *theFileName, SMESH::SMESH_Mesh_ptr sourceMesh, SMESH::DriverMED_ReadStatus &theStatus)
 
SMESH::SMESH_Mesh_ptr CreateMeshesFromGMF (const char *theFileName, CORBA::Boolean theMakeRequiredGroups, SMESH::ComputeError_out theError)
 Create a mesh and import data from a GMF file. More...
 
SMESH::SMESH_Mesh_ptr ReloadMeshesFromGMF (const char *theFileName, SMESH::SMESH_Mesh_ptr sourceMesh, CORBA::Boolean theMakeRequiredGroups, SMESH::ComputeError_out theError)
 
SMESH::mesh_arrayCreateMeshesFromMESHIO (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus, const char *selectedFilter=nullptr, const char *converter=nullptr)
 Create a mesh and import data from any file supported by meshio library. More...
 
SMESH::mesh_arrayReloadMeshesFromMESHIO (const char *theFileName, SMESH::SMESH_Mesh_ptr sourceMesh, SMESH::DriverMED_ReadStatus &theStatus, const char *converter=nullptr)
 
SMESH::SMESH_Mesh_ptr CreateDualMesh (SMESH::SMESH_IDSource_ptr meshPart, const char *meshName, CORBA::Boolean adapt_to_shape)
 Create a mesh by copying a part of another mesh. More...
 
SMESH::SMESH_Mesh_ptr CopyMesh (SMESH::SMESH_IDSource_ptr meshPart, const char *meshName, CORBA::Boolean toCopyGroups, CORBA::Boolean toKeepIDs)
 Create a mesh by copying a part of another mesh. More...
 
CORBA::Boolean CopyMeshWithGeom (SMESH::SMESH_Mesh_ptr sourceMesh, GEOM::GEOM_Object_ptr newGeometry, const char *meshName, CORBA::Boolean toCopyGroups, CORBA::Boolean toReuseHypotheses, CORBA::Boolean toCopyElements, SMESH::SMESH_Mesh_out newMesh, SMESH::ListOfGroups_out newGroups, SMESH::submesh_array_out newSubmeshes, SMESH::ListOfHypothesis_out newHypotheses, SMESH::string_array_out invalidEntries)
 Create a mesh by copying definitions of another mesh to a given geometry. More...
 
CORBA::Boolean Compute (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject)
 SMESH_Gen_i::Compute. More...
 
void CancelCompute (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject)
 SMESH_Gen_i::CancelCompute. More...
 
SMESH::compute_error_arrayGetComputeErrors (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject)
 Return errors of mesh computation. More...
 
SMESH::smIdType_arrayEvaluate (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject)
 Evaluate mesh on a shape and returns statistic of mesh elements Result array of number enityties. More...
 
CORBA::Boolean IsReadyToCompute (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject)
 SMESH_Gen_i::IsReadyToCompute. More...
 
SMESH::MeshPreviewStructPrecompute (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theSubObject, SMESH::Dimension theDimension, SMESH::long_array &theShapesId)
 Calculate Mesh as preview till indicated dimension on shape First, verify list of hypothesis associated with the subShape. More...
 
SMESH::algo_error_arrayGetAlgoState (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theSubObject)
 Returns errors of hypotheses definition. More...
 
SMESH::MeshPreviewStructGetBadInputElements (SMESH::SMESH_Mesh_ptr theMesh, CORBA::Short theSubShapeID)
 Return mesh elements preventing computation of a subshape. More...
 
SMESH::ListOfGroupsMakeGroupsOfBadInputElements (SMESH::SMESH_Mesh_ptr theMesh, CORBA::Short theSubShapeID, const char *theGroupName)
 Create a group of elements preventing computation of a sub-shape. More...
 
SMESH::long_arrayGetSubShapesId (GEOM::GEOM_Object_ptr theMainShapeObject, const SMESH::object_array &theListOfSubShape)
 SMESH_Gen_i::GetSubShapesId. More...
 
GEOM::GEOM_Object_ptr GetGeometryByMeshElement (SMESH::SMESH_Mesh_ptr theMesh, SMESH::smIdType theElementID, const char *theGeomName)
 Return geometrical object the given element is built on. More...
 
GEOM::GEOM_Object_ptr FindGeometryByMeshElement (SMESH::SMESH_Mesh_ptr theMesh, SMESH::smIdType theElementID)
 Return geometrical object the given element is built on. More...
 
SMESH::SMESH_Mesh_ptr ConcatenateCommon (const SMESH::ListOfIDSources &meshesArray, CORBA::Boolean uniteIdenticalGroups, CORBA::Boolean mergeNodesAndElements, CORBA::Double mergeTolerance, CORBA::Boolean commonGroups, SMESH::SMESH_Mesh_ptr meshToAppendTo)
 SMESH_Gen_i::ConcatenateCommon. More...
 
SMESH::SMESH_Mesh_ptr Concatenate (const SMESH::ListOfIDSources &meshesArray, CORBA::Boolean uniteIdenticalGroups, CORBA::Boolean mergeNodesAndElements, CORBA::Double mergeTolerance, SMESH::SMESH_Mesh_ptr meshToAppendTo)
 SMESH_Gen_i::Concatenate. More...
 
SMESH::SMESH_Mesh_ptr ConcatenateWithGroups (const SMESH::ListOfIDSources &meshesArray, CORBA::Boolean uniteIdenticalGroups, CORBA::Boolean mergeNodesAndElements, CORBA::Double mergeTolerance, SMESH::SMESH_Mesh_ptr meshToAppendTo)
 SMESH_Gen_i::ConcatenateWithGroups. More...
 
char * GetMEDFileVersion ()
 Get version of MED format being used. More...
 
char * GetMEDVersion (const char *theFileName)
 SMESH_Gen_i::GetMEDVersion. More...
 
CORBA::Boolean CheckCompatibility (const char *theFileName)
 SMESH_Gen_i::CheckCompatibility. More...
 
CORBA::Boolean CheckWriteCompatibility (const char *theFileName)
 SMESH_Gen_i::CheckWriteCompatibility. More...
 
SMESH::string_arrayGetMeshNames (const char *theFileName)
 SMESH_Gen_i::GetMeshNames. More...
 
SALOMEDS::TMPFile * Save (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
 SMESH_Gen_i::Save. More...
 
bool Load (SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile &theStream, const char *theURL, bool isMultiFile)
 SMESH_Gen_i::Load. More...
 
SALOMEDS::TMPFile * SaveASCII (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
 SMESH_Gen_i::SaveASCII. More...
 
bool LoadASCII (SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile &theStream, const char *theURL, bool isMultiFile)
 SMESH_Gen_i::LoadASCII. More...
 
SMESH::FilterManager_ptr CreateFilterManager ()
 SMESH_Gen_i::CreateFilterManager. More...
 
SMESH::SMESH_Pattern_ptr GetPattern ()
 SMESH_Gen_i::GetPattern. More...
 
SMESH::Measurements_ptr CreateMeasurements ()
 SMESH_Gen_i::CreateMeasurements. More...
 
void Close (SALOMEDS::SComponent_ptr theComponent)
 SMESH_Gen_i::Close. More...
 
char * ComponentDataType ()
 SMESH_Gen_i::ComponentDataType. More...
 
char * IORToLocalPersistentID (SALOMEDS::SObject_ptr theSObject, const char *IORString, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
 SMESH_Gen_i::IORToLocalPersistentID. More...
 
char * LocalPersistentIDToIOR (SALOMEDS::SObject_ptr theSObject, const char *aLocalPersistentID, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
 SMESH_Gen_i::LocalPersistentIDToIOR. More...
 
bool CanPublishInStudy (CORBA::Object_ptr theIOR)
 SMESH_Gen_i::CanPublishInStudy. More...
 
SALOMEDS::SObject_ptr PublishInStudy (SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theObject, const char *theName)
 SMESH_Gen_i::PublishInStudy. More...
 
CORBA::Boolean CanCopy (SALOMEDS::SObject_ptr)
 
SALOMEDS::TMPFile * CopyFrom (SALOMEDS::SObject_ptr, CORBA::Long &)
 
CORBA::Boolean CanPaste (const char *, CORBA::Long)
 
SALOMEDS::SObject_ptr PasteInto (const SALOMEDS::TMPFile &, CORBA::Long, SALOMEDS::SObject_ptr)
 
virtual char * getVersion ()
 
virtual Engines::TMPFile * DumpPython (CORBA::Boolean isPublished, CORBA::Boolean isMultiFile, CORBA::Boolean &isValidScript)
 
void AddToPythonScript (const TCollection_AsciiString &theString)
 AddToPythonScript - C++ Internal version. More...
 
virtual void AddToPythonScript (const char *theCommand)
 AddToPythonScript - CORBA Interface version (for Python plugins) More...
 
void PausePythonDumpRecording ()
 SMESH_Gen_i::PausePythonDumpRecording. More...
 
void ResumePythonDumpRecording ()
 SMESH_Gen_i::ResumePythonDumpRecording. More...
 
void RemoveLastFromPythonScript ()
 RemoveLastFromPythonScript. More...
 
void SavePython ()
 
TCollection_AsciiString DumpPython_impl (Resource_DataMapOfAsciiStringAsciiString &theObjectNames, Resource_DataMapOfAsciiStringAsciiString &theNames, bool isPublished, bool isMultiFile, bool isHistoricalDump, bool &aValidScript, TCollection_AsciiString &theSavedTrace)
 Creates a Dump Python script. More...
 
TCollection_AsciiString GetNewPythonLines ()
 GetNewPythonLines. More...
 
void CleanPythonTrace ()
 CleanPythonTrace. More...
 
int CountInPyDump (const TCollection_AsciiString &text)
 Count inclusions of a string in a raw Python dump script. More...
 
SMESH::MG_ADAPT_ptr CreateMG_ADAPT ()
 SMESH_Gen_i::CreateMG_ADAPT. More...
 
SMESHHOMARD::HOMARD_Gen_ptr CreateHOMARD_ADAPT ()
 
SMESH::MG_ADAPT_ptr CreateAdaptationHypothesis ()
 
SALOME::GenericObj_ptr Adaptation (const char *adaptationType)
 
GEOM_Client * GetShapeReader ()
 SMESH_Gen_i::GetShapeReader. More...
 
SALOMEDS::SComponent_ptr PublishComponent ()
 
SALOMEDS::SObject_ptr PublishMesh (SMESH::SMESH_Mesh_ptr theMesh, const char *theName=0, const char *thePixMap=0)
 
SALOMEDS::SObject_ptr PublishHypothesis (SMESH::SMESH_Hypothesis_ptr theHyp, const char *theName=0)
 
SALOMEDS::SObject_ptr PublishSubMesh (SMESH::SMESH_Mesh_ptr theMesh, SMESH::SMESH_subMesh_ptr theSubMesh, GEOM::GEOM_Object_ptr theShapeObject, const char *theName=0)
 
SALOMEDS::SObject_ptr PublishGroup (SMESH::SMESH_Mesh_ptr theMesh, SMESH::SMESH_GroupBase_ptr theGroup, GEOM::GEOM_Object_ptr theShapeObject, const char *theName=0)
 
void UpdateIcons (SMESH::SMESH_Mesh_ptr theMesh)
 
void UpdateGroupIcon (SMESH::SMESH_GroupBase_ptr theGroup)
 
void HighLightInvalid (CORBA::Object_ptr theObject, bool isInvalid)
 
bool IsInvalid (SALOMEDS::SObject_ptr theObject)
 
bool AddHypothesisToShape (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject, SMESH::SMESH_Hypothesis_ptr theHyp)
 
bool RemoveHypothesisFromShape (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject, SMESH::SMESH_Hypothesis_ptr theHyp)
 
SALOMEDS::SObject_ptr GetMeshOrSubmeshByShape (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShape)
 
void SetPixMap (SALOMEDS::SObject_ptr theSObject, const char *thePixMap)
 
void addReference (SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theToObject, int theTag=0)
 
StudyContextGetStudyContext ()
 SMESH_Gen_i::GetStudyContext. More...
 
int RegisterObject (CORBA::Object_ptr theObject)
 
CORBA::Long GetObjectId (CORBA::Object_ptr theObject)
 Return id of registered object. More...
 
template<class TInterface >
TInterface::_var_type GetObjectByOldId (const int oldID)
 
SALOMEDS::SObject_ptr GetAlgoSO (const ::SMESH_Algo *algo)
 Find SObject for an algo. More...
 
void UpdateParameters (CORBA::Object_ptr theObject, const char *theParameters)
 Stores names of variables that WILL be passes as parameters when calling some method of a given object. More...
 
char * GetParameters (CORBA::Object_ptr theObject)
 
const std::vector< int > & GetLastParamIndices () const
 
const std::vector< std::string > & GetLastParameters () const
 
const std::string & GetLastObjEntry () const
 
std::vector< std::string > GetAllParameters (const std::string &theObjectEntry) const
 Return all variables used to create an object. More...
 
void Move (const SMESH::sobject_list &what, SALOMEDS::SObject_ptr where, CORBA::Long row)
 
CORBA::Boolean IsApplicable (const char *theAlgoType, const char *theLibName, GEOM::GEOM_Object_ptr theShapeObject, CORBA::Boolean toCheckAll)
 
SMESH::long_arrayGetInsideSphere (SMESH::SMESH_IDSource_ptr meshPart, SMESH::ElementType theElemType, CORBA::Double theX, CORBA::Double theY, CORBA::Double theZ, CORBA::Double theR)
 Collect indices of elements, which are located inside the sphere. More...
 
SMESH::long_arrayGetInsideBox (SMESH::SMESH_IDSource_ptr meshPart, SMESH::ElementType theElemType, CORBA::Double theX1, CORBA::Double theY1, CORBA::Double theZ1, CORBA::Double theX2, CORBA::Double theY2, CORBA::Double theZ2)
 Collect indices of elements, which are located inside the box. More...
 
SMESH::long_arrayGetInsideCylinder (SMESH::SMESH_IDSource_ptr meshPart, SMESH::ElementType theElemType, CORBA::Double theX, CORBA::Double theY, CORBA::Double theZ, CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ, CORBA::Double theH, CORBA::Double theR)
 Collect indices of elements, which are located inside the cylinder. More...
 
SMESH::long_arrayGetInside (SMESH::SMESH_IDSource_ptr meshPart, SMESH::ElementType theElemType, GEOM::GEOM_Object_ptr theGeom, CORBA::Double theTolerance)
 Collect indices of elements, which are located inside the geom object. More...
 

Static Public Member Functions

static SMESH_Gen_iGetSMESHGen ()
 
static CORBA::ORB_var GetORB ()
 
static PortableServer::POA_var GetPOA ()
 
static void SetNS (SALOME_NamingService_Abstract *ns)
 
static SALOME_NamingService_Abstract * GetNS ()
 GetNS [ static ]. More...
 
static SALOME_LifeCycleCORBA * GetLCC ()
 GetLCC [ static ]. More...
 
static GEOM::GEOM_Gen_var GetGeomEngine (GEOM::GEOM_Object_ptr)
 GetGeomEngine [ static ]. More...
 
static PortableServer::ServantBase_var GetServant (CORBA::Object_ptr theObject)
 GetServant [ static ]. More...
 
static CORBA::Object_var SObjectToObject (SALOMEDS::SObject_ptr theSObject)
 SObjectToObject [ static ]. More...
 
static GEOM::GEOM_Object_ptr ShapeToGeomObject (const TopoDS_Shape &theShape)
 
static TopoDS_Shape GeomObjectToShape (GEOM::GEOM_Object_ptr theGeomObject)
 
static GEOM::GEOM_Object_ptr GetGeomObjectByEntry (const std::string &entry)
 Get GEOM Object by its study entry. More...
 
static long GetHypothesisRootTag ()
 Get...Tag [ static ]. More...
 
static long GetAlgorithmsRootTag ()
 
static long GetRefOnShapeTag ()
 
static long GetRefOnAppliedHypothesisTag ()
 
static long GetRefOnAppliedAlgorithmsTag ()
 
static long GetSubMeshOnVertexTag ()
 
static long GetSubMeshOnEdgeTag ()
 
static long GetSubMeshOnFaceTag ()
 
static long GetSubMeshOnSolidTag ()
 
static long GetSubMeshOnCompoundTag ()
 
static long GetSubMeshOnWireTag ()
 
static long GetSubMeshOnShellTag ()
 
static long GetNodeGroupsTag ()
 
static long GetEdgeGroupsTag ()
 
static long GetFaceGroupsTag ()
 
static long GetVolumeGroupsTag ()
 
static long Get0DElementsGroupsTag ()
 
static long GetBallElementsGroupsTag ()
 

Static Protected Attributes

static GEOM::GEOM_Gen_var myGeomGen
 
static SALOME_NamingService_Abstract * myNS = nullptr
 

Private Member Functions

SMESH::mesh_arrayCreateMeshesFromMEDConverterInMedcoupling (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus, const std::string &converterPyFuncName)
 
GenericHypothesisCreator_igetHypothesisCreator (const char *theHypName, const char *theLibName, std::string &thePlatformLibName)
 SMESH_Gen_i::getHypothesisCreator. More...
 
SMESH::SMESH_Hypothesis_ptr createHypothesis (const char *theHypName, const char *theLibName)
 SMESH_Gen_i::createHypothesis. More...
 
SMESH::SMESH_Mesh_ptr createMesh ()
 SMESH_Gen_i::createMesh. More...
 
SMESH::SMESH_ParallelMesh_ptr createParallelMesh ()
 SMESH_Gen_i::createParallelMesh. More...
 
bool isGeomModifIcon (SMESH::SMESH_Mesh_ptr mesh)
 Return true if mesh has ICON_SMESH_TREE_GEOM_MODIF icon. More...
 
SMESH::SMESH_subMesh_ptr createInvalidSubMesh (SMESH::SMESH_Mesh_ptr mesh, GEOM::GEOM_Object_ptr strangerGeom, const char *name)
 Create a sub-mesh on a geometry that is not a sub-shape of the main shape for the case where a valid sub-shape not found by CopyMeshWithGeom(). More...
 
void highLightInvalid (SALOMEDS::SObject_ptr theSObject, bool isInvalid)
 
std::vector< long > _GetInside (SMESH::SMESH_IDSource_ptr meshPart, SMESH::ElementType ElemType, const TopoDS_Shape &Shape, double *Tolerance=NULL)
 Collect indices of elements, which are located inside the TopoDS_Shape. More...
 
 Handle (TColStd_HSequenceOfAsciiString) myPythonScript
 

Private Attributes

::SMESH_Gen myGen
 
std::map< std::string, GenericHypothesisCreator_i * > myHypCreatorMap
 
StudyContextmyStudyContext
 
GEOM_Client * myShapeReader
 
CORBA::Boolean myIsEmbeddedMode
 
CORBA::Boolean myIsEnablePublish
 
std::string myDefaultGroupColor
 
bool myToForgetMeshDataOnHypModif
 
bool myIsHistoricalPythonDump
 
std::vector< int > myLastParamIndex
 
std::vector< std::string > myLastParameters
 
std::string myLastObj
 

Static Private Attributes

static CORBA::ORB_var myOrb
 
static PortableServer::POA_var myPoa
 
static SALOME_LifeCycleCORBA * myLCC = nullptr
 
static SMESH_Gen_imySMESHGen = nullptr
 

Constructor & Destructor Documentation

◆ SMESH_Gen_No_Session_i()

SMESH_Gen_No_Session_i::SMESH_Gen_No_Session_i ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
PortableServer::ObjectId *  contId,
const char *  instanceName,
const char *  interfaceName 
)

References SMESH_Gen_i::myNS.

Member Function Documentation

◆ _GetInside()

◆ Adaptation()

SALOME::GenericObj_ptr SMESH_Gen_i::Adaptation ( const char *  adaptationType)
inherited

◆ AddHypothesisToShape()

◆ addReference()

void SMESH_Gen_i::addReference ( SALOMEDS::SObject_ptr  theSObject,
CORBA::Object_ptr  theToObject,
int  theTag = 0 
)
inherited

◆ AddToPythonScript() [1/2]

void SMESH_Gen_i::AddToPythonScript ( const char *  theCommand)
virtualinherited

AddToPythonScript - CORBA Interface version (for Python plugins)

References SMESH_Gen_i::AddToPythonScript(), and MESSAGE.

◆ AddToPythonScript() [2/2]

void SMESH_Gen_i::AddToPythonScript ( const TCollection_AsciiString &  theString)
inherited

AddToPythonScript - C++ Internal version.

Referenced by SMESH_Gen_i::AddToPythonScript(), and SMESH::TPythonDump::~TPythonDump().

◆ CancelCompute()

void SMESH_Gen_i::CancelCompute ( SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShapeObject 
)
inherited

◆ CanCopy()

CORBA::Boolean SMESH_Gen_i::CanCopy ( SALOMEDS::SObject_ptr  )
inherited

◆ CanPaste()

CORBA::Boolean SMESH_Gen_i::CanPaste ( const char *  ,
CORBA::Long   
)
inherited

◆ CanPublishInStudy()

◆ CheckCompatibility()

CORBA::Boolean SMESH_Gen_i::CheckCompatibility ( const char *  theFileName)
inherited

SMESH_Gen_i::CheckCompatibility.

Check compatibility of file with MED format being used, read only.

References MED::CheckCompatibility().

◆ CheckWriteCompatibility()

CORBA::Boolean SMESH_Gen_i::CheckWriteCompatibility ( const char *  theFileName)
inherited

SMESH_Gen_i::CheckWriteCompatibility.

Check compatibility of file with MED format being used, for append on write.

References MED::CheckCompatibility().

◆ CleanPythonTrace()

void SMESH_Gen_i::CleanPythonTrace ( )
inherited

CleanPythonTrace.

Referenced by SMESH_Gen_i::Close(), and SMESH_Gen_i::SavePython().

◆ Close()

void SMESH_Gen_i::Close ( SALOMEDS::SComponent_ptr  theComponent)
inherited

◆ ComponentDataType()

◆ Compute()

◆ Concatenate()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::Concatenate ( const SMESH::ListOfIDSources theMeshesArray,
CORBA::Boolean  theUniteIdenticalGroups,
CORBA::Boolean  theMergeNodesAndElements,
CORBA::Double  theMergeTolerance,
SMESH::SMESH_Mesh_ptr  theMeshToAppendTo 
)
inherited

SMESH_Gen_i::Concatenate.

Concatenate the given meshes into one mesh

References SMESH_Gen_i::ConcatenateCommon().

◆ ConcatenateCommon()

◆ ConcatenateWithGroups()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ConcatenateWithGroups ( const SMESH::ListOfIDSources theMeshesArray,
CORBA::Boolean  theUniteIdenticalGroups,
CORBA::Boolean  theMergeNodesAndElements,
CORBA::Double  theMergeTolerance,
SMESH::SMESH_Mesh_ptr  theMeshToAppendTo 
)
inherited

SMESH_Gen_i::ConcatenateWithGroups.

Concatenate the given meshes into one mesh Create the groups of all elements from initial meshes

References SMESH_Gen_i::ConcatenateCommon().

◆ CopyFrom()

SALOMEDS::TMPFile * SMESH_Gen_i::CopyFrom ( SALOMEDS::SObject_ptr  ,
CORBA::Long &   
)
inherited

◆ CopyMesh()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CopyMesh ( SMESH::SMESH_IDSource_ptr  meshPart,
const char *  meshName,
CORBA::Boolean  toCopyGroups,
CORBA::Boolean  toKeepIDs 
)
inherited

◆ CopyMeshWithGeom()

CORBA::Boolean SMESH_Gen_i::CopyMeshWithGeom ( SMESH::SMESH_Mesh_ptr  theSourceMesh,
GEOM::GEOM_Object_ptr  theNewGeometry,
const char *  theMeshName,
CORBA::Boolean  theToCopyGroups,
CORBA::Boolean  theToReuseHypotheses,
CORBA::Boolean  theToCopyElements,
SMESH::SMESH_Mesh_out  theNewMesh,
SMESH::ListOfGroups_out  theNewGroups,
SMESH::submesh_array_out  theNewSubmeshes,
SMESH::ListOfHypothesis_out  theNewHypotheses,
SMESH::string_array_out  theInvalidEntries 
)
inherited

Create a mesh by copying definitions of another mesh to a given geometry.

Parameters
[in]sourceMesh- a mesh to copy
[in]newGeometry- a new geometry
[in]toCopyGroups- to create groups in the new mesh
[in]toReuseHypotheses- if True, existing hypothesis will be used by the new mesh, otherwise new hypotheses with the same parameters will be created for the new mesh.
[in]toCopyElements- to copy mesh elements of same sub-shapes of the two geometries
[out]newMesh- return a new mesh
[out]newGroups- return new groups
[out]newSubmeshes- return new sub-meshes
[out]newHypotheses- return new algorithms and hypotheses
[out]invalidEntries- return study entries of objects whose counterparts are not found in the newGeometry, followed by entries of mesh sub-objects that are invalid because they depend on a not found preceding sub-shape
Returns
CORBA::Boolean - is a success

References SMESH_MeshEditor::AddElement(), SMESHDS_Mesh::AddNodeWithID(), SMESH_subMesh::CHECK_COMPUTE_STATE, SMESHDS_Mesh::CompactMesh(), SMESH_subMesh::ComputeStateEngine(), SMESH_Gen_i::CreateFilterManager(), SMESH_Gen_i::CreateHypothesis(), SMESH_Gen_i::createInvalidSubMesh(), SMESH_Gen_i::CreateMesh(), SMESH::errorText(), SMDS_Mesh::FindNode(), SMESH::FT_BelongToCylinder, SMESH::FT_BelongToGenSurface, SMESH::FT_BelongToGeom, SMESH::FT_BelongToMeshGroup, SMESH::FT_BelongToPlane, SMESH::FT_ConnectedElements, SMESH::FT_LyingOnGeom, SMESH_subMesh::getDependsOnIterator(), SMESHDS_SubMesh::GetElements(), SMDS_Mesh::GetElementType(), SMDS_MeshElement::GetID(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), SMDS_Mesh::GetMeshInfo(), SMESHDS_SubMesh::GetNodes(), SMESH_Hypothesis_i::getObjectsDependOn(), SMDS_MeshNode::GetPosition(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubMeshDS(), SMESH_subMesh::GetSubShape(), SMESH_Gen_i::highLightInvalid(), SMESH_MeshEditor::ElemFeatures::Init(), SMESH_subMesh::IsEmpty(), SMESH_Mesh_i::Load(), SMESH_Hypothesis_i::LoadFrom(), SMDS_Mesh::Modified(), SMESH_MeshEditor::ElemFeatures::myNodes, SMDS_MeshInfo::NbElements(), SMDS_MeshElement::NbNodes(), SMESH::NODE, SMDS_MeshElement::nodeIterator(), SMESH_Gen_i::ObjectToSObject(), SMESH_Hypothesis_i::SaveTo(), SMESH_MeshEditor::ElemFeatures::SetID(), SMESHDS_Mesh::SetMeshElementOnShape(), SMESH_Gen_i::SetName(), SMESHDS_Mesh::SetNodeInVolume(), SMESHDS_Mesh::SetNodeOnEdge(), SMESHDS_Mesh::SetNodeOnFace(), SMESHDS_Mesh::SetNodeOnVertex(), SMESH_Hypothesis_i::setObjectsDependOn(), SMDS_TOP_3DSPACE, SMDS_TOP_EDGE, SMDS_TOP_FACE, SMDS_TOP_VERTEX, SMDSAbs_All, SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().

◆ CountInPyDump()

int SMESH_Gen_i::CountInPyDump ( const TCollection_AsciiString &  text)
inherited

Count inclusions of a string in a raw Python dump script.

References SMESH_Gen_i::ComponentDataType(), SMESH_Gen_i::GetSMESHGen(), and SMESH_Gen_i::getStudyServant().

◆ CreateAdaptationHypothesis()

SMESH::MG_ADAPT_ptr SMESH_Gen_i::CreateAdaptationHypothesis ( )
inherited

◆ CreateDualMesh()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateDualMesh ( SMESH::SMESH_IDSource_ptr  mesh,
const char *  meshName,
CORBA::Boolean  adapt_to_shape 
)
inherited

Create a mesh by copying a part of another mesh.

Parameters
mesh- TetraHedron mesh
meshNameName of the created mesh
Return values
SMESH::SMESH_Mesh_ptr- the new mesh

References SMESH_Gen_i::CreateMesh(), SMESH_Mesh::GetGroupIds(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), SMESH_Gen_i::GetORB(), SMESH_Mesh_i::ImportMEDFile(), MESSAGE, SMDS_Mesh::Modified(), SMESH_Gen_i::ObjectToSObject(), SMESH_Gen_i::SetName(), and SMESH_Gen_i::SetPixMap().

◆ CreateEmptyMesh()

◆ CreateFilterManager()

SMESH::FilterManager_ptr SMESH_Gen_i::CreateFilterManager ( )
inherited

◆ CreateHOMARD_ADAPT()

SMESHHOMARD::HOMARD_Gen_ptr SMESH_Gen_i::CreateHOMARD_ADAPT ( )
inherited

References MED::exists().

◆ createHypothesis()

◆ CreateHypothesis()

SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::CreateHypothesis ( const char *  theHypName,
const char *  theLibName 
)
inherited

◆ CreateHypothesisByAverageLength()

SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::CreateHypothesisByAverageLength ( const char *  theHypType,
const char *  theLibName,
CORBA::Double  theAverageLength,
CORBA::Boolean  theQuadDominated 
)
inherited

Return a hypothesis initialized by given average length.

Parameters
theHypType- hypothesis type name
theLibName- plugin library name
theAverageLength- average length
theQuadDominated- is quad-dominated flag
Return values
SMESH::SMESH_Hypothesis_ptr- the new hypothesis

References SMESH_Hypothesis::BY_AVERAGE_LENGTH, SMESH_Gen_i::GetHypothesisParameterValues(), and SMESH_Gen_i::PublishHypothesis().

◆ createInvalidSubMesh()

SMESH::SMESH_subMesh_ptr SMESH_Gen_i::createInvalidSubMesh ( SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theStrangerGeom,
const char *  theName 
)
privateinherited

Create a sub-mesh on a geometry that is not a sub-shape of the main shape for the case where a valid sub-shape not found by CopyMeshWithGeom().

The invalid sub-mesh has GetId() < 0.

References SMESH_Gen_i::CanPublishInStudy(), SMESH_Mesh_i::createSubMesh(), SMESH_Gen_i::GetRefOnShapeTag(), SMESH_Gen_i::getStudyServant(), and SMESH_Gen_i::PublishSubMesh().

Referenced by SMESH_Gen_i::CopyMeshWithGeom().

◆ CreateMeasurements()

SMESH::Measurements_ptr SMESH_Gen_i::CreateMeasurements ( )
inherited

SMESH_Gen_i::CreateMeasurements.

Create measurement instance

◆ createMesh()

◆ CreateMesh()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMesh ( GEOM::GEOM_Object_ptr  theShapeObject)
inherited

◆ CreateMeshesFromASC()

SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromASC ( const char *  theFileName,
SMESH::DriverMED_ReadStatus theStatus 
)
overrideinherited

◆ CreateMeshesFromCDB()

SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromCDB ( const char *  theFileName,
SMESH::DriverMED_ReadStatus theStatus 
)
overrideinherited

◆ CreateMeshesFromCGNS()

◆ CreateMeshesFromGEOF()

SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromGEOF ( const char *  theFileName,
SMESH::DriverMED_ReadStatus theStatus 
)
overrideinherited

◆ CreateMeshesFromGMF()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromGMF ( const char *  theFileName,
CORBA::Boolean  theMakeRequiredGroups,
SMESH::ComputeError_out  theError 
)
inherited

◆ CreateMeshesFromINP()

SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromINP ( const char *  theFileName,
SMESH::DriverMED_ReadStatus theStatus 
)
overrideinherited

◆ CreateMeshesFromMAIL()

SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromMAIL ( const char *  theFileName,
SMESH::DriverMED_ReadStatus theStatus 
)
inherited

SMESH_Gen_i::CreateMeshFromMED.

Create mesh and import data from MED file

References SMESH_Gen_i::CreateMeshesFromMEDConverterInMedcoupling().

◆ CreateMeshesFromMED()

◆ CreateMeshesFromMEDConverterInMedcoupling()

SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromMEDConverterInMedcoupling ( const char *  theFileName,
SMESH::DriverMED_ReadStatus theStatus,
const std::string &  converterPyFuncName 
)
privateinherited

◆ CreateMeshesFromMESHIO()

◆ CreateMeshesFromSTL()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromSTL ( const char *  theFileName)
inherited

◆ CreateMeshesFromUNV()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromUNV ( const char *  theFileName)
inherited

◆ CreateMG_ADAPT()

SMESH::MG_ADAPT_ptr SMESH_Gen_i::CreateMG_ADAPT ( )
inherited

SMESH_Gen_i::CreateMG_ADAPT.

Create measurement instance

◆ createParallelMesh()

SMESH::SMESH_ParallelMesh_ptr SMESH_Gen_i::createParallelMesh ( )
privateinherited

◆ CreateParallelMesh()

SMESH::SMESH_ParallelMesh_ptr SMESH_Gen_i::CreateParallelMesh ( GEOM::GEOM_Object_ptr  theShapeObject)
inherited

◆ DumpPython()

Engines::TMPFile * SMESH_Gen_i::DumpPython ( CORBA::Boolean  isPublished,
CORBA::Boolean  isMultiFile,
CORBA::Boolean &  isValidScript 
)
virtualinherited

◆ DumpPython_impl()

TCollection_AsciiString SMESH_Gen_i::DumpPython_impl ( Resource_DataMapOfAsciiStringAsciiString &  theObjectNames,
Resource_DataMapOfAsciiStringAsciiString &  theNames,
bool  isPublished,
bool  isMultiFile,
bool  isHistoricalDump,
bool aValidScript,
TCollection_AsciiString &  theSavedTrace 
)
inherited

Creates a Dump Python script.

Parameters
[in,out]theObjectNames- map of an entry to a study and python name
[in]theNames- - map of an entry to a study name
[in]isPublished- true if dump of object publication in study is needed
[in]isMultiFile- true if dump of each module goes to a separate file
[in]isHistoricalDump- true if removed object should be dumped
[out]aValidScript- returns true if the returned script seems valid
[in,out]theSavedTrace- the dump stored in the study. It's cleared to decrease memory usage.
Returns
TCollection_AsciiString - the result dump script.

References SMESH_Gen_i::ComponentDataType(), SMESH_2smeshpy::ConvertScript(), SMESH::TPythonDump::CutoutLongString(), end(), SMESH_2smeshpy::GenName(), SMESH_Gen_i::GetGeomEngine(), SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::Handle(), SMESH::TPythonDump::NotPublishedObjectName(), SMESH::printException(), SMESH::TVar::Quote(), SMESH_CATCH, SMESH_TRY, SMESH::TPythonDump::SMESHGenName(), and SMESH_2smeshpy::SmeshpyName().

Referenced by SMESH_Gen_i::DumpPython().

◆ Evaluate()

SMESH::smIdType_array * SMESH_Gen_i::Evaluate ( SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShapeObject 
)
inherited

◆ FindGeometryByMeshElement()

GEOM::GEOM_Object_ptr SMESH_Gen_i::FindGeometryByMeshElement ( SMESH::SMESH_Mesh_ptr  theMesh,
SMESH::smIdType  theElementID 
)
inherited

Return geometrical object the given element is built on.

Parameters
theMesh- the mesh the element is in
theElementID- the element ID
Return values
GEOM::GEOM_Object_ptr- the found or created (UnRegister()!) geom object

References SMDS_Mesh::FindElement(), SMESH_Gen_i::GeomObjectToShape(), SMESH_Gen_i::GetGeomEngine(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), SMESH_Gen_i::getStudyServant(), SMESHDS_Mesh::IndexToShape(), SMESH_Gen_i::ObjectToSObject(), SMESH_Gen_i::ShapeToGeomObject(), and SMESH_Gen_i::SObjectToObject().

Referenced by SMESH_Gen_i::GetGeometryByMeshElement().

◆ GeomObjectToShape()

TopoDS_Shape SMESH_Gen_i::GeomObjectToShape ( GEOM::GEOM_Object_ptr  theGeomObject)
staticinherited

References SMESH_Gen_i::GetGeomEngine(), SMESH_Gen_i::GetShapeReader(), and SMESH_Gen_i::mySMESHGen.

Referenced by SMESH_Mesh_i::addHypothesis(), SMESH_Gen_i::AddHypothesisToShape(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_Pattern_i::ApplyTo3DBlock(), SMESH_Pattern_i::ApplyToFace(), SMESH_Gen_i::CancelCompute(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Gen_i::Compute(), StdMeshers_CartesianParameters3D_i::ComputeOptimalAxesDirs(), SMESH_Mesh_i::CreateGroupFromGEOM(), SMESH_MeshEditor_i::CreateHoleSkin(), SMESH_Mesh_i::createSubMesh(), SMESH_MeshEditor_i::DoubleNodeElemGroupInRegion(), SMESH_MeshEditor_i::DoubleNodeElemGroupsInRegion(), SMESH_MeshEditor_i::DoubleNodeElemInRegion(), SMESH_Gen_i::Evaluate(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_Gen_i::FindGeometryByMeshElement(), SMESH_Gen_i::GetAlgoState(), SMESH_Gen_i::GetComputeErrors(), SMESH_Mesh_i::GetHypothesisList(), SMESH_Gen_i::GetHypothesisParameterValues(), SMESH_Gen_i::GetInside(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), getShapeByID(), getShapeByName(), SMESH_Mesh_i::GetSubMesh(), SMESH_Gen_i::GetSubShapesId(), SMESH_Gen_i::IsApplicable(), SMESH_Gen_i::IsReadyToCompute(), SMESH_MeshEditor_i::LinearAnglesVariation(), SMESH_Gen_i::Load(), SMESH_Pattern_i::LoadFrom3DBlock(), SMESH_Pattern_i::LoadFromFace(), SMESH_Mesh_i::newGroupShape(), SMESH_Gen_i::Precompute(), SMESH_Mesh_i::removeHypothesis(), SMESH::BelongToGeom_i::SetGeom(), SMESH::LyingOnGeom_i::SetGeom(), SMESH_Mesh_i::SetShape(), SMESH::BelongToSurface_i::SetSurface(), SMESH::BelongToGenSurface_i::SetSurface(), and SMESH::ConnectedElements_i::SetVertex().

◆ Get0DElementsGroupsTag()

long SMESH_Gen_i::Get0DElementsGroupsTag ( )
staticinherited

◆ GetAlgorithmsRootTag()

long SMESH_Gen_i::GetAlgorithmsRootTag ( )
staticinherited

◆ GetAlgoSO()

◆ GetAlgoState()

SMESH::algo_error_array * SMESH_Gen_i::GetAlgoState ( SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theSubObject 
)
inherited

◆ GetAllParameters()

std::vector< std::string > SMESH_Gen_i::GetAllParameters ( const std::string &  theObjectEntry) const
inherited

Return all variables used to create an object.

Parameters
[in]theObjectEntry- an object entry in the current study
Returns
std::vector< std::string > - all variable names (or values of removed variables)

References SMESH_Gen_i::getStudyServant().

Referenced by SMESH_NoteBook::InitObjectMap().

◆ GetBadInputElements()

SMESH::MeshPreviewStruct * SMESH_Gen_i::GetBadInputElements ( SMESH::SMESH_Mesh_ptr  theMesh,
CORBA::Short  theSubShapeID 
)
inherited

◆ GetBallElementsGroupsTag()

long SMESH_Gen_i::GetBallElementsGroupsTag ( )
staticinherited

◆ GetComputeErrors()

◆ GetEdgeGroupsTag()

long SMESH_Gen_i::GetEdgeGroupsTag ( )
staticinherited

◆ GetFaceGroupsTag()

long SMESH_Gen_i::GetFaceGroupsTag ( )
staticinherited

◆ GetGeomEngine() [1/2]

GEOM::GEOM_Gen_var SMESH_Gen_No_Session_i::GetGeomEngine ( bool  isShaper)
overridevirtual

Implements SMESH_Gen_i.

References SMESH_Gen_i::myGeomGen.

◆ GetGeomEngine() [2/2]

GEOM::GEOM_Gen_var SMESH_Gen_i::GetGeomEngine ( GEOM::GEOM_Object_ptr  go)
staticinherited

◆ GetGeometryByMeshElement()

GEOM::GEOM_Object_ptr SMESH_Gen_i::GetGeometryByMeshElement ( SMESH::SMESH_Mesh_ptr  theMesh,
SMESH::smIdType  theElementID,
const char *  theGeomName 
)
inherited

Return geometrical object the given element is built on.

Parameters
theMesh- the mesh the element is in
theElementID- the element ID
theGeomName- the name of the result geom object if it is not yet published
Return values
GEOM::GEOM_Object_ptr- the found or just published geom object (no need to UnRegister())

References SMESH_Gen_i::FindGeometryByMeshElement(), SMESH_Gen_i::GetGeomEngine(), SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::ObjectToSObject(), and SMESH_Gen_i::SObjectToObject().

◆ GetGeomObjectByEntry()

GEOM::GEOM_Object_ptr SMESH_Gen_i::GetGeomObjectByEntry ( const std::string &  entry)
staticinherited

Get GEOM Object by its study entry.

References SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::mySMESHGen, and SMESH_Gen_i::SObjectToObject().

Referenced by SMESH_Gen_i::Load().

◆ getHypothesisCreator()

GenericHypothesisCreator_i * SMESH_Gen_i::getHypothesisCreator ( const char *  theHypName,
const char *  theLibName,
std::string &  thePlatformLibName 
)
privateinherited

◆ GetHypothesisParameterValues()

SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::GetHypothesisParameterValues ( const char *  theHypType,
const char *  theLibName,
SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theGeom,
const SMESH::HypInitParams theParams 
)
inherited

◆ GetHypothesisRootTag()

long SMESH_Gen_i::GetHypothesisRootTag ( )
staticinherited

Get...Tag [ static ].

Methods which determine SMESH data model structure

References SMESH::Tag_HypothesisRoot.

Referenced by SMESH_Mesh_i::onHypothesisModified(), SMESH_Gen_i::PublishHypothesis(), and SMESH_Gen_i::Save().

◆ GetInside()

SMESH::long_array * SMESH_Gen_i::GetInside ( SMESH::SMESH_IDSource_ptr  meshPart,
SMESH::ElementType  theElemType,
GEOM::GEOM_Object_ptr  theGeom,
CORBA::Double  theTolerance 
)
inherited

Collect indices of elements, which are located inside the geom object.

References SMESH_Gen_i::_GetInside(), and SMESH_Gen_i::GeomObjectToShape().

◆ GetInsideBox()

SMESH::long_array * SMESH_Gen_i::GetInsideBox ( SMESH::SMESH_IDSource_ptr  meshPart,
SMESH::ElementType  theElemType,
CORBA::Double  theX1,
CORBA::Double  theY1,
CORBA::Double  theZ1,
CORBA::Double  theX2,
CORBA::Double  theY2,
CORBA::Double  theZ2 
)
inherited

Collect indices of elements, which are located inside the box.

References SMESH_Gen_i::_GetInside().

◆ GetInsideCylinder()

SMESH::long_array * SMESH_Gen_i::GetInsideCylinder ( SMESH::SMESH_IDSource_ptr  meshPart,
SMESH::ElementType  theElemType,
CORBA::Double  theX,
CORBA::Double  theY,
CORBA::Double  theZ,
CORBA::Double  theDX,
CORBA::Double  theDY,
CORBA::Double  theDZ,
CORBA::Double  theH,
CORBA::Double  theR 
)
inherited

Collect indices of elements, which are located inside the cylinder.

References SMESH_Gen_i::_GetInside().

◆ GetInsideSphere()

SMESH::long_array * SMESH_Gen_i::GetInsideSphere ( SMESH::SMESH_IDSource_ptr  meshPart,
SMESH::ElementType  theElemType,
CORBA::Double  theX,
CORBA::Double  theY,
CORBA::Double  theZ,
CORBA::Double  theR 
)
inherited

Collect indices of elements, which are located inside the sphere.

References SMESH_Gen_i::_GetInside().

◆ GetLastObjEntry()

const std::string & SMESH_Gen_i::GetLastObjEntry ( ) const
inherited

◆ GetLastParameters()

const std::vector< std::string > & SMESH_Gen_i::GetLastParameters ( ) const
inherited

◆ GetLastParamIndices()

const std::vector< int > & SMESH_Gen_i::GetLastParamIndices ( ) const
inherited

◆ GetLCC()

SALOME_LifeCycleCORBA * SMESH_Gen_i::GetLCC ( )
staticinherited

GetLCC [ static ].

Get SALOME_LifeCycleCORBA object

References SMESH_Gen_i::GetNS(), and SMESH_Gen_i::myLCC.

Referenced by SMESH_Gen_Session_i::GetGeomEngine().

◆ GetMEDFileVersion()

char * SMESH_Gen_i::GetMEDFileVersion ( )
inherited

Get version of MED format being used.

References MED::GetVersionRelease().

◆ GetMEDVersion()

char * SMESH_Gen_i::GetMEDVersion ( const char *  theFileName)
inherited

SMESH_Gen_i::GetMEDVersion.

Get MED version of the file by its name

References MED::GetMEDVersion().

◆ GetMeshNames()

SMESH::string_array * SMESH_Gen_i::GetMeshNames ( const char *  theFileName)
inherited

SMESH_Gen_i::GetMeshNames.

Get names of meshes defined in file with the specified name

References MED::CrWrapperR().

◆ GetMeshOrSubmeshByShape()

◆ getModuleCatalog()

SALOME_ModuleCatalog::ModuleCatalog_var SMESH_Gen_No_Session_i::getModuleCatalog ( ) const
overridevirtual

Implements SMESH_Gen_i.

◆ GetNewPythonLines()

TCollection_AsciiString SMESH_Gen_i::GetNewPythonLines ( )
inherited

GetNewPythonLines.

References SMESH_Gen_i::Handle().

Referenced by SMESH_Gen_i::SavePython().

◆ GetNodeGroupsTag()

long SMESH_Gen_i::GetNodeGroupsTag ( )
staticinherited

◆ GetNS()

SALOME_NamingService_Abstract * SMESH_Gen_i::GetNS ( )
staticinherited

◆ GetObjectByOldId()

template<class TInterface >
TInterface::_var_type SMESH_Gen_i::GetObjectByOldId ( const int  oldID)
inherited

◆ GetObjectId()

CORBA::Long SMESH_Gen_i::GetObjectId ( CORBA::Object_ptr  theObject)
inherited

Return id of registered object.

Parameters
theObject- the Object
Return values
int- Object id

References StudyContext::findId(), SMESH_Gen_i::GetORB(), and SMESH_Gen_i::myStudyContext.

◆ getObjectInfo()

char * SMESH_Gen_i::getObjectInfo ( const char *  entry)
inherited

◆ GetOption()

char * SMESH_Gen_i::GetOption ( const char *  name)
virtualinherited

◆ GetORB()

◆ GetParameters()

char * SMESH_Gen_i::GetParameters ( CORBA::Object_ptr  theObject)
inherited

◆ GetPattern()

SMESH::SMESH_Pattern_ptr SMESH_Gen_i::GetPattern ( )
inherited

SMESH_Gen_i::GetPattern.

Create pattern mapper

◆ GetPOA()

◆ GetRefOnAppliedAlgorithmsTag()

long SMESH_Gen_i::GetRefOnAppliedAlgorithmsTag ( )
staticinherited

◆ GetRefOnAppliedHypothesisTag()

long SMESH_Gen_i::GetRefOnAppliedHypothesisTag ( )
staticinherited

◆ GetRefOnShapeTag()

◆ GetServant()

◆ GetShapeReader()

◆ GetSMESHGen()

static SMESH_Gen_i * SMESH_Gen_i::GetSMESHGen ( )
staticinherited

Referenced by _pyGen::_pyGen(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH::MG_ADAPT_i::compute(), StdMeshers_CartesianParameters3D_i::ComputeOptimalAxesDirs(), SMESH_Mesh_i::ConvertToStandalone(), SMESH_Gen_i::CountInPyDump(), SMESH_MeshEditor_i::CreateHoleSkin(), SMESHGUI_MeshOp::createMesh(), SMESHHOMARD_I::HOMARD_Gen_i::DeleteResultInSmesh(), SMESH_MeshEditor_i::DoubleNodeElemGroupInRegion(), SMESH_MeshEditor_i::DoubleNodeElemGroupsInRegion(), SMESH_MeshEditor_i::DoubleNodeElemInRegion(), StdMeshers_ObjRefUlils::EntryOrShapeToGeomObject(), StdMeshers_ObjRefUlils::EntryToShape(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Mesh_i::generateMeshName(), StdMeshers_ObjRefUlils::GeomObjectToShape(), StdMeshersGUI_SubShapeSelectorWdg::GetGeomObjectByEntry(), SMESH::BelongToMeshGroup_i::GetGroup(), SMESH_Mesh_i::GetLastParameters(), SMESH_Mesh_i::GetParameters(), SMESH_NoteBook::GetReal(), getShapeByID(), getShapeByName(), SMESH_Hypothesis_i::GetVarParameter(), SMESH_NoteBook::InitObjectMap(), SMESH_Hypothesis_i::IsPublished(), SMESH_MeshEditor_i::LinearAnglesVariation(), StdMeshers_LayerDistribution_i::LoadFrom(), StdMeshers_ObjRefUlils::LoadFromStream(), StdMeshers_ObjRefUlils::LoadObjectFromStream(), SMESH_MeshEditor_i::MakeBoundaryElements(), SMESH_MeshEditor_i::makeMesh(), SMESH_MeshEditor_i::Offset(), SMESH::TPythonDump::operator<<(), SMESH_Mesh_i::prepareMeshNameAndGroups(), SMESHHOMARD_I::HOMARD_Gen_i::PublishResultInSmesh(), SMESHHOMARD_I::HOMARD_Gen_i::PythonDump(), SMESH_Mesh_i::RemoveGroup(), SMESH_PreMeshInfo::RemoveStudyFiles_TMP_METHOD(), SMESH_NoteBook::ReplaceVariables(), StdMeshers_ImportSource1D_i::SaveTo(), StdMeshers_ImportSource2D_i::SaveTo(), StdMeshers_ObjRefUlils::SaveToStream(), SMESH::BelongToGeom_i::SetGeom(), SMESH::LyingOnGeom_i::SetGeom(), SMESH::BelongToMeshGroup_i::SetGroupID(), StdMeshers_LayerDistribution_i::SetLayerDistribution(), SMESH_Hypothesis_i::setOldParameters(), SMESH_Mesh_i::SetParameters(), StdMeshers_ImportSource1D_i::SetSourceEdges(), StdMeshers_ImportSource2D_i::SetSourceFaces(), SMESH::BelongToSurface_i::SetSurface(), SMESH::BelongToGenSurface_i::SetSurface(), SMESH::ConnectedElements_i::SetThreshold(), SMESH_Hypothesis_i::SetVarParameter(), SMESH::ConnectedElements_i::SetVertex(), StdMeshers_ObjRefUlils::ShapeToGeomObject(), SPADDERPluginTester_i::testsmesh(), and SMESH::TPythonDump::~TPythonDump().

◆ GetSoleSubMeshUsingHyp()

CORBA::Boolean SMESH_Gen_i::GetSoleSubMeshUsingHyp ( SMESH::SMESH_Hypothesis_ptr  theHyp,
SMESH::SMESH_Mesh_out  theMesh,
GEOM::GEOM_Object_out  theShape 
)
inherited

Returns True if a hypothesis is assigned to a sole sub-mesh in a current Study.

Parameters
[in]theHyp- the hypothesis of interest
[out]theMesh- the sole mesh using theHyp
[out]theShape- the sole geometry theHyp is assigned to
Returns
boolean - True if theMesh and theShape are sole using theHyp

If two meshes on same shape have theHyp assigned to the same sub-shape, they are considered as SAME sub-mesh => result is true. This method ids used to initialize SMESHGUI_GenericHypothesisCreator with a shape to which an hyp being edited is assigned.

References SMESH_Gen_i::ComponentDataType(), SMESHDS_Mesh::GetHypotheses(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh_i::GetShapeToMesh(), SMESH_Gen_i::getStudyServant(), SMESH_Mesh_i::HasShapeToMesh(), SMESH_Gen_i::ShapeToGeomObject(), and SMESH_Gen_i::SObjectToObject().

◆ GetStudyContext()

StudyContext * SMESH_Gen_i::GetStudyContext ( )
inherited

◆ getStudyServant()

SALOMEDS::Study_var SMESH_Gen_i::getStudyServant ( ) const
inherited

Referenced by _pyGen::_pyGen(), SMESH_Gen_i::addReference(), SMESH_Gen_i::CanPublishInStudy(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::ConvertToStandalone(), SMESH_Gen_i::CountInPyDump(), SMESH_Gen_i::CreateEmptyMesh(), SMESH_Gen_i::createInvalidSubMesh(), SMESH_Gen_i::CreateMesh(), SMESH_Gen_i::CreateMeshesFromCGNS(), SMESH_Gen_i::CreateMeshesFromGMF(), SMESH_Gen_i::CreateMeshesFromMED(), SMESH_Gen_i::CreateMeshesFromMESHIO(), SMESH_Gen_i::CreateMeshesFromSTL(), SMESH_Gen_i::CreateMeshesFromUNV(), SMESH_Gen_i::CreateParallelMesh(), SMESHHOMARD_I::HOMARD_Gen_i::DeleteResultInSmesh(), SMESH_Gen_i::DumpPython(), SMESH_Gen_i::DumpPython_impl(), StdMeshers_ObjRefUlils::EntryOrShapeToGeomObject(), StdMeshers_ObjRefUlils::EntryToShape(), SMESH_Gen_i::FindGeometryByMeshElement(), SMESH_Mesh_i::generateMeshName(), SMESH_Gen_i::GetAlgoSO(), SMESH_Gen_i::GetAllParameters(), SMESH_Gen_i::GetGeometryByMeshElement(), StdMeshersGUI_SubShapeSelectorWdg::GetGeomObjectByEntry(), SMESH_Gen_i::GetGeomObjectByEntry(), SMESH_Mesh_i::GetLastParameters(), SMESH_Gen_i::getObjectInfo(), SMESH_NoteBook::GetReal(), getShapeByID(), getShapeByName(), SMESH_Mesh_i::GetShapeToMesh(), SMESH_Gen_i::GetSoleSubMeshUsingHyp(), SMESH_Gen_i::highLightInvalid(), SMESH_NoteBook::InitObjectMap(), SMESH_Gen_i::IsInvalid(), SMESH_Gen_i::Load(), StdMeshers_ObjRefUlils::LoadFromStream(), SMESH_Gen_i::Move(), SMESH_Mesh_i::newGroupShape(), SMESH_Gen_i::ObjectToSObject(), SMESH_MeshEditor_i::Offset(), SMESH_Mesh_i::onHypothesisModified(), SMESH_Mesh_i::prepareMeshNameAndGroups(), SMESH_Gen_i::publish(), SMESH_Gen_i::PublishComponent(), SMESHHOMARD_I::HOMARD_Gen_i::PublishResultInSmesh(), SMESH_Gen_i::PublishSubMesh(), SMESH_Gen_i::ReloadMeshesFromCGNS(), SMESH_Gen_i::ReloadMeshesFromGMF(), SMESH_Gen_i::ReloadMeshesFromMED(), SMESH_Gen_i::ReloadMeshesFromMESHIO(), SMESH_Gen_i::ReloadMeshesFromSTL(), SMESH_Gen_i::ReloadMeshesFromUNV(), SMESH_Gen_i::ReloadMeshFromFile(), SMESH_Mesh_i::RemoveGroup(), SMESH_Gen_i::RemoveHypothesisFromShape(), SMESH_PreMeshInfo::RemoveStudyFiles_TMP_METHOD(), SMESH_Mesh_i::RemoveSubMesh(), SMESH_Mesh_i::ReplaceShape(), SMESH_NoteBook::ReplaceVariables(), SMESH_Gen_i::Save(), SMESH_Gen_i::SavePython(), StdMeshers_ImportSource1D_i::SaveTo(), StdMeshers_ImportSource2D_i::SaveTo(), SMESH::BelongToMeshGroup_i::SetGroupID(), StdMeshers_LayerDistribution_i::SetLayerDistribution(), SMESH_Gen_i::SetName(), SMESH_Gen_i::SetPixMap(), SMESH::ConnectedElements_i::SetThreshold(), SMESH_Gen_i::UpdateIcons(), SMESH_Gen_i::UpdateParameters(), and SMESH_Gen_i::UpdateStudy().

◆ getStudyServantVirtual()

SALOMEDS::Study_var SMESH_Gen_No_Session_i::getStudyServantVirtual ( ) const
overridevirtual

Implements SMESH_Gen_i.

◆ GetSubMeshOnCompoundTag()

long SMESH_Gen_i::GetSubMeshOnCompoundTag ( )
staticinherited

◆ GetSubMeshOnEdgeTag()

long SMESH_Gen_i::GetSubMeshOnEdgeTag ( )
staticinherited

◆ GetSubMeshOnFaceTag()

long SMESH_Gen_i::GetSubMeshOnFaceTag ( )
staticinherited

◆ GetSubMeshOnShellTag()

long SMESH_Gen_i::GetSubMeshOnShellTag ( )
staticinherited

◆ GetSubMeshOnSolidTag()

long SMESH_Gen_i::GetSubMeshOnSolidTag ( )
staticinherited

◆ GetSubMeshOnVertexTag()

long SMESH_Gen_i::GetSubMeshOnVertexTag ( )
staticinherited

◆ GetSubMeshOnWireTag()

long SMESH_Gen_i::GetSubMeshOnWireTag ( )
staticinherited

◆ GetSubShapesId()

SMESH::long_array * SMESH_Gen_i::GetSubShapesId ( GEOM::GEOM_Object_ptr  theMainShapeObject,
const SMESH::object_array theListOfSubShapeObject 
)
inherited

SMESH_Gen_i::GetSubShapesId.

Get sub-shapes unique ID's list

References Edge, Face, SMESH_Gen_i::GeomObjectToShape(), and MESSAGE.

◆ getVersion()

char * SMESH_Gen_i::getVersion ( )
virtualinherited

◆ GetVolumeGroupsTag()

long SMESH_Gen_i::GetVolumeGroupsTag ( )
staticinherited

◆ Handle()

SMESH_Gen_i::Handle ( TColStd_HSequenceOfAsciiString  )
privateinherited

◆ hasObjectInfo()

bool SMESH_Gen_i::hasObjectInfo ( )
inherited

◆ HighLightInvalid()

void SMESH_Gen_i::HighLightInvalid ( CORBA::Object_ptr  theObject,
bool  isInvalid 
)
inherited

◆ highLightInvalid()

void SMESH_Gen_i::highLightInvalid ( SALOMEDS::SObject_ptr  theSObject,
bool  isInvalid 
)
privateinherited

◆ IORToLocalPersistentID()

char * SMESH_Gen_i::IORToLocalPersistentID ( SALOMEDS::SObject_ptr  theSObject,
const char *  IORString,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII 
)
inherited

SMESH_Gen_i::IORToLocalPersistentID.

Transform data from transient form to persistent

References StudyContext::findId(), MESSAGE, and SMESH_Gen_i::myStudyContext.

◆ IsApplicable()

CORBA::Boolean SMESH_Gen_i::IsApplicable ( const char *  theAlgoType,
const char *  theLibName,
GEOM::GEOM_Object_ptr  theShapeObject,
CORBA::Boolean  toCheckAll 
)
inherited

◆ IsEmbeddedMode()

CORBA::Boolean SMESH_Gen_i::IsEmbeddedMode ( )
inherited

◆ IsEnablePublish()

CORBA::Boolean SMESH_Gen_i::IsEnablePublish ( )
inherited

SMESH_Gen_i::IsEnablePublish.

Check enable publishing

References SMESH_Gen_i::myIsEnablePublish.

◆ isGeomModifIcon()

bool SMESH_Gen_i::isGeomModifIcon ( SMESH::SMESH_Mesh_ptr  mesh)
privateinherited

Return true if mesh has ICON_SMESH_TREE_GEOM_MODIF icon.

References SMESH_Gen_i::ObjectToSObject().

Referenced by SMESH_Gen_i::Compute(), and SMESH_Gen_i::getObjectInfo().

◆ IsInvalid()

bool SMESH_Gen_i::IsInvalid ( SALOMEDS::SObject_ptr  theObject)
inherited

◆ IsReadyToCompute()

CORBA::Boolean SMESH_Gen_i::IsReadyToCompute ( SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShapeObject 
)
inherited

◆ Load()

bool SMESH_Gen_i::Load ( SALOMEDS::SComponent_ptr  theComponent,
const SALOMEDS::TMPFile &  theStream,
const char *  theURL,
bool  isMultiFile 
)
inherited

SMESH_Gen_i::Load.

Load SMESH module's data

References SMESH_Mesh_i::addHypothesis(), SMESH_Mesh_i::createGroup(), SMESH_Gen_i::createHypothesis(), SMESH_Gen_i::createMesh(), SMESH_Mesh_i::createSubMesh(), SMESH_Mesh_i::FileInfoFromString(), StudyContext::findId(), SMESH_Gen_i::GeomObjectToShape(), SMESHUtils::ArrayDeleter< TOBJ >::get(), SMESH_Gen_i::Get0DElementsGroupsTag(), SMESH_Gen_i::GetBallElementsGroupsTag(), SMESH_Gen_i::GetEdgeGroupsTag(), SMESH_Gen_i::GetFaceGroupsTag(), SMESH_Gen_i::GetGeomObjectByEntry(), SMESH_GroupBase_i::GetGroupDS(), SMESH_Mesh_i::GetImpl(), StudyContext::getIORbyOldId(), SMESH_Mesh::GetMeshDS(), SMESH_Gen_i::GetNodeGroupsTag(), StudyContext::getOldId(), SMESH_Gen_i::GetORB(), SMESH_GroupOnFilter_i::GetPredicate(), SMESH_Gen_i::GetServant(), SMESH_Mesh_i::GetShapeToMesh(), SMESH_Mesh::GetShapeToMesh(), SMESH_Gen_i::getStudyServant(), SMESH_Mesh::GetSubMesh(), SMESH_Gen_i::GetSubMeshOnCompoundTag(), SMESH_Gen_i::GetSubMeshOnEdgeTag(), SMESH_Gen_i::GetSubMeshOnFaceTag(), SMESH_Gen_i::GetSubMeshOnShellTag(), SMESH_Gen_i::GetSubMeshOnSolidTag(), SMESH_Gen_i::GetSubMeshOnVertexTag(), SMESH_Gen_i::GetSubMeshOnWireTag(), SMESH_Gen_i::GetVolumeGroupsTag(), SMESH_Mesh_i::HasShapeToMesh(), SMESH_Mesh::HasShapeToMesh(), SMESH_Hypothesis_i::LoadFrom(), SMESH_PreMeshInfo::LoadFromFile(), SMESH_Mesh_i::MainShapeTick(), StudyContext::mapOldToNew(), MESSAGE, SMESH_Gen_i::myStudyContext, SMESH_Mesh::PseudoShape(), SMESH_Mesh::SetAutoColor(), SMESHDS_GroupBase::SetColor(), SMESH_Mesh::SetMeshOrder(), SMESHDS_Mesh::SetPersistentId(), SMESH_Mesh_i::SetShape(), SMESHDS_GroupBase::SetStoreName(), SMESH_Gen_i::SObjectToObject(), SMESH_GroupOnFilter_i::StringToFilter(), SMESH_subMesh::SUBMESH_RESTORED, SMESH_Hypothesis_i::UpdateAsMeshesRestored(), and SMESH_Gen_i::UpdateStudy().

Referenced by SMESH_Gen_i::LoadASCII().

◆ LoadASCII()

bool SMESH_Gen_i::LoadASCII ( SALOMEDS::SComponent_ptr  theComponent,
const SALOMEDS::TMPFile &  theStream,
const char *  theURL,
bool  isMultiFile 
)
inherited

SMESH_Gen_i::LoadASCII.

Load SMESH module's data in ASCII format

References SMESH_Gen_i::Load(), and MESSAGE.

◆ LocalPersistentIDToIOR()

char * SMESH_Gen_i::LocalPersistentIDToIOR ( SALOMEDS::SObject_ptr  theSObject,
const char *  aLocalPersistentID,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII 
)
inherited

SMESH_Gen_i::LocalPersistentIDToIOR.

Transform data from persistent form to transient

References StudyContext::getIORbyOldId(), MESSAGE, and SMESH_Gen_i::myStudyContext.

◆ MakeGroupsOfBadInputElements()

SMESH::ListOfGroups * SMESH_Gen_i::MakeGroupsOfBadInputElements ( SMESH::SMESH_Mesh_ptr  theMesh,
CORBA::Short  theSubShapeID,
const char *  theGroupName 
)
inherited

Create a group of elements preventing computation of a sub-shape.

◆ Move()

void SMESH_Gen_i::Move ( const SMESH::sobject_list what,
SALOMEDS::SObject_ptr  where,
CORBA::Long  row 
)
inherited

◆ ObjectToSObject()

SALOMEDS::SObject_ptr SMESH_Gen_i::ObjectToSObject ( CORBA::Object_ptr  theObject)
inherited

References SMESH_Gen_i::GetORB(), and SMESH_Gen_i::getStudyServant().

Referenced by SMESH_Mesh_i::addGeomGroupData(), SMESH_Gen_i::AddHypothesisToShape(), SMESH_Gen_i::addReference(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::checkGroupNames(), SMESH_Gen_i::ConcatenateCommon(), SMESH_Mesh_i::ConvertToStandalone(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Gen_i::CreateDualMesh(), SMESHGUI_MeshOp::createMesh(), SMESH_Mesh_i::ExportCGNS(), SMESH_Mesh_i::ExportPartToMEDCommon(), SMESH_Mesh_i::ExportPartToSTL(), SMESH_Mesh_i::ExportSTL(), SMESH_Mesh_i::ExportStructuredCGNS(), SMESH_Gen_i::FindGeometryByMeshElement(), SMESH_Mesh_i::generateMeshName(), SMESH_Gen_i::GetGeometryByMeshElement(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), SMESH_Gen_i::GetParameters(), SMESH_Gen_i::HighLightInvalid(), SMESH_Mesh_i::ImportSTLFile(), SMESH_Gen_i::isGeomModifIcon(), SMESH_Hypothesis_i::IsPublished(), SMESH_MeshEditor_i::makeMesh(), SMESH_Mesh_i::newGroupShape(), SMESH_MeshEditor_i::Offset(), SMESH::TPythonDump::operator<<(), SMESH_Mesh_i::prepareMeshNameAndGroups(), SMESH_Gen_i::publish(), SMESH_Gen_i::PublishGroup(), SMESH_Gen_i::PublishHypothesis(), SMESH_Gen_i::PublishMesh(), SMESH_Gen_i::PublishSubMesh(), SMESH_Mesh_i::RemoveGroup(), SMESH_Gen_i::RemoveHypothesisFromShape(), SMESH_Mesh_i::RemoveSubMesh(), SMESH_Mesh_i::ReplaceShape(), SMESH_Gen_i::Save(), SMESH_GroupBase_i::SetName(), SMESH_Gen_i::SetName(), StdMeshers_ImportSource1D_i::SetSourceEdges(), StdMeshers_ImportSource2D_i::SetSourceFaces(), SMESH_Gen_i::UpdateGroupIcon(), SMESH_Gen_i::UpdateIcons(), and SMESH_Gen_i::UpdateParameters().

◆ PasteInto()

SALOMEDS::SObject_ptr SMESH_Gen_i::PasteInto ( const SALOMEDS::TMPFile &  ,
CORBA::Long  ,
SALOMEDS::SObject_ptr   
)
inherited

◆ PausePythonDumpRecording()

void SMESH_Gen_i::PausePythonDumpRecording ( )
inherited

SMESH_Gen_i::PausePythonDumpRecording.

CORBA wrapper to increment TPythonDump suppression counter (myCounter). Called from Python plugins to pause the record of intermediate operations.

References SMESH::TPythonDump::IncrementMyCounter().

◆ Precompute()

◆ publish()

SALOMEDS::SObject_ptr SMESH_Gen_i::publish ( CORBA::Object_ptr  theIOR,
SALOMEDS::SObject_ptr  theFatherObject,
const int  theTag = 0,
const char *  thePixMap = 0,
const bool  theSelectable = true 
)
inherited

◆ PublishComponent()

◆ PublishGroup()

◆ PublishHypothesis()

◆ PublishInStudy()

SALOMEDS::SObject_ptr SMESH_Gen_i::PublishInStudy ( SALOMEDS::SObject_ptr  theSObject,
CORBA::Object_ptr  theIOR,
const char *  theName 
)
inherited

◆ PublishMesh()

◆ PublishSubMesh()

◆ RegisterObject()

◆ ReloadMeshesFromCGNS()

◆ ReloadMeshesFromGMF()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ReloadMeshesFromGMF ( const char *  theFileName,
SMESH::SMESH_Mesh_ptr  sourceMesh,
CORBA::Boolean  theMakeRequiredGroups,
SMESH::ComputeError_out  theError 
)
inherited

◆ ReloadMeshesFromMED()

◆ ReloadMeshesFromMESHIO()

◆ ReloadMeshesFromSTL()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ReloadMeshesFromSTL ( const char *  theFileName,
SMESH::SMESH_Mesh_ptr  sourceMesh 
)
inherited

◆ ReloadMeshesFromUNV()

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ReloadMeshesFromUNV ( const char *  theFileName,
SMESH::SMESH_Mesh_ptr  sourceMesh 
)
inherited

◆ ReloadMeshFromFile()

◆ RemoveHypothesisFromShape()

bool SMESH_Gen_i::RemoveHypothesisFromShape ( SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShapeObject,
SMESH::SMESH_Hypothesis_ptr  theHyp 
)
inherited

◆ RemoveLastFromPythonScript()

void SMESH_Gen_i::RemoveLastFromPythonScript ( )
inherited

RemoveLastFromPythonScript.

◆ ResumePythonDumpRecording()

void SMESH_Gen_i::ResumePythonDumpRecording ( )
inherited

SMESH_Gen_i::ResumePythonDumpRecording.

CORBA wrapper to decrement TPythonDump suppression counter (myCounter). Called from Python plugins to resume normal dump recording.

References SMESH::TPythonDump::DecrementMyCounter().

◆ Save()

SALOMEDS::TMPFile * SMESH_Gen_i::Save ( SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile 
)
inherited

SMESH_Gen_i::Save.

Save SMESH module's data

References DriverMED_W_SMESHDS_Mesh::AddGroup(), SMDS_Mesh::elementsIterator(), SMESH_Mesh_i::FileInfoToString(), StudyContext::findId(), SMESH_Gen_i::Get0DElementsGroupsTag(), SMESH_Gen_i::GetAlgorithmsRootTag(), SMESH_Mesh_i::GetAutoColor(), SMESH_Gen_i::GetBallElementsGroupsTag(), SMESH_GroupBase_i::GetColor(), SMESH_Gen_i::GetEdgeGroupsTag(), SMESH_Gen_i::GetFaceGroupsTag(), SMESH_GroupBase_i::GetGroupDS(), SMESHDS_Mesh::GetHypothesis(), SMESH_Gen_i::GetHypothesisRootTag(), SMDS_MeshElement::GetID(), SMESHDS_GroupBase::GetID(), SMESHDS_SubMesh::GetID(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetIsModified(), SMESH_GroupBase_i::GetLocalID(), SMESH_Mesh::GetMeshDS(), SMDS_Mesh::GetMeshInfo(), SMESH_Mesh::GetMeshOrder(), SMESH_GroupBase_i::GetName(), SMESH_Hypothesis_i::GetName(), SMESH_Gen_i::GetNodeGroupsTag(), SMESHDS_SubMesh::GetNodes(), SMESH_Gen_i::GetORB(), SMESHDS_Mesh::GetPersistentId(), SMDS_MeshNode::GetPosition(), SMESH_Gen_i::GetRefOnAppliedAlgorithmsTag(), SMESH_Gen_i::GetRefOnAppliedHypothesisTag(), SMESH_Gen_i::GetRefOnShapeTag(), SMESH_Gen_i::GetServant(), SMESHDS_GroupBase::GetStoreName(), SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::GetSubMeshOnCompoundTag(), SMESH_Gen_i::GetSubMeshOnEdgeTag(), SMESH_Gen_i::GetSubMeshOnFaceTag(), SMESH_Gen_i::GetSubMeshOnShellTag(), SMESH_Gen_i::GetSubMeshOnSolidTag(), SMESH_Gen_i::GetSubMeshOnVertexTag(), SMESH_Gen_i::GetSubMeshOnWireTag(), SMESH_Gen_i::GetVolumeGroupsTag(), SMESH_Mesh::HasShapeToMesh(), SMESHDS_Mesh::IndexToShape(), SMESHDS_SubMesh::IsComplexSubmesh(), SMESH_Mesh_i::MainShapeTick(), SMESHDS_Mesh::MaxShapeIndex(), SMESH_Gen_i::myStudyContext, SMDS_MeshInfo::NbElements(), SMDS_Mesh::NbNodes(), SMESHDS_SubMesh::NbNodes(), NUM_TMP_FILES, SMESH_Gen_i::ObjectToSObject(), DriverMED_W_SMESHDS_Mesh::Perform(), SMESH_Mesh::RemoveHypothesis(), SMESH_Gen_i::SavePython(), SMESH_Hypothesis_i::SaveTo(), SMESH_PreMeshInfo::SaveToFile(), DriverMED_W_SMESHDS_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), SMESHDS_GroupBase::SetStoreName(), SMESH_Gen_i::ShapeToGeomObject(), SMESH_Mesh::ShapeToMesh(), SMESHDS_Mesh::ShapeToMesh(), SMDSAbs_All, SMDSAbs_Node, SMESH_Gen_i::SObjectToObject(), SMESHDS_Mesh::SubMeshes(), and SMESH_Gen_i::UpdateStudy().

Referenced by SMESH_Gen_i::SaveASCII().

◆ SaveASCII()

SALOMEDS::TMPFile * SMESH_Gen_i::SaveASCII ( SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile 
)
inherited

SMESH_Gen_i::SaveASCII.

Save SMESH module's data in ASCII format

References MESSAGE, and SMESH_Gen_i::Save().

◆ SavePython()

◆ SetBoundaryBoxSegmentation()

void SMESH_Gen_i::SetBoundaryBoxSegmentation ( CORBA::Long  theNbSegments)
inherited

Sets number of segments per diagonal of boundary box of geometry by which default segment length of appropriate 1D hypotheses is defined.

Set number of segments per diagonal of boundary box of geometry by which default segment length of appropriate 1D hypotheses is defined.

References SMESH_Gen_i::myGen, and SMESH_Gen::SetBoundaryBoxSegmentation().

◆ SetDefaultNbSegments()

void SMESH_Gen_i::SetDefaultNbSegments ( CORBA::Long  theNbSegments)
inherited

Sets default number of segments per edge.

Set default number of segments per edge.

References SMESH_Gen_i::myGen, and SMESH_Gen::SetDefaultNbSegments().

◆ SetEmbeddedMode()

void SMESH_Gen_i::SetEmbeddedMode ( CORBA::Boolean  theMode)
inherited

◆ SetEnablePublish()

void SMESH_Gen_i::SetEnablePublish ( CORBA::Boolean  theIsEnablePublish)
inherited

◆ SetGeomEngine()

void SMESH_Gen_i::SetGeomEngine ( GEOM::GEOM_Gen_ptr  geomcompo)
inherited

SMESH_Gen_i::SetGeomEngine.

Set GEOM::GEOM_Gen reference

References SMESH_Gen_i::myGeomGen.

◆ SetName() [1/2]

◆ SetName() [2/2]

void SMESH_Gen_i::SetName ( SALOMEDS::SObject_ptr  theSObject,
const char *  theName,
const char *  theDefaultName = 0 
)
inherited

◆ SetNS()

void SMESH_Gen_i::SetNS ( SALOME_NamingService_Abstract *  ns)
staticinherited

References SMESH_Gen_i::myNS.

◆ SetOption()

void SMESH_Gen_i::SetOption ( const char *  name,
const char *  value 
)
virtualinherited

◆ SetPixMap()

◆ ShapeToGeomObject()

◆ SObjectToObject()

◆ ToForgetMeshDataOnHypModif()

bool SMESH_Gen_i::ToForgetMeshDataOnHypModif ( ) const
inherited

To load full mesh data from study at hyp modification or not.

◆ UpdateGroupIcon()

◆ UpdateIcons()

◆ UpdateParameters()

void SMESH_Gen_i::UpdateParameters ( CORBA::Object_ptr  theObject,
const char *  theParameters 
)
inherited

Stores names of variables that WILL be passes as parameters when calling some method of a given object.

Parameters
[in]theObject- the object whose a method WILL be called with theParameters.
[in]theParameters- a string containing parameters separated by ':'.

References SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::myLastObj, SMESH_Gen_i::myLastParameters, SMESH_Gen_i::myLastParamIndex, and SMESH_Gen_i::ObjectToSObject().

Referenced by SMESH_Mesh_i::SetParameters(), and SMESH::TPythonDump::~TPythonDump().

◆ UpdateStudy()

Field Documentation

◆ myDefaultGroupColor

std::string SMESH_Gen_i::myDefaultGroupColor
privateinherited

◆ myGen

◆ myGeomGen

GEOM::GEOM_Gen_var SMESH_Gen_i::myGeomGen
staticprotectedinherited

◆ myHypCreatorMap

◆ myIsEmbeddedMode

◆ myIsEnablePublish

◆ myIsHistoricalPythonDump

bool SMESH_Gen_i::myIsHistoricalPythonDump
privateinherited

◆ myLastObj

std::string SMESH_Gen_i::myLastObj
privateinherited

◆ myLastParameters

std::vector< std::string > SMESH_Gen_i::myLastParameters
privateinherited

◆ myLastParamIndex

std::vector< int > SMESH_Gen_i::myLastParamIndex
privateinherited

◆ myLCC

SALOME_LifeCycleCORBA * SMESH_Gen_i::myLCC = nullptr
staticprivateinherited

Referenced by SMESH_Gen_i::GetLCC().

◆ myNS

SALOME_NamingService_Abstract * SMESH_Gen_i::myNS = nullptr
staticprotectedinherited

◆ myOrb

CORBA::ORB_var SMESH_Gen_i::myOrb
staticprivateinherited

◆ myPoa

PortableServer::POA_var SMESH_Gen_i::myPoa
staticprivateinherited

◆ myShapeReader

GEOM_Client* SMESH_Gen_i::myShapeReader
privateinherited

◆ mySMESHGen

◆ myStudyContext

◆ myToForgetMeshDataOnHypModif

bool SMESH_Gen_i::myToForgetMeshDataOnHypModif
privateinherited