#include <SMESH_Gen_i.hxx>

Public Member Functions | |
| virtual GEOM::GEOM_Gen_var | GetGeomEngine (bool isShaper)=0 |
| SALOMEDS::Study_var | getStudyServant () const |
| virtual SALOMEDS::Study_var | getStudyServantVirtual () const =0 |
| virtual SALOME_ModuleCatalog::ModuleCatalog_var | getModuleCatalog () const =0 |
| 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) |
| SMESH_Gen_i () | |
| SMESH_Gen_i::SMESH_Gen_i. More... | |
| SMESH_Gen_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName, bool checkNS=true) | |
| SMESH_Gen_i::SMESH_Gen_i. More... | |
| virtual | ~SMESH_Gen_i () |
| SMESH_Gen_i::~SMESH_Gen_i. More... | |
| void | SetName (const char *theIOR, const char *theName) |
| SMESH_Gen_i::SetName. More... | |
| 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_array * | CreateMeshesFromMED (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) |
| SMESH_Gen_i::CreateMeshFromMED. More... | |
| SMESH::mesh_array * | ReloadMeshesFromMED (const char *theFileName, SMESH::SMESH_Mesh_ptr sourceMesh, SMESH::DriverMED_ReadStatus &theStatus) |
| SMESH::mesh_array * | CreateMeshesFromMAIL (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) |
| SMESH_Gen_i::CreateMeshFromMED. More... | |
| SMESH::mesh_array * | CreateMeshesFromINP (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) override |
| SMESH::mesh_array * | CreateMeshesFromCDB (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) override |
| SMESH::mesh_array * | CreateMeshesFromASC (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) override |
| SMESH::mesh_array * | CreateMeshesFromGEOF (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_array * | CreateMeshesFromCGNS (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) |
| Create meshes and import data from the CGSN file. More... | |
| SMESH::mesh_array * | ReloadMeshesFromCGNS (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_array * | CreateMeshesFromMESHIO (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_array * | ReloadMeshesFromMESHIO (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_array * | GetComputeErrors (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject) |
| Return errors of mesh computation. More... | |
| SMESH::smIdType_array * | Evaluate (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::MeshPreviewStruct * | Precompute (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_array * | GetAlgoState (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theSubObject) |
| Returns errors of hypotheses definition. More... | |
| SMESH::MeshPreviewStruct * | GetBadInputElements (SMESH::SMESH_Mesh_ptr theMesh, CORBA::Short theSubShapeID) |
| Return mesh elements preventing computation of a subshape. More... | |
| SMESH::ListOfGroups * | MakeGroupsOfBadInputElements (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_array * | GetSubShapesId (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_array * | GetMeshNames (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 | SetName (SALOMEDS::SObject_ptr theSObject, const char *theName, const char *theDefaultName=0) |
| void | SetPixMap (SALOMEDS::SObject_ptr theSObject, const char *thePixMap) |
| void | addReference (SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theToObject, int theTag=0) |
| StudyContext * | GetStudyContext () |
| 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_array * | GetInsideSphere (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_array * | 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) |
| Collect indices of elements, which are located inside the box. More... | |
| SMESH::long_array * | 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) |
| Collect indices of elements, which are located inside the cylinder. More... | |
| SMESH::long_array * | GetInside (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_i * | GetSMESHGen () |
| 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_array * | CreateMeshesFromMEDConverterInMedcoupling (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus, const std::string &converterPyFuncName) |
| GenericHypothesisCreator_i * | getHypothesisCreator (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 |
| StudyContext * | myStudyContext |
| 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_i * | mySMESHGen = nullptr |
| SMESH_Gen_i::SMESH_Gen_i | ( | ) |
Default constructor: not for use
| SMESH_Gen_i::SMESH_Gen_i | ( | CORBA::ORB_ptr | orb, |
| PortableServer::POA_ptr | poa, | ||
| PortableServer::ObjectId * | contId, | ||
| const char * | instanceName, | ||
| const char * | interfaceName, | ||
| bool | checkNS = true |
||
| ) |
Standard constructor, used with Container
References GetNS(), myIsEmbeddedMode, myIsEnablePublish, myIsHistoricalPythonDump, myOrb, myPoa, myShapeReader, mySMESHGen, myStudyContext, myToForgetMeshDataOnHypModif, and SetEmbeddedMode().
|
virtual |
Destructor
References myHypCreatorMap, myShapeReader, and myStudyContext.
|
private |
Collect indices of elements, which are located inside the TopoDS_Shape.
References SMESH::ALL, SMDS_Mesh::elementsIterator(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMDS_MeshElement::GetID(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), GetServant(), SMESH::Controls::ElementsOnShape::IsSatisfy(), SMESH::NODE, SMESH::Controls::ElementsOnShape::SetAllNodes(), SMESH::Controls::ElementsOnShape::SetMesh(), SMESH::Controls::ElementsOnShape::SetShape(), and SMESH::Controls::ElementsOnShape::SetTolerance().
Referenced by GetInside(), GetInsideBox(), GetInsideCylinder(), and GetInsideSphere().
| SALOME::GenericObj_ptr SMESH_Gen_i::Adaptation | ( | const char * | adaptationType | ) |
| bool SMESH_Gen_i::AddHypothesisToShape | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theShapeObject, | ||
| SMESH::SMESH_Hypothesis_ptr | theHyp | ||
| ) |
References addReference(), GeomObjectToShape(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), GetMeshOrSubmeshByShape(), GetRefOnAppliedAlgorithmsTag(), GetRefOnAppliedHypothesisTag(), SMESH_Mesh_i::getSubMesh(), MESSAGE, ObjectToSObject(), publish(), PublishHypothesis(), PublishMesh(), PublishSubMesh(), SetName(), and SMESHDS_Mesh::ShapeToIndex().
Referenced by SMESH_Mesh_i::AddHypothesis(), PublishMesh(), and PublishSubMesh().
| void SMESH_Gen_i::addReference | ( | SALOMEDS::SObject_ptr | theSObject, |
| CORBA::Object_ptr | theToObject, | ||
| int | theTag = 0 |
||
| ) |
References getStudyServant(), and ObjectToSObject().
Referenced by AddHypothesisToShape(), PublishGroup(), PublishMesh(), and PublishSubMesh().
|
virtual |
AddToPythonScript - CORBA Interface version (for Python plugins)
References AddToPythonScript(), and MESSAGE.
| void SMESH_Gen_i::AddToPythonScript | ( | const TCollection_AsciiString & | theString | ) |
AddToPythonScript - C++ Internal version.
Referenced by AddToPythonScript(), and SMESH::TPythonDump::~TPythonDump().
| void SMESH_Gen_i::CancelCompute | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theShapeObject | ||
| ) |
Cancel Compute mesh on a shape
References SMESH_Gen::CancelCompute(), GeomObjectToShape(), GetServant(), myGen, and SMESH_Mesh::PseudoShape().
| CORBA::Boolean SMESH_Gen_i::CanCopy | ( | SALOMEDS::SObject_ptr | ) |
| CORBA::Boolean SMESH_Gen_i::CanPaste | ( | const char * | , |
| CORBA::Long | |||
| ) |
| bool SMESH_Gen_i::CanPublishInStudy | ( | CORBA::Object_ptr | theIOR | ) |
SMESH_Gen_i::CanPublishInStudy.
Returns true if object can be published in the study
References getStudyServant(), MESSAGE, and myIsEnablePublish.
Referenced by CreateEmptyMesh(), SMESH_Mesh_i::CreateGroup(), SMESH_Mesh_i::CreateGroupFromFilter(), SMESH_Mesh_i::CreateGroupFromGEOM(), CreateHypothesis(), createInvalidSubMesh(), CreateMesh(), CreateMeshesFromCGNS(), CreateMeshesFromGMF(), CreateMeshesFromMED(), CreateMeshesFromMESHIO(), CreateMeshesFromSTL(), CreateMeshesFromUNV(), CreateParallelMesh(), SMESH_Mesh_i::GetSubMesh(), SMESH_Mesh_i::MakeGroupsOfBadInputElements(), SMESH::TPythonDump::operator<<(), ReloadMeshesFromCGNS(), ReloadMeshesFromGMF(), ReloadMeshesFromMED(), ReloadMeshesFromMESHIO(), ReloadMeshesFromSTL(), and ReloadMeshesFromUNV().
| CORBA::Boolean SMESH_Gen_i::CheckCompatibility | ( | const char * | theFileName | ) |
SMESH_Gen_i::CheckCompatibility.
Check compatibility of file with MED format being used, read only.
References MED::CheckCompatibility().
| CORBA::Boolean SMESH_Gen_i::CheckWriteCompatibility | ( | const char * | theFileName | ) |
SMESH_Gen_i::CheckWriteCompatibility.
Check compatibility of file with MED format being used, for append on write.
References MED::CheckCompatibility().
| void SMESH_Gen_i::CleanPythonTrace | ( | ) |
CleanPythonTrace.
Referenced by Close(), and SavePython().
| void SMESH_Gen_i::Close | ( | SALOMEDS::SComponent_ptr | theComponent | ) |
Clears study-connected data when it is closed
References CleanPythonTrace(), StudyContext::Clear(), MESSAGE, myStudyContext, and SMESH_PreMeshInfo::RemoveStudyFiles_TMP_METHOD().
| char * SMESH_Gen_i::ComponentDataType | ( | ) |
SMESH_Gen_i::ComponentDataType.
Get component data type
References MESSAGE.
Referenced by CountInPyDump(), DumpPython(), DumpPython_impl(), GetAlgoSO(), getObjectInfo(), GetSoleSubMeshUsingHyp(), SMESH_NoteBook::InitObjectMap(), PublishComponent(), SavePython(), and UpdateStudy().
| CORBA::Boolean SMESH_Gen_i::Compute | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theShapeObject | ||
| ) |
Compute mesh on a shape
References SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::Clear(), SMESH_Gen::COMPACT_MESH, SMESH_Gen::Compute(), SMESH_Mesh_i::CreateGroupServants(), GeomObjectToShape(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::GetShapeToMesh(), HighLightInvalid(), isGeomModifIcon(), SMESH_Mesh_i::Load(), MESSAGE, SMDS_Mesh::Modified(), myGen, SMESH_Gen::PrepareCompute(), SMESH_Mesh::PseudoShape(), SMESH_Gen::SHAPE_ONLY, and UpdateIcons().
| 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 | ||
| ) |
Concatenate the given meshes into one mesh
References ConcatenateCommon().
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ConcatenateCommon | ( | const SMESH::ListOfIDSources & | theMeshesArray, |
| CORBA::Boolean | theUniteIdenticalGroups, | ||
| CORBA::Boolean | theMergeNodesAndElements, | ||
| CORBA::Double | theMergeTolerance, | ||
| CORBA::Boolean | theCommonGroups, | ||
| SMESH::SMESH_Mesh_ptr | theMeshToAppendTo | ||
| ) |
SMESH_Gen_i::ConcatenateCommon.
Concatenate the given meshes into one mesh
References SMESH_MeshEditor::AddElement(), SMESHDS_Mesh::AddNode(), SMESH::ALL, SMESH_MeshEditor::ClearLastCreated(), SMESHDS_Mesh::CompactMesh(), CreateEmptyMesh(), SMESH_Mesh_i::CreateGroup(), SMESH_MeshEditor::FindCoincidentNodes(), SMESH_Mesh_i::GetElements(), SMESH_Mesh_i::GetGroups(), SMDS_MeshElement::GetID(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), SMESH_MeshEditor::ElemFeatures::Init(), SMESH_Mesh_i::Load(), SMDS_Mesh::MaxElementID(), SMDS_Mesh::MaxNodeID(), SMESH_MeshEditor::MergeEqualElements(), SMESH_MeshEditor::MergeNodes(), SMDS_Mesh::Modified(), SMESH_MeshEditor::ElemFeatures::myNodes, SMESH::NB_ELEMENT_TYPES, SMDS_Mesh::NbElements(), SMDS_Mesh::NbNodes(), SMDS_MeshElement::NbNodes(), SMESH::NODE, SMDS_MeshElement::nodeIterator(), ObjectToSObject(), and SetPixMap().
Referenced by Concatenate(), and 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 | ||
| ) |
SMESH_Gen_i::ConcatenateWithGroups.
Concatenate the given meshes into one mesh Create the groups of all elements from initial meshes
References ConcatenateCommon().
| SALOMEDS::TMPFile * SMESH_Gen_i::CopyFrom | ( | SALOMEDS::SObject_ptr | , |
| CORBA::Long & | |||
| ) |
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::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.
| meshPart | - a part of mesh to copy |
| toCopyGroups | - to create in the new mesh groups the copied elements belongs to |
| toKeepIDs | - to preserve IDs of the copied elements or not |
| SMESH::SMESH_Mesh_ptr | - the new mesh |
References SMDS_MeshGroup::Add(), SMESH_MeshEditor::AddElement(), SMESHDS_Mesh::AddNode(), SMESHDS_Mesh::AddNodeWithID(), CreateMesh(), SMDS_Mesh::elementsIterator(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESHDS_GroupBase::GetElements(), SMESH_Group::GetGroupDS(), SMESH_Mesh::GetGroups(), SMDS_MeshElement::GetID(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), SMDS_Mesh::GetMeshInfo(), SMESH_Group::GetName(), SMESHDS_GroupBase::GetType(), SMDS_MeshElement::GetType(), SMESH_MeshEditor::ElemFeatures::Init(), SMESH_Mesh_i::Load(), SMDS_Mesh::Modified(), SMDS_MeshInfo::NbElements(), SMDS_MeshNode::NbInverseElements(), SMDS_Mesh::NbNodes(), SMDS_MeshElement::NbNodes(), SMESH::NODE, SMDS_Mesh::nodesIterator(), SMDS_MeshElement::nodesIterator(), ObjectToSObject(), SMESH_MeshEditor::ElemFeatures::SetID(), SetName(), SetPixMap(), SMDSAbs_NbElementTypes, SMDSAbs_Node, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by SMESH_MeshEditor_i::MakeBoundaryElements().
| 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 | ||
| ) |
Create a mesh by copying definitions of another mesh to a given geometry.
| [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 |
References SMESH_MeshEditor::AddElement(), SMESHDS_Mesh::AddNodeWithID(), SMESH_subMesh::CHECK_COMPUTE_STATE, SMESHDS_Mesh::CompactMesh(), SMESH_subMesh::ComputeStateEngine(), CreateFilterManager(), CreateHypothesis(), createInvalidSubMesh(), 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(), 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(), ObjectToSObject(), SMESH_Hypothesis_i::SaveTo(), SMESH_MeshEditor::ElemFeatures::SetID(), SMESHDS_Mesh::SetMeshElementOnShape(), 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().
| int SMESH_Gen_i::CountInPyDump | ( | const TCollection_AsciiString & | text | ) |
Count inclusions of a string in a raw Python dump script.
References ComponentDataType(), GetSMESHGen(), and getStudyServant().
| SMESH::MG_ADAPT_ptr SMESH_Gen_i::CreateAdaptationHypothesis | ( | ) |
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateDualMesh | ( | SMESH::SMESH_IDSource_ptr | mesh, |
| const char * | meshName, | ||
| CORBA::Boolean | adapt_to_shape | ||
| ) |
Create a mesh by copying a part of another mesh.
| mesh | - TetraHedron mesh |
| meshName | Name of the created mesh |
| SMESH::SMESH_Mesh_ptr | - the new mesh |
References CreateMesh(), SMESH_Mesh::GetGroupIds(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), GetORB(), SMESH_Mesh_i::ImportMEDFile(), MESSAGE, SMDS_Mesh::Modified(), ObjectToSObject(), SetName(), and SetPixMap().
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateEmptyMesh | ( | ) |
Create empty mesh
References CanPublishInStudy(), createMesh(), getStudyServant(), MESSAGE, and PublishMesh().
Referenced by ConcatenateCommon(), and SMESH_MeshEditor_i::makeMesh().
| SMESH::FilterManager_ptr SMESH_Gen_i::CreateFilterManager | ( | ) |
| SMESHHOMARD::HOMARD_Gen_ptr SMESH_Gen_i::CreateHOMARD_ADAPT | ( | ) |
References MED::exists().
|
private |
SMESH_Gen_i::createHypothesis.
Create hypothesis of given type
References GenericHypothesisCreator_i::Create(), getHypothesisCreator(), SMESH_Hypothesis_i::GetName(), MESSAGE, myGen, myHypCreatorMap, myPoa, RegisterObject(), and SMESH_Hypothesis_i::SetLibName().
Referenced by CreateHypothesis(), GetHypothesisParameterValues(), and Load().
| SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::CreateHypothesis | ( | const char * | theHypName, |
| const char * | theLibName | ||
| ) |
SMESH_Gen_i::CreateHypothesis.
Create hypothesis/algorithm of given type and publish it in the study
References CanPublishInStudy(), createHypothesis(), and PublishHypothesis().
Referenced by CopyMeshWithGeom(), and StdMeshers_LayerDistribution_i::LoadFrom().
| SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::CreateHypothesisByAverageLength | ( | const char * | theHypType, |
| const char * | theLibName, | ||
| CORBA::Double | theAverageLength, | ||
| CORBA::Boolean | theQuadDominated | ||
| ) |
Return a hypothesis initialized by given average length.
| theHypType | - hypothesis type name |
| theLibName | - plugin library name |
| theAverageLength | - average length |
| theQuadDominated | - is quad-dominated flag |
| SMESH::SMESH_Hypothesis_ptr | - the new hypothesis |
References SMESH_Hypothesis::BY_AVERAGE_LENGTH, GetHypothesisParameterValues(), and PublishHypothesis().
|
private |
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 CanPublishInStudy(), SMESH_Mesh_i::createSubMesh(), GetRefOnShapeTag(), getStudyServant(), and PublishSubMesh().
Referenced by CopyMeshWithGeom().
| SMESH::Measurements_ptr SMESH_Gen_i::CreateMeasurements | ( | ) |
SMESH_Gen_i::CreateMeasurements.
Create measurement instance
|
private |
Create empty mesh on shape
References SMESH_Gen::CreateMesh(), GetPOA(), MESSAGE, myGen, myIsEmbeddedMode, RegisterObject(), and SMESH_Mesh_i::SetImpl().
Referenced by CreateEmptyMesh(), CreateMesh(), CreateMeshesFromCGNS(), CreateMeshesFromGMF(), CreateMeshesFromMED(), CreateMeshesFromMESHIO(), CreateMeshesFromSTL(), CreateMeshesFromUNV(), and Load().
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMesh | ( | GEOM::GEOM_Object_ptr | theShapeObject | ) |
Create empty mesh on a shape and publish it in the study
References CanPublishInStudy(), createMesh(), getStudyServant(), MESSAGE, PublishMesh(), and SMESH_Mesh_i::SetShape().
Referenced by CopyMesh(), CopyMeshWithGeom(), and CreateDualMesh().
|
override |
References CreateMeshesFromMEDConverterInMedcoupling().
|
override |
References CreateMeshesFromMEDConverterInMedcoupling().
| SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromCGNS | ( | const char * | theFileName, |
| SMESH::DriverMED_ReadStatus & | theStatus | ||
| ) |
Create meshes and import data from the CGSN file.
References CanPublishInStudy(), createMesh(), SMESH::DRS_OK, SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), DriverCGNS_Read::GetNbMeshes(), GetServant(), getStudyServant(), SMESH_Mesh_i::ImportCGNSFile(), SMDS_Mesh::Modified(), PublishMesh(), and Driver_Mesh::SetFile().
|
override |
References CreateMeshesFromMEDConverterInMedcoupling().
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromGMF | ( | const char * | theFileName, |
| CORBA::Boolean | theMakeRequiredGroups, | ||
| SMESH::ComputeError_out | theError | ||
| ) |
Create a mesh and import data from a GMF file.
References CanPublishInStudy(), createMesh(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), GetServant(), getStudyServant(), SMESH_Mesh_i::ImportGMFFile(), SMDS_Mesh::Modified(), and PublishMesh().
|
override |
References CreateMeshesFromMEDConverterInMedcoupling().
| SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromMAIL | ( | const char * | theFileName, |
| SMESH::DriverMED_ReadStatus & | theStatus | ||
| ) |
SMESH_Gen_i::CreateMeshFromMED.
Create mesh and import data from MED file
References CreateMeshesFromMEDConverterInMedcoupling().
| SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromMED | ( | const char * | theFileName, |
| SMESH::DriverMED_ReadStatus & | theStatus | ||
| ) |
SMESH_Gen_i::CreateMeshFromMED.
Create mesh and import data from MED file
References CanPublishInStudy(), createMesh(), SMESH::DRS_OK, SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), DriverMED_R_SMESHDS_Mesh::GetMeshNames(), GetServant(), getStudyServant(), SMESH_Mesh_i::ImportMEDFile(), SMDS_Mesh::Modified(), PublishMesh(), Driver_Mesh::SetFile(), and Driver_Mesh::SetMeshId().
Referenced by SMESH::MG_ADAPT_i::compute(), CreateMeshesFromMEDConverterInMedcoupling(), and SMESHHOMARD_I::HOMARD_Gen_i::PublishResultInSmesh().
|
private |
References CreateMeshesFromMED().
Referenced by CreateMeshesFromASC(), CreateMeshesFromCDB(), CreateMeshesFromGEOF(), CreateMeshesFromINP(), and CreateMeshesFromMAIL().
| SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromMESHIO | ( | 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.
References CanPublishInStudy(), SMESH_Meshio::Convert(), createMesh(), SMESH_Meshio::CreateTempFileName(), SMESH::DRS_OK, SMESH_Meshio::GetConverterForExtension(), SMESHIOConverter::GetFilterLabel(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), DriverMED_R_SMESHDS_Mesh::GetMeshNames(), GetServant(), getStudyServant(), SMESHIOConverter::Gmsh, SMESH_Mesh_i::ImportMEDFile(), SMESHIOConverter::MeshIo, MESSAGE, SMDS_Mesh::Modified(), PublishMesh(), Driver_Mesh::SetFile(), Driver_Mesh::SetMeshId(), and SMESHIOConverter::Unknown.
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromSTL | ( | const char * | theFileName | ) |
SMESH_Gen_i::CreateMeshFromSTL.
Create mesh and import data from STL file
References CanPublishInStudy(), createMesh(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), GetServant(), getStudyServant(), SMESH_Mesh_i::ImportSTLFile(), SMDS_Mesh::Modified(), and PublishMesh().
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromUNV | ( | const char * | theFileName | ) |
SMESH_Gen_i::CreateMeshFromUNV.
Create mesh and import data from UNV file
References CanPublishInStudy(), createMesh(), SMESH_Mesh_i::GetGroups(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), GetServant(), getStudyServant(), SMESH_Mesh_i::ImportUNVFile(), SMDS_Mesh::Modified(), and PublishMesh().
| SMESH::MG_ADAPT_ptr SMESH_Gen_i::CreateMG_ADAPT | ( | ) |
Create measurement instance
|
private |
SMESH_Gen_i::createParallelMesh.
Create empty parallel mesh on shape
References SMESH_Gen::CreateParallelMesh(), GetPOA(), MESSAGE, myGen, myIsEmbeddedMode, RegisterObject(), and SMESH_Mesh_i::SetImpl().
Referenced by CreateParallelMesh().
| SMESH::SMESH_ParallelMesh_ptr SMESH_Gen_i::CreateParallelMesh | ( | GEOM::GEOM_Object_ptr | theShapeObject | ) |
SMESH_Gen_i::CreateParallelMesh.
Create empty parallel mesh on a shape and publish it in the study
References CanPublishInStudy(), createParallelMesh(), getStudyServant(), MESSAGE, PublishMesh(), and SMESH_Mesh_i::SetShape().
|
virtual |
| TCollection_AsciiString SMESH_Gen_i::DumpPython_impl | ( | Resource_DataMapOfAsciiStringAsciiString & | theObjectNames, |
| Resource_DataMapOfAsciiStringAsciiString & | theNames, | ||
| bool | isPublished, | ||
| bool | isMultiFile, | ||
| bool | isHistoricalDump, | ||
| bool & | aValidScript, | ||
| TCollection_AsciiString & | theSavedTrace | ||
| ) |
Creates a Dump Python script.
| [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. |
References ComponentDataType(), SMESH_2smeshpy::ConvertScript(), SMESH::TPythonDump::CutoutLongString(), end(), SMESH_2smeshpy::GenName(), GetGeomEngine(), getStudyServant(), Handle(), SMESH::TPythonDump::NotPublishedObjectName(), SMESH::printException(), SMESH::TVar::Quote(), SMESH_CATCH, SMESH_TRY, SMESH::TPythonDump::SMESHGenName(), and SMESH_2smeshpy::SmeshpyName().
Referenced by DumpPython().
| SMESH::smIdType_array * SMESH_Gen_i::Evaluate | ( | 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.
Evaluate mesh on a shape
References SMESH_Mesh_i::CheckGeomModif(), COMPERR_ALGO_FAILED, SMESH::Entity_Last, SMESH::Entity_Node, SMESH_Gen::Evaluate(), GeomObjectToShape(), SMESH_subMesh::GetAlgo(), SMESH_subMesh::GetComputeError(), SMESH_Mesh_i::GetImpl(), GetServant(), SMESH_Mesh_i::Load(), MESSAGE, myGen, and SMESH_Mesh::PseudoShape().
| GEOM::GEOM_Object_ptr SMESH_Gen_i::FindGeometryByMeshElement | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| SMESH::smIdType | theElementID | ||
| ) |
Return geometrical object the given element is built on.
| theMesh | - the mesh the element is in |
| theElementID | - the element ID |
| GEOM::GEOM_Object_ptr | - the found or created (UnRegister()!) geom object |
References SMDS_Mesh::FindElement(), GeomObjectToShape(), GetGeomEngine(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), getStudyServant(), SMESHDS_Mesh::IndexToShape(), ObjectToSObject(), ShapeToGeomObject(), and SObjectToObject().
Referenced by GetGeometryByMeshElement().
|
static |
References GetGeomEngine(), GetShapeReader(), and mySMESHGen.
Referenced by SMESH_Mesh_i::addHypothesis(), AddHypothesisToShape(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_Pattern_i::ApplyTo3DBlock(), SMESH_Pattern_i::ApplyToFace(), CancelCompute(), SMESH_Mesh_i::CheckGeomModif(), 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(), Evaluate(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), FindGeometryByMeshElement(), GetAlgoState(), GetComputeErrors(), SMESH_Mesh_i::GetHypothesisList(), GetHypothesisParameterValues(), GetInside(), GetMeshOrSubmeshByShape(), getShapeByID(), getShapeByName(), SMESH_Mesh_i::GetSubMesh(), GetSubShapesId(), IsApplicable(), IsReadyToCompute(), SMESH_MeshEditor_i::LinearAnglesVariation(), Load(), SMESH_Pattern_i::LoadFrom3DBlock(), SMESH_Pattern_i::LoadFromFace(), SMESH_Mesh_i::newGroupShape(), 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().
|
static |
References SMESH::Tag_0DElementsGroups.
|
static |
References SMESH::Tag_AlgorithmsRoot.
Referenced by GetAlgoSO(), PublishHypothesis(), PublishMesh(), and Save().
| SALOMEDS::SObject_ptr SMESH_Gen_i::GetAlgoSO | ( | const ::SMESH_Algo * | algo | ) |
Find SObject for an algo.
References ComponentDataType(), GetAlgorithmsRootTag(), SMESH_Hypothesis_i::GetImpl(), getStudyServant(), and SObjectToObject().
Referenced by GetAlgoState(), and GetComputeErrors().
| SMESH::algo_error_array * SMESH_Gen_i::GetAlgoState | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theSubObject | ||
| ) |
Returns errors of hypotheses definition.
| theMesh | - the mesh |
| theSubObject | - the main or sub- shape |
| SMESH::algo_error_array* | - sequence of errors |
References SMESH::AlgoStateError::algoDim, SMESH::AlgoStateError::algoName, SMESH_Mesh_i::ConvertHypothesisStatus(), GeomObjectToShape(), GetAlgoSO(), SMESH_Gen::GetAlgoState(), SMESH_Mesh_i::GetImpl(), SMESH::AlgoStateError::isGlobalAlgo, MESSAGE, myGen, SMESH_Mesh::PseudoShape(), and SMESH::AlgoStateError::state.
| std::vector< std::string > SMESH_Gen_i::GetAllParameters | ( | const std::string & | theObjectEntry | ) | const |
Return all variables used to create an object.
| [in] | theObjectEntry | - an object entry in the current study |
References getStudyServant().
Referenced by SMESH_NoteBook::InitObjectMap().
| SMESH::MeshPreviewStruct * SMESH_Gen_i::GetBadInputElements | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| CORBA::Short | theSubShapeID | ||
| ) |
Return mesh elements preventing computation of a subshape.
References SMESH_Mesh::GetSubMeshContaining(), SMDS_MeshElement::GetType(), SMDS_MeshElement::IsPoly(), MESSAGE, SMDS_MeshElement::NbNodes(), SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
|
static |
References SMESH::Tag_BallElementsGroups.
| SMESH::compute_error_array * SMESH_Gen_i::GetComputeErrors | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theShapeObject | ||
| ) |
Return errors of mesh computation.
References SMESH::ComputeError::algoName, SMESH::ComputeError::code, SMESH::ComputeError::comment, GeomObjectToShape(), SMESH_subMesh::GetAlgo(), GetAlgoSO(), SMESH_subMesh::GetComputeError(), SMESH_subMesh::getDependsOnIterator(), SMESH_subMesh::GetId(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::GetSubMesh(), SMESH::ComputeError::hasBadMesh, SMESHDS_Mesh::MaxShapeIndex(), MESSAGE, SMESH_Mesh::PseudoShape(), and SMESH::ComputeError::subShapeID.
|
static |
References SMESH::Tag_EdgeGroups.
|
static |
References SMESH::Tag_FaceGroups.
|
pure virtual |
Implemented in SMESH_Gen_No_Session_i, and SMESH_Gen_Session_i.
|
static |
GetGeomEngine [ static ].
Get GEOM::GEOM_Gen reference
Referenced by SMESH_Mesh_i::addGeomGroupData(), SMESH_Mesh_i::CheckGeomModif(), DumpPython_impl(), FindGeometryByMeshElement(), GeomObjectToShape(), GetGeometryByMeshElement(), SMESH_Mesh_i::newGroupShape(), and UpdateStudy().
| GEOM::GEOM_Object_ptr SMESH_Gen_i::GetGeometryByMeshElement | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| SMESH::smIdType | theElementID, | ||
| const char * | theGeomName | ||
| ) |
Return geometrical object the given element is built on.
| 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 |
| GEOM::GEOM_Object_ptr | - the found or just published geom object (no need to UnRegister()) |
References FindGeometryByMeshElement(), GetGeomEngine(), getStudyServant(), ObjectToSObject(), and SObjectToObject().
|
static |
Get GEOM Object by its study entry.
References getStudyServant(), mySMESHGen, and SObjectToObject().
Referenced by Load().
|
private |
SMESH_Gen_i::getHypothesisCreator.
Get hypothesis creator
References SMESH::GetHypothesisCreator(), GetProc, LibHandle, LoadLib, MESSAGE, myHypCreatorMap, and UnLoadLib.
Referenced by createHypothesis(), and IsApplicable().
| 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 | ||
| ) |
Return a hypothesis holding parameter values corresponding either to the mesh existing on the given geometry or to size of the geometry.
| theHypType | - hypothesis type name |
| theLibName | - plugin library name |
| theMesh | - The mesh of interest |
| theGeom | - The shape to get parameter values from |
| SMESH::SMESH_Hypothesis_ptr | - The returned hypothesis may be the one existing in a study and used to compute the mesh, or a temporary one created just to pass parameter values |
References SMESH_Hypothesis::TDefaults::_diagonal, SMESH_Hypothesis::TDefaults::_elemLength, SMESH_Hypothesis::TDefaults::_nbSegments, SMESH_Hypothesis::TDefaults::_quadDominated, SMESH_Hypothesis::TDefaults::_shape, SMESH_Hypothesis::TDefaults::_way, SMESH::HypInitParams::averageLength, SMESH_Hypothesis::BY_GEOM, SMESH_Hypothesis::BY_MESH, createHypothesis(), GeomObjectToShape(), SMESH_Mesh::GetAncestors(), SMESH_Gen::GetBoundaryBoxSegmentation(), SMESH_Gen::GetDefaultNbSegments(), SMESH_Hypothesis::GetDim(), SMESH_Hypothesis_i::GetImpl(), SMESH_Mesh_i::GetImpl(), SMESHDS_Hypothesis::GetName(), SMESH::GetName(), SMESH_Mesh::GetShapeDiagonalSize(), SMESH_Gen::GetShapeDim(), myGen, SMESH_Mesh_i::NbNodes(), SMESH::HypInitParams::quadDominated, SMESH_Hypothesis::SetParametersByDefaults(), SMESH_Hypothesis::SetParametersByMesh(), ShapeToGeomObject(), and SMESH::HypInitParams::way.
Referenced by CreateHypothesisByAverageLength().
|
static |
Get...Tag [ static ].
Methods which determine SMESH data model structure
References SMESH::Tag_HypothesisRoot.
Referenced by SMESH_Mesh_i::onHypothesisModified(), PublishHypothesis(), and Save().
| SMESH::long_array * SMESH_Gen_i::GetInside | ( | 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.
References _GetInside(), and GeomObjectToShape().
| 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 | ||
| ) |
Collect indices of elements, which are located inside the box.
References _GetInside().
| 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 | ||
| ) |
Collect indices of elements, which are located inside the cylinder.
References _GetInside().
| 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 | ||
| ) |
Collect indices of elements, which are located inside the sphere.
References _GetInside().
| const std::string & SMESH_Gen_i::GetLastObjEntry | ( | ) | const |
Referenced by SMESH::TPythonDump::~TPythonDump().
| const std::vector< std::string > & SMESH_Gen_i::GetLastParameters | ( | ) | const |
| const std::vector< int > & SMESH_Gen_i::GetLastParamIndices | ( | ) | const |
Referenced by SMESH::TPythonDump::operator<<().
|
static |
GetLCC [ static ].
Get SALOME_LifeCycleCORBA object
References GetNS(), and myLCC.
Referenced by SMESH_Gen_Session_i::GetGeomEngine().
| char * SMESH_Gen_i::GetMEDFileVersion | ( | ) |
Get version of MED format being used.
References MED::GetVersionRelease().
| char * SMESH_Gen_i::GetMEDVersion | ( | const char * | theFileName | ) |
Get MED version of the file by its name
References MED::GetMEDVersion().
| SMESH::string_array * SMESH_Gen_i::GetMeshNames | ( | const char * | theFileName | ) |
Get names of meshes defined in file with the specified name
References MED::CrWrapperR().
| SALOMEDS::SObject_ptr SMESH_Gen_i::GetMeshOrSubmeshByShape | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theShape | ||
| ) |
|
pure virtual |
Implemented in SMESH_Gen_No_Session_i, and SMESH_Gen_Session_i.
Referenced by PublishComponent().
| TCollection_AsciiString SMESH_Gen_i::GetNewPythonLines | ( | ) |
|
static |
References SMESH::Tag_NodeGroups.
Referenced by Load(), PublishGroup(), and Save().
|
static |
GetNS [ static ].
Get SALOME_NamingService object
References GetORB(), and myNS.
Referenced by GetLCC(), SMESH_Gen_Session_i::getModuleCatalog(), SetOption(), SMESH_Gen_i(), and SPADDERPluginTester_i::testsmesh().
| TInterface::_var_type SMESH_Gen_i::GetObjectByOldId | ( | const int | oldID | ) |
| CORBA::Long SMESH_Gen_i::GetObjectId | ( | CORBA::Object_ptr | theObject | ) |
Return id of registered object.
| theObject | - the Object |
| int | - Object id |
References StudyContext::findId(), GetORB(), and myStudyContext.
| char * SMESH_Gen_i::getObjectInfo | ( | const char * | entry | ) |
References ComponentDataType(), getStudyServant(), isGeomModifIcon(), and SObjectToObject().
|
virtual |
Return an option value.
References myDefaultGroupColor, myIsHistoricalPythonDump, and myToForgetMeshDataOnHypModif.
|
static |
Referenced by SMESH_Mesh_i::ConvertToStandalone(), CreateDualMesh(), SMESH_GroupOnFilter_i::FilterToString(), SMESH::BelongToMeshGroup_i::GetGroup(), SMESH::BelongToMeshGroup_i::GetGroupID(), GetNS(), GetObjectId(), MeshEditor_I::getPartIOR(), Load(), ObjectToSObject(), publish(), PublishComponent(), SMESHHOMARD_I::HOMARD_Gen_i::PublishResultInSmesh(), RegisterObject(), Save(), SMESH::BelongToMeshGroup_i::SetGroupID(), SetName(), ShapeToGeomObject(), and SObjectToObject().
| char * SMESH_Gen_i::GetParameters | ( | CORBA::Object_ptr | theObject | ) |
References ObjectToSObject().
Referenced by SMESH_Mesh_i::GetParameters().
| SMESH::SMESH_Pattern_ptr SMESH_Gen_i::GetPattern | ( | ) |
Create pattern mapper
|
static |
|
static |
References SMESH::Tag_RefOnAppliedAlgorithms.
Referenced by AddHypothesisToShape(), and Save().
|
static |
References SMESH::Tag_RefOnAppliedHypothesis.
Referenced by AddHypothesisToShape(), and Save().
|
static |
References SMESH::Tag_RefOnShape.
Referenced by createInvalidSubMesh(), PublishGroup(), PublishMesh(), PublishSubMesh(), SMESH_Mesh_i::RemoveSubMesh(), SMESH_Mesh_i::ReplaceShape(), and Save().
|
static |
GetServant [ static ].
Get servant of the CORBA object
References GetPOA(), and MESSAGE.
Referenced by _GetInside(), SMESH_MeshEditor_i::BestSplit(), CancelCompute(), CreateMeshesFromCGNS(), CreateMeshesFromGMF(), CreateMeshesFromMED(), CreateMeshesFromMESHIO(), CreateMeshesFromSTL(), CreateMeshesFromUNV(), SMESH::DownCast(), Evaluate(), SMESH_Pattern_i::getMesh(), IsReadyToCompute(), Load(), objectToServant(), Precompute(), SMESH_MeshEditor_i::QuadToTri(), ReloadMeshesFromCGNS(), ReloadMeshesFromGMF(), ReloadMeshesFromMED(), ReloadMeshesFromMESHIO(), ReloadMeshesFromSTL(), ReloadMeshesFromUNV(), Save(), and SMESH_MeshEditor_i::TriToQuad().
| GEOM_Client * SMESH_Gen_i::GetShapeReader | ( | ) |
Get shape reader
References myShapeReader.
Referenced by SMESH_Mesh_i::CheckGeomModif(), GeomObjectToShape(), SMESH_Mesh_i::newGroupShape(), SMESH_Mesh_i::ReplaceShape(), ShapeToGeomObject(), and SMESH_Mesh_i::~SMESH_Mesh_i().
|
static |
Referenced by _pyGen::_pyGen(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH::MG_ADAPT_i::compute(), StdMeshers_CartesianParameters3D_i::ComputeOptimalAxesDirs(), SMESH_Mesh_i::ConvertToStandalone(), 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().
| CORBA::Boolean SMESH_Gen_i::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.
| [in] | theHyp | - the hypothesis of interest |
| [out] | theMesh | - the sole mesh using theHyp |
| [out] | theShape | - the sole geometry theHyp is assigned to |
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 ComponentDataType(), SMESHDS_Mesh::GetHypotheses(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh_i::GetShapeToMesh(), getStudyServant(), SMESH_Mesh_i::HasShapeToMesh(), ShapeToGeomObject(), and SObjectToObject().
| StudyContext * SMESH_Gen_i::GetStudyContext | ( | ) |
| SALOMEDS::Study_var SMESH_Gen_i::getStudyServant | ( | ) | const |
Referenced by _pyGen::_pyGen(), addReference(), CanPublishInStudy(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::ConvertToStandalone(), CountInPyDump(), CreateEmptyMesh(), createInvalidSubMesh(), CreateMesh(), CreateMeshesFromCGNS(), CreateMeshesFromGMF(), CreateMeshesFromMED(), CreateMeshesFromMESHIO(), CreateMeshesFromSTL(), CreateMeshesFromUNV(), CreateParallelMesh(), SMESHHOMARD_I::HOMARD_Gen_i::DeleteResultInSmesh(), DumpPython(), DumpPython_impl(), StdMeshers_ObjRefUlils::EntryOrShapeToGeomObject(), StdMeshers_ObjRefUlils::EntryToShape(), FindGeometryByMeshElement(), SMESH_Mesh_i::generateMeshName(), GetAlgoSO(), GetAllParameters(), GetGeometryByMeshElement(), StdMeshersGUI_SubShapeSelectorWdg::GetGeomObjectByEntry(), GetGeomObjectByEntry(), SMESH_Mesh_i::GetLastParameters(), getObjectInfo(), SMESH_NoteBook::GetReal(), getShapeByID(), getShapeByName(), SMESH_Mesh_i::GetShapeToMesh(), GetSoleSubMeshUsingHyp(), highLightInvalid(), SMESH_NoteBook::InitObjectMap(), IsInvalid(), Load(), StdMeshers_ObjRefUlils::LoadFromStream(), Move(), SMESH_Mesh_i::newGroupShape(), ObjectToSObject(), SMESH_MeshEditor_i::Offset(), SMESH_Mesh_i::onHypothesisModified(), SMESH_Mesh_i::prepareMeshNameAndGroups(), publish(), PublishComponent(), SMESHHOMARD_I::HOMARD_Gen_i::PublishResultInSmesh(), PublishSubMesh(), ReloadMeshesFromCGNS(), ReloadMeshesFromGMF(), ReloadMeshesFromMED(), ReloadMeshesFromMESHIO(), ReloadMeshesFromSTL(), ReloadMeshesFromUNV(), ReloadMeshFromFile(), SMESH_Mesh_i::RemoveGroup(), RemoveHypothesisFromShape(), SMESH_PreMeshInfo::RemoveStudyFiles_TMP_METHOD(), SMESH_Mesh_i::RemoveSubMesh(), SMESH_Mesh_i::ReplaceShape(), SMESH_NoteBook::ReplaceVariables(), Save(), SavePython(), StdMeshers_ImportSource1D_i::SaveTo(), StdMeshers_ImportSource2D_i::SaveTo(), SMESH::BelongToMeshGroup_i::SetGroupID(), StdMeshers_LayerDistribution_i::SetLayerDistribution(), SetName(), SetPixMap(), SMESH::ConnectedElements_i::SetThreshold(), UpdateIcons(), UpdateParameters(), and UpdateStudy().
|
pure virtual |
Implemented in SMESH_Gen_No_Session_i, and SMESH_Gen_Session_i.
|
static |
References SMESH::Tag_SubMeshOnCompound.
Referenced by Load(), PublishSubMesh(), and Save().
|
static |
References SMESH::Tag_SubMeshOnEdge.
Referenced by Load(), PublishSubMesh(), and Save().
|
static |
References SMESH::Tag_SubMeshOnFace.
Referenced by Load(), PublishSubMesh(), and Save().
|
static |
References SMESH::Tag_SubMeshOnShell.
Referenced by Load(), PublishSubMesh(), and Save().
|
static |
References SMESH::Tag_SubMeshOnSolid.
Referenced by Load(), PublishSubMesh(), and Save().
|
static |
References SMESH::Tag_SubMeshOnVertex.
Referenced by Load(), PublishSubMesh(), and Save().
|
static |
References SMESH::Tag_SubMeshOnWire.
Referenced by Load(), PublishSubMesh(), and Save().
| SMESH::long_array * SMESH_Gen_i::GetSubShapesId | ( | GEOM::GEOM_Object_ptr | theMainShapeObject, |
| const SMESH::object_array & | theListOfSubShapeObject | ||
| ) |
Get sub-shapes unique ID's list
References Edge, Face, GeomObjectToShape(), and MESSAGE.
|
virtual |
|
static |
References SMESH::Tag_VolumeGroups.
|
private |
Referenced by DumpPython_impl(), and GetNewPythonLines().
| bool SMESH_Gen_i::hasObjectInfo | ( | ) |
| void SMESH_Gen_i::HighLightInvalid | ( | CORBA::Object_ptr | theObject, |
| bool | isInvalid | ||
| ) |
References highLightInvalid(), and ObjectToSObject().
Referenced by Compute(), SMESH_Mesh_i::onHypothesisModified(), and SMESH_GroupOnFilter_i::SetFilter().
|
private |
References getStudyServant().
Referenced by CopyMeshWithGeom(), HighLightInvalid(), and PublishSubMesh().
| char * SMESH_Gen_i::IORToLocalPersistentID | ( | SALOMEDS::SObject_ptr | theSObject, |
| const char * | IORString, | ||
| CORBA::Boolean | isMultiFile, | ||
| CORBA::Boolean | isASCII | ||
| ) |
SMESH_Gen_i::IORToLocalPersistentID.
Transform data from transient form to persistent
References StudyContext::findId(), MESSAGE, and myStudyContext.
| CORBA::Boolean SMESH_Gen_i::IsApplicable | ( | const char * | theAlgoType, |
| const char * | theLibName, | ||
| GEOM::GEOM_Object_ptr | theShapeObject, | ||
| CORBA::Boolean | toCheckAll | ||
| ) |
| CORBA::Boolean SMESH_Gen_i::IsEmbeddedMode | ( | ) |
| CORBA::Boolean SMESH_Gen_i::IsEnablePublish | ( | ) |
|
private |
Return true if mesh has ICON_SMESH_TREE_GEOM_MODIF icon.
References ObjectToSObject().
Referenced by Compute(), and getObjectInfo().
| bool SMESH_Gen_i::IsInvalid | ( | SALOMEDS::SObject_ptr | theObject | ) |
References getStudyServant().
Referenced by SMESH_Mesh_i::onHypothesisModified().
| CORBA::Boolean SMESH_Gen_i::IsReadyToCompute | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theShapeObject | ||
| ) |
SMESH_Gen_i::IsReadyToCompute.
Return true if mesh contains enough data to be computed
References SMESH_Gen::CheckAlgoState(), GeomObjectToShape(), SMESH_Mesh_i::GetImpl(), GetServant(), MESSAGE, and myGen.
| bool SMESH_Gen_i::Load | ( | SALOMEDS::SComponent_ptr | theComponent, |
| const SALOMEDS::TMPFile & | theStream, | ||
| const char * | theURL, | ||
| bool | isMultiFile | ||
| ) |
Load SMESH module's data
References SMESH_Mesh_i::addHypothesis(), SMESH_Mesh_i::createGroup(), createHypothesis(), createMesh(), SMESH_Mesh_i::createSubMesh(), SMESH_Mesh_i::FileInfoFromString(), StudyContext::findId(), GeomObjectToShape(), SMESHUtils::ArrayDeleter< TOBJ >::get(), Get0DElementsGroupsTag(), GetBallElementsGroupsTag(), GetEdgeGroupsTag(), GetFaceGroupsTag(), GetGeomObjectByEntry(), SMESH_GroupBase_i::GetGroupDS(), SMESH_Mesh_i::GetImpl(), StudyContext::getIORbyOldId(), SMESH_Mesh::GetMeshDS(), GetNodeGroupsTag(), StudyContext::getOldId(), GetORB(), SMESH_GroupOnFilter_i::GetPredicate(), GetServant(), SMESH_Mesh_i::GetShapeToMesh(), SMESH_Mesh::GetShapeToMesh(), getStudyServant(), SMESH_Mesh::GetSubMesh(), GetSubMeshOnCompoundTag(), GetSubMeshOnEdgeTag(), GetSubMeshOnFaceTag(), GetSubMeshOnShellTag(), GetSubMeshOnSolidTag(), GetSubMeshOnVertexTag(), GetSubMeshOnWireTag(), GetVolumeGroupsTag(), SMESH_Mesh_i::HasShapeToMesh(), SMESH_Mesh::HasShapeToMesh(), SMESH_Hypothesis_i::LoadFrom(), SMESH_PreMeshInfo::LoadFromFile(), SMESH_Mesh_i::MainShapeTick(), StudyContext::mapOldToNew(), MESSAGE, myStudyContext, SMESH_Mesh::PseudoShape(), SMESH_Mesh::SetAutoColor(), SMESHDS_GroupBase::SetColor(), SMESH_Mesh::SetMeshOrder(), SMESHDS_Mesh::SetPersistentId(), SMESH_Mesh_i::SetShape(), SMESHDS_GroupBase::SetStoreName(), SObjectToObject(), SMESH_GroupOnFilter_i::StringToFilter(), SMESH_subMesh::SUBMESH_RESTORED, SMESH_Hypothesis_i::UpdateAsMeshesRestored(), and UpdateStudy().
Referenced by LoadASCII().
| char * SMESH_Gen_i::LocalPersistentIDToIOR | ( | SALOMEDS::SObject_ptr | theSObject, |
| const char * | aLocalPersistentID, | ||
| CORBA::Boolean | isMultiFile, | ||
| CORBA::Boolean | isASCII | ||
| ) |
SMESH_Gen_i::LocalPersistentIDToIOR.
Transform data from persistent form to transient
References StudyContext::getIORbyOldId(), MESSAGE, and myStudyContext.
| SMESH::ListOfGroups * SMESH_Gen_i::MakeGroupsOfBadInputElements | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| CORBA::Short | theSubShapeID, | ||
| const char * | theGroupName | ||
| ) |
Create a group of elements preventing computation of a sub-shape.
| void SMESH_Gen_i::Move | ( | const SMESH::sobject_list & | what, |
| SALOMEDS::SObject_ptr | where, | ||
| CORBA::Long | row | ||
| ) |
References getStudyServant().
| SALOMEDS::SObject_ptr SMESH_Gen_i::ObjectToSObject | ( | CORBA::Object_ptr | theObject | ) |
References GetORB(), and getStudyServant().
Referenced by SMESH_Mesh_i::addGeomGroupData(), AddHypothesisToShape(), addReference(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::checkGroupNames(), ConcatenateCommon(), SMESH_Mesh_i::ConvertToStandalone(), CopyMesh(), CopyMeshWithGeom(), CreateDualMesh(), SMESHGUI_MeshOp::createMesh(), SMESH_Mesh_i::ExportCGNS(), SMESH_Mesh_i::ExportPartToMEDCommon(), SMESH_Mesh_i::ExportPartToSTL(), SMESH_Mesh_i::ExportSTL(), SMESH_Mesh_i::ExportStructuredCGNS(), FindGeometryByMeshElement(), SMESH_Mesh_i::generateMeshName(), GetGeometryByMeshElement(), GetMeshOrSubmeshByShape(), GetParameters(), HighLightInvalid(), SMESH_Mesh_i::ImportSTLFile(), isGeomModifIcon(), SMESH_Hypothesis_i::IsPublished(), SMESH_MeshEditor_i::makeMesh(), SMESH_Mesh_i::newGroupShape(), SMESH_MeshEditor_i::Offset(), SMESH::TPythonDump::operator<<(), SMESH_Mesh_i::prepareMeshNameAndGroups(), publish(), PublishGroup(), PublishHypothesis(), PublishMesh(), PublishSubMesh(), SMESH_Mesh_i::RemoveGroup(), RemoveHypothesisFromShape(), SMESH_Mesh_i::RemoveSubMesh(), SMESH_Mesh_i::ReplaceShape(), Save(), SMESH_GroupBase_i::SetName(), SetName(), StdMeshers_ImportSource1D_i::SetSourceEdges(), StdMeshers_ImportSource2D_i::SetSourceFaces(), UpdateGroupIcon(), UpdateIcons(), and UpdateParameters().
| SALOMEDS::SObject_ptr SMESH_Gen_i::PasteInto | ( | const SALOMEDS::TMPFile & | , |
| CORBA::Long | , | ||
| SALOMEDS::SObject_ptr | |||
| ) |
| void SMESH_Gen_i::PausePythonDumpRecording | ( | ) |
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().
| SMESH::MeshPreviewStruct * SMESH_Gen_i::Precompute | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theShapeObject, | ||
| 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.
Return mesh preview structure
Compute mesh as preview till indicated dimension on shape
References SMESH_Mesh_i::CheckGeomModif(), SMESH_Gen::COMPACT_MESH, SMESH_Gen::Compute(), SMESH::DIM_1D, SMESH::DIM_2D, GeomObjectToShape(), SMESH_subMesh::getDependsOnIterator(), SMESHDS_SubMesh::GetElements(), SMESH_Mesh_i::GetImpl(), SMDS_MeshElement::GetNode(), SMESHDS_SubMesh::GetNodes(), GetServant(), SMESH_Gen::GetShapeDim(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubMeshDS(), SMESH_subMesh::GetSubShape(), SMESH_subMesh::IsMeshComputed(), SMESH_Mesh_i::Load(), MESSAGE, myGen, SMDS_MeshElement::NbNodes(), SMDSAbs_Edge, SMDSAbs_Node, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
| 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 |
||
| ) |
References GetORB(), getStudyServant(), and ObjectToSObject().
Referenced by AddHypothesisToShape(), PublishGroup(), PublishHypothesis(), PublishMesh(), and PublishSubMesh().
| SALOMEDS::SComponent_ptr SMESH_Gen_i::PublishComponent | ( | ) |
References ComponentDataType(), getModuleCatalog(), GetORB(), getStudyServant(), MESSAGE, myIsEnablePublish, and SetName().
Referenced by SMESH_Mesh_i::onHypothesisModified(), PublishHypothesis(), and PublishMesh().
| SALOMEDS::SObject_ptr SMESH_Gen_i::PublishGroup | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| SMESH::SMESH_GroupBase_ptr | theGroup, | ||
| GEOM::GEOM_Object_ptr | theShapeObject, | ||
| const char * | theName = 0 |
||
| ) |
References addReference(), SMESH::ALL, GetNodeGroupsTag(), GetRefOnShapeTag(), myIsEnablePublish, SMESH::NODE, ObjectToSObject(), publish(), PublishInStudy(), and SetName().
Referenced by SMESH_Mesh_i::CreateGroup(), SMESH_Mesh_i::CreateGroupFromFilter(), SMESH_Mesh_i::CreateGroupFromGEOM(), SMESH_Mesh_i::CreateGroupServants(), SMESH_Mesh_i::MakeGroupsOfBadInputElements(), PublishInStudy(), and PublishMesh().
| SALOMEDS::SObject_ptr SMESH_Gen_i::PublishHypothesis | ( | SMESH::SMESH_Hypothesis_ptr | theHyp, |
| const char * | theName = 0 |
||
| ) |
References GetAlgorithmsRootTag(), GetHypothesisRootTag(), MESSAGE, myHypCreatorMap, myIsEnablePublish, ObjectToSObject(), publish(), PublishComponent(), and SetName().
Referenced by AddHypothesisToShape(), CreateHypothesis(), CreateHypothesisByAverageLength(), PublishInStudy(), PublishMesh(), and PublishSubMesh().
| SALOMEDS::SObject_ptr SMESH_Gen_i::PublishInStudy | ( | SALOMEDS::SObject_ptr | theSObject, |
| CORBA::Object_ptr | theIOR, | ||
| const char * | theName | ||
| ) |
Publish object in the study
References MESSAGE, myIsEnablePublish, PublishGroup(), PublishHypothesis(), PublishMesh(), and PublishSubMesh().
Referenced by PublishGroup(), ReloadMeshesFromGMF(), and ReloadMeshesFromSTL().
| SALOMEDS::SObject_ptr SMESH_Gen_i::PublishMesh | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| const char * | theName = 0, |
||
| const char * | thePixMap = 0 |
||
| ) |
References SMESH_Mesh_i::_mapSubMesh_i, AddHypothesisToShape(), addReference(), GetAlgorithmsRootTag(), SMESH_Mesh_i::getGroups(), GetRefOnShapeTag(), MESSAGE, myIsEnablePublish, ObjectToSObject(), publish(), PublishComponent(), PublishGroup(), PublishHypothesis(), PublishSubMesh(), and SetName().
Referenced by AddHypothesisToShape(), CreateEmptyMesh(), CreateMesh(), CreateMeshesFromCGNS(), CreateMeshesFromGMF(), CreateMeshesFromMED(), CreateMeshesFromMESHIO(), CreateMeshesFromSTL(), CreateMeshesFromUNV(), CreateParallelMesh(), PublishInStudy(), PublishSubMesh(), ReloadMeshesFromCGNS(), ReloadMeshesFromMED(), ReloadMeshesFromMESHIO(), and ReloadMeshesFromUNV().
| SALOMEDS::SObject_ptr SMESH_Gen_i::PublishSubMesh | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| SMESH::SMESH_subMesh_ptr | theSubMesh, | ||
| GEOM::GEOM_Object_ptr | theShapeObject, | ||
| const char * | theName = 0 |
||
| ) |
References AddHypothesisToShape(), addReference(), EDGE, FACE, GetRefOnShapeTag(), getStudyServant(), GetSubMeshOnCompoundTag(), GetSubMeshOnEdgeTag(), GetSubMeshOnFaceTag(), GetSubMeshOnShellTag(), GetSubMeshOnSolidTag(), GetSubMeshOnVertexTag(), GetSubMeshOnWireTag(), highLightInvalid(), myIsEnablePublish, ObjectToSObject(), publish(), PublishHypothesis(), PublishMesh(), SetName(), and SObjectToObject().
Referenced by AddHypothesisToShape(), createInvalidSubMesh(), SMESH_Mesh_i::GetSubMesh(), PublishInStudy(), and PublishMesh().
| int SMESH_Gen_i::RegisterObject | ( | CORBA::Object_ptr | theObject | ) |
| SMESH::mesh_array * SMESH_Gen_i::ReloadMeshesFromCGNS | ( | const char * | theFileName, |
| SMESH::SMESH_Mesh_ptr | sourceMesh, | ||
| SMESH::DriverMED_ReadStatus & | theStatus | ||
| ) |
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ReloadMeshesFromGMF | ( | const char * | theFileName, |
| SMESH::SMESH_Mesh_ptr | sourceMesh, | ||
| CORBA::Boolean | theMakeRequiredGroups, | ||
| SMESH::ComputeError_out | theError | ||
| ) |
References CanPublishInStudy(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), GetServant(), getStudyServant(), SMESH_Mesh_i::ImportGMFFile(), SMDS_Mesh::Modified(), and PublishInStudy().
Referenced by ReloadMeshFromFile().
| SMESH::mesh_array * SMESH_Gen_i::ReloadMeshesFromMED | ( | const char * | theFileName, |
| SMESH::SMESH_Mesh_ptr | sourceMesh, | ||
| SMESH::DriverMED_ReadStatus & | theStatus | ||
| ) |
References CanPublishInStudy(), SMESH::DRS_OK, SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), DriverMED_R_SMESHDS_Mesh::GetMeshNames(), GetServant(), getStudyServant(), SMESH_Mesh_i::ImportMEDFile(), SMDS_Mesh::Modified(), PublishMesh(), Driver_Mesh::SetFile(), and Driver_Mesh::SetMeshId().
Referenced by ReloadMeshFromFile().
| SMESH::mesh_array * SMESH_Gen_i::ReloadMeshesFromMESHIO | ( | const char * | theFileName, |
| SMESH::SMESH_Mesh_ptr | sourceMesh, | ||
| SMESH::DriverMED_ReadStatus & | theStatus, | ||
| const char * | converter = nullptr |
||
| ) |
References CanPublishInStudy(), SMESH_Meshio::Convert(), SMESH_Meshio::CreateTempFileName(), SMESH::DRS_OK, SMESH_Meshio::GetConverterForExtension(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), DriverMED_R_SMESHDS_Mesh::GetMeshNames(), GetServant(), getStudyServant(), SMESHIOConverter::Gmsh, SMESH_Mesh_i::ImportMEDFile(), SMESHIOConverter::MeshIo, MESSAGE, SMDS_Mesh::Modified(), PublishMesh(), Driver_Mesh::SetFile(), Driver_Mesh::SetMeshId(), and SMESHIOConverter::Unknown.
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ReloadMeshesFromSTL | ( | const char * | theFileName, |
| SMESH::SMESH_Mesh_ptr | sourceMesh | ||
| ) |
References CanPublishInStudy(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetMeshDS(), GetServant(), getStudyServant(), SMESH_Mesh_i::ImportSTLFile(), SMDS_Mesh::Modified(), and PublishInStudy().
Referenced by ReloadMeshFromFile().
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ReloadMeshesFromUNV | ( | const char * | theFileName, |
| SMESH::SMESH_Mesh_ptr | sourceMesh | ||
| ) |
| SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ReloadMeshFromFile | ( | SMESH::SMESH_Mesh_ptr | theMesh | ) |
| bool SMESH_Gen_i::RemoveHypothesisFromShape | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
| GEOM::GEOM_Object_ptr | theShapeObject, | ||
| SMESH::SMESH_Hypothesis_ptr | theHyp | ||
| ) |
References GetMeshOrSubmeshByShape(), getStudyServant(), and ObjectToSObject().
Referenced by SMESH_Mesh_i::RemoveHypothesis().
| void SMESH_Gen_i::RemoveLastFromPythonScript | ( | ) |
RemoveLastFromPythonScript.
| void SMESH_Gen_i::ResumePythonDumpRecording | ( | ) |
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().
| SALOMEDS::TMPFile * SMESH_Gen_i::Save | ( | SALOMEDS::SComponent_ptr | theComponent, |
| const char * | theURL, | ||
| bool | isMultiFile | ||
| ) |
Save SMESH module's data
References DriverMED_W_SMESHDS_Mesh::AddGroup(), SMDS_Mesh::elementsIterator(), SMESH_Mesh_i::FileInfoToString(), StudyContext::findId(), Get0DElementsGroupsTag(), GetAlgorithmsRootTag(), SMESH_Mesh_i::GetAutoColor(), GetBallElementsGroupsTag(), SMESH_GroupBase_i::GetColor(), GetEdgeGroupsTag(), GetFaceGroupsTag(), SMESH_GroupBase_i::GetGroupDS(), SMESHDS_Mesh::GetHypothesis(), 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(), GetNodeGroupsTag(), SMESHDS_SubMesh::GetNodes(), GetORB(), SMESHDS_Mesh::GetPersistentId(), SMDS_MeshNode::GetPosition(), GetRefOnAppliedAlgorithmsTag(), GetRefOnAppliedHypothesisTag(), GetRefOnShapeTag(), GetServant(), SMESHDS_GroupBase::GetStoreName(), getStudyServant(), GetSubMeshOnCompoundTag(), GetSubMeshOnEdgeTag(), GetSubMeshOnFaceTag(), GetSubMeshOnShellTag(), GetSubMeshOnSolidTag(), GetSubMeshOnVertexTag(), GetSubMeshOnWireTag(), GetVolumeGroupsTag(), SMESH_Mesh::HasShapeToMesh(), SMESHDS_Mesh::IndexToShape(), SMESHDS_SubMesh::IsComplexSubmesh(), SMESH_Mesh_i::MainShapeTick(), SMESHDS_Mesh::MaxShapeIndex(), myStudyContext, SMDS_MeshInfo::NbElements(), SMDS_Mesh::NbNodes(), SMESHDS_SubMesh::NbNodes(), NUM_TMP_FILES, ObjectToSObject(), DriverMED_W_SMESHDS_Mesh::Perform(), SMESH_Mesh::RemoveHypothesis(), SavePython(), SMESH_Hypothesis_i::SaveTo(), SMESH_PreMeshInfo::SaveToFile(), DriverMED_W_SMESHDS_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), SMESHDS_GroupBase::SetStoreName(), ShapeToGeomObject(), SMESH_Mesh::ShapeToMesh(), SMESHDS_Mesh::ShapeToMesh(), SMDSAbs_All, SMDSAbs_Node, SObjectToObject(), SMESHDS_Mesh::SubMeshes(), and UpdateStudy().
Referenced by SaveASCII().
| SALOMEDS::TMPFile * SMESH_Gen_i::SaveASCII | ( | SALOMEDS::SComponent_ptr | theComponent, |
| const char * | theURL, | ||
| bool | isMultiFile | ||
| ) |
| void SMESH_Gen_i::SavePython | ( | ) |
References CleanPythonTrace(), ComponentDataType(), GetNewPythonLines(), and getStudyServant().
Referenced by Save().
| void SMESH_Gen_i::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.
Set number of segments per diagonal of boundary box of geometry by which default segment length of appropriate 1D hypotheses is defined.
References myGen, and SMESH_Gen::SetBoundaryBoxSegmentation().
| void SMESH_Gen_i::SetDefaultNbSegments | ( | CORBA::Long | theNbSegments | ) |
Sets default number of segments per edge.
Set default number of segments per edge.
References myGen, and SMESH_Gen::SetDefaultNbSegments().
| void SMESH_Gen_i::SetEmbeddedMode | ( | CORBA::Boolean | theMode | ) |
| void SMESH_Gen_i::SetEnablePublish | ( | CORBA::Boolean | theIsEnablePublish | ) |
SMESH_Gen_i::SetEnablePublish.
Set enable publishing in the study
References myIsEnablePublish.
Referenced by StdMeshers_LayerDistribution_i::LoadFrom().
| void SMESH_Gen_i::SetGeomEngine | ( | GEOM::GEOM_Gen_ptr | geomcompo | ) |
| void SMESH_Gen_i::SetName | ( | const char * | theIOR, |
| const char * | theName | ||
| ) |
Set a new object name
References GetORB(), ObjectToSObject(), and SetName().
Referenced by AddHypothesisToShape(), CopyMesh(), CopyMeshWithGeom(), CreateDualMesh(), SMESH_Mesh_i::ImportSTLFile(), SMESH_MeshEditor_i::makeMesh(), PublishComponent(), PublishGroup(), PublishHypothesis(), PublishMesh(), PublishSubMesh(), SMESH_GroupBase_i::SetName(), and SetName().
| void SMESH_Gen_i::SetName | ( | SALOMEDS::SObject_ptr | theSObject, |
| const char * | theName, | ||
| const char * | theDefaultName = 0 |
||
| ) |
References getStudyServant().
|
static |
References myNS.
|
virtual |
Set an option value.
References GetNS(), myDefaultGroupColor, myIsHistoricalPythonDump, myToForgetMeshDataOnHypModif, and SMESHDS_GroupBase::SetDefaultColor().
| void SMESH_Gen_i::SetPixMap | ( | SALOMEDS::SObject_ptr | theSObject, |
| const char * | thePixMap | ||
| ) |
|
static |
References GetORB(), GetShapeReader(), and mySMESHGen.
Referenced by SMESH_Mesh_i::createGroup(), SMESH_Mesh_i::CreateGroupServants(), FindGeometryByMeshElement(), GetHypothesisParameterValues(), SMESH_GroupOnGeom_i::GetShape(), SMESH_Mesh_i::GetShapeToMesh(), GetSoleSubMeshUsingHyp(), SMESH_subMesh_i::GetSubShape(), and Save().
|
static |
SObjectToObject [ static ].
Get CORBA object corresponding to the SALOMEDS::SObject
References GetORB().
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), FindGeometryByMeshElement(), GetAlgoSO(), GetGeometryByMeshElement(), GetGeomObjectByEntry(), getObjectInfo(), SMESH_Mesh_i::GetShapeToMesh(), GetSoleSubMeshUsingHyp(), SMESH_NoteBook::InitObjectMap(), Load(), SMESH_Mesh_i::newGroupShape(), SMESH_Mesh_i::onHypothesisModified(), PublishSubMesh(), SMESH_PreMeshInfo::RemoveStudyFiles_TMP_METHOD(), SMESH_NoteBook::ReplaceVariables(), Save(), UpdateIcons(), and UpdateStudy().
| bool SMESH_Gen_i::ToForgetMeshDataOnHypModif | ( | ) | const |
To load full mesh data from study at hyp modification or not.
| void SMESH_Gen_i::UpdateGroupIcon | ( | SMESH::SMESH_GroupBase_ptr | theGroup | ) |
References ObjectToSObject(), and SetPixMap().
Referenced by SMESH_Group_i::Add(), SMESH_Group_i::AddFrom(), ChangeByPredicate(), SMESH_Group_i::Clear(), SMESH_Mesh_i::CreateDimGroup(), SMESH_Mesh_i::CutGroups(), SMESH_Mesh_i::CutListOfGroups(), SMESH_Mesh_i::IntersectGroups(), SMESH_Mesh_i::IntersectListOfGroups(), SMESH_Group_i::Remove(), SMESH_GroupOnFilter_i::SetFilter(), and UpdateIcons().
| void SMESH_Gen_i::UpdateIcons | ( | SMESH::SMESH_Mesh_ptr | theMesh | ) |
References SMESH_Mesh_i::GetImpl(), getStudyServant(), SMESH_Mesh::GetSubMeshContaining(), SMESH_Mesh_i::HasShapeToMesh(), SMESH_Mesh_i::IsComputedOK(), SMESH_Mesh_i::NbNodes(), ObjectToSObject(), SetPixMap(), SObjectToObject(), SMESH::Tag_FirstSubMesh, and UpdateGroupIcon().
Referenced by SMESH_Mesh_i::AddHypothesis(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::Clear(), Compute(), SMESH_Mesh_i::onHypothesisModified(), SMESH_Mesh_i::RemoveHypothesis(), SMESH_Mesh_i::ReplaceShape(), and SMESH_Mesh_i::SetMeshOrder().
| void SMESH_Gen_i::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.
| [in] | theObject | - the object whose a method WILL be called with theParameters. |
| [in] | theParameters | - a string containing parameters separated by ':'. |
References getStudyServant(), myLastObj, myLastParameters, myLastParamIndex, and ObjectToSObject().
Referenced by SMESH_Mesh_i::SetParameters(), and SMESH::TPythonDump::~TPythonDump().
| void SMESH_Gen_i::UpdateStudy | ( | ) |
Update study (needed at switching GEOM->SMESH)
References ComponentDataType(), GetGeomEngine(), getStudyServant(), myStudyContext, and SObjectToObject().
Referenced by Load(), SMESHHOMARD_I::HOMARD_Gen_i::PublishResultInSmesh(), and Save().
|
private |
Referenced by GetOption(), and SetOption().
|
private |
|
staticprotected |
Referenced by SMESH_Gen_No_Session_i::GetGeomEngine(), SMESH_Gen_Session_i::GetGeomEngine(), and SetGeomEngine().
|
private |
Referenced by createHypothesis(), getHypothesisCreator(), PublishHypothesis(), and ~SMESH_Gen_i().
|
private |
Referenced by createMesh(), createParallelMesh(), IsEmbeddedMode(), SetEmbeddedMode(), and SMESH_Gen_i().
|
private |
|
private |
Referenced by DumpPython(), GetOption(), SetOption(), and SMESH_Gen_i().
|
private |
Referenced by UpdateParameters().
|
private |
Referenced by UpdateParameters().
|
private |
Referenced by UpdateParameters().
|
staticprivate |
Referenced by GetLCC().
|
staticprotected |
Referenced by GetNS(), SetNS(), and SMESH_Gen_No_Session_i::SMESH_Gen_No_Session_i().
|
staticprivate |
Referenced by SMESH_Gen_i().
|
staticprivate |
Referenced by createHypothesis(), and SMESH_Gen_i().
|
private |
Referenced by GetShapeReader(), SMESH_Gen_i(), and ~SMESH_Gen_i().
|
staticprivate |
Referenced by GeomObjectToShape(), GetGeomObjectByEntry(), ShapeToGeomObject(), and SMESH_Gen_i().
|
private |
Referenced by Close(), GetObjectId(), GetStudyContext(), IORToLocalPersistentID(), Load(), LocalPersistentIDToIOR(), RegisterObject(), Save(), SMESH_Gen_i(), UpdateStudy(), and ~SMESH_Gen_i().
|
private |
Referenced by GetOption(), SetOption(), and SMESH_Gen_i().