#include <SMESH_Gen_i.hxx>
Public Member Functions | |
GEOM::GEOM_Object_ptr | ShapeToGeomObject (const TopoDS_Shape &theShape) |
TopoDS_Shape | GeomObjectToShape (GEOM::GEOM_Object_ptr theGeomObject) |
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) | |
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 | SetCurrentStudy (SALOMEDS::Study_ptr theStudy) |
SMESH_Gen_i::SetCurrentStudy. More... | |
SALOMEDS::Study_ptr | GetCurrentStudy () |
SMESH_Gen_i::GetCurrentStudy. More... | |
SMESH::SMESH_Hypothesis_ptr | CreateHypothesis (const char *theHypType, const char *theLibName) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateHypothesis. More... | |
SMESH::SMESH_Hypothesis_ptr | GetHypothesisParameterValues (const char *theHypType, const char *theLibName, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theGeom, CORBA::Boolean byMesh) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateMesh. More... | |
SMESH::SMESH_Mesh_ptr | CreateEmptyMesh () throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateEmptyMesh. More... | |
SMESH::SMESH_Mesh_ptr | CreateMeshesFromUNV (const char *theFileName) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateMeshFromUNV. More... | |
SMESH::mesh_array * | CreateMeshesFromMED (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) throw ( SALOME::SALOME_Exception ) |
SMESH::mesh_array * | CreateMeshesFromSAUV (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateMeshFromSAUV. More... | |
SMESH::SMESH_Mesh_ptr | CreateMeshesFromSTL (const char *theFileName) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateMeshFromSTL. More... | |
SMESH::mesh_array * | CreateMeshesFromCGNS (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) throw ( SALOME::SALOME_Exception ) |
Create meshes and import data from the CGSN file. More... | |
SMESH::SMESH_Mesh_ptr | CreateMeshesFromGMF (const char *theFileName, CORBA::Boolean theMakeRequiredGroups, SMESH::ComputeError_out theError) throw ( SALOME::SALOME_Exception ) |
Create a mesh and import data from a GMF file. 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 | Compute (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
Return errors of mesh computation. More... | |
SMESH::long_array * | Evaluate (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
Returns errors of hypotheses definintion. More... | |
SMESH::MeshPreviewStruct * | GetBadInputElements (SMESH::SMESH_Mesh_ptr theMesh, CORBA::Short theSubShapeID) throw ( SALOME::SALOME_Exception ) |
Return mesh elements preventing computation of a subshape. More... | |
SMESH::ListOfGroups * | MakeGroupsOfBadInputElements (SMESH::SMESH_Mesh_ptr theMesh, CORBA::Short theSubShapeID, const char *theGroupName) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::GetSubShapesId. More... | |
GEOM::GEOM_Object_ptr | GetGeometryByMeshElement (SMESH::SMESH_Mesh_ptr theMesh, CORBA::Long theElementID, const char *theGeomName) throw ( SALOME::SALOME_Exception ) |
Return geometrical object the given element is built on. More... | |
GEOM::GEOM_Object_ptr | FindGeometryByMeshElement (SMESH::SMESH_Mesh_ptr theMesh, CORBA::Long theElementID) throw ( SALOME::SALOME_Exception ) |
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) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::ConcatenateCommon. More... | |
SMESH::SMESH_Mesh_ptr | Concatenate (const SMESH::ListOfIDSources &meshesArray, CORBA::Boolean uniteIdenticalGroups, CORBA::Boolean mergeNodesAndElements, CORBA::Double mergeTolerance) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::Concatenate. More... | |
SMESH::SMESH_Mesh_ptr | ConcatenateWithGroups (const SMESH::ListOfIDSources &meshesArray, CORBA::Boolean uniteIdenticalGroups, CORBA::Boolean mergeNodesAndElements, CORBA::Double mergeTolerance) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::ConcatenateWithGroups. More... | |
CORBA::Boolean | GetMEDVersion (const char *theFileName, SMESH::MED_VERSION &theVersion) |
SMESH_Gen_i::GetMEDVersion. 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::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theObject, const char *theName) throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::PublishInStudy. More... | |
CORBA::Boolean | CanCopy (SALOMEDS::SObject_ptr theObject) |
SALOMEDS::TMPFile * | CopyFrom (SALOMEDS::SObject_ptr theObject, CORBA::Long &theObjectID) |
CORBA::Boolean | CanPaste (const char *theComponentName, CORBA::Long theObjectID) |
SALOMEDS::SObject_ptr | PasteInto (const SALOMEDS::TMPFile &theStream, CORBA::Long theObjectID, SALOMEDS::SObject_ptr theObject) |
virtual char * | getVersion () |
virtual Engines::TMPFile * | DumpPython (CORBA::Object_ptr theStudy, CORBA::Boolean isPublished, CORBA::Boolean isMultiFile, CORBA::Boolean &isValidScript) |
void | AddToPythonScript (int theStudyID, const TCollection_AsciiString &theString) |
AddToPythonScript. More... | |
void | RemoveLastFromPythonScript (int theStudyID) |
RemoveLastFromPythonScript. More... | |
void | SavePython (SALOMEDS::Study_ptr theStudy) |
TCollection_AsciiString | DumpPython_impl (SALOMEDS::Study_ptr theStudy, Resource_DataMapOfAsciiStringAsciiString &theObjectNames, Resource_DataMapOfAsciiStringAsciiString &theNames, bool isPublished, bool isMultiFile, bool isHistoricalDump, bool &aValidScript, TCollection_AsciiString &theSavedTrace) |
Createa a Dump Python script. More... | |
TCollection_AsciiString | GetNewPythonLines (int theStudyID) |
GetNewPythonLines. More... | |
void | CleanPythonTrace (int theStudyID) |
CleanPythonTrace. More... | |
GEOM_Client * | GetShapeReader () |
SMESH_Gen_i::GetShapeReader. More... | |
SALOMEDS::SComponent_ptr | PublishComponent (SALOMEDS::Study_ptr theStudy) |
SALOMEDS::SObject_ptr | PublishMesh (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, const char *theName=0) |
SALOMEDS::SObject_ptr | PublishHypothesis (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Hypothesis_ptr theHyp, const char *theName=0) |
SALOMEDS::SObject_ptr | PublishSubMesh (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, SMESH::SMESH_subMesh_ptr theSubMesh, GEOM::GEOM_Object_ptr theShapeObject, const char *theName=0) |
SALOMEDS::SObject_ptr | PublishGroup (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, SMESH::SMESH_GroupBase_ptr theGroup, GEOM::GEOM_Object_ptr theShapeObject, const char *theName=0) |
bool | AddHypothesisToShape (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject, SMESH::SMESH_Hypothesis_ptr theHyp) |
bool | RemoveHypothesisFromShape (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject, SMESH::SMESH_Hypothesis_ptr theHyp) |
SALOMEDS::SObject_ptr | GetMeshOrSubmeshByShape (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShape) |
StudyContext * | GetCurrentStudyContext () |
SMESH_Gen_i::GetCurrentStudyContext. 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) |
int | GetCurrentStudyID () |
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) |
Returns true if algorithm can be used to mesh a given geometry. More... | |
SMESH::long_array * | GetInsideSphere (SMESH::SMESH_IDSource_ptr meshPart, SMESH::ElementType theElemType, CORBA::Double theX, CORBA::Double theY, CORBA::Double theZ, CORBA::Double theR) |
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) |
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) |
SMESH::long_array * | GetInside (SMESH::SMESH_IDSource_ptr meshPart, SMESH::ElementType theElemType, GEOM::GEOM_Object_ptr theGeom, CORBA::Double theTolerance) |
Static Public Member Functions | |
static SMESH_Gen_i * | GetSMESHGen () |
static CORBA::ORB_var | GetORB () |
static PortableServer::POA_var | GetPOA () |
static SALOME_NamingService * | GetNS () |
GetNS [ static ]. More... | |
static SALOME_LifeCycleCORBA * | GetLCC () |
GetLCC [ static ]. More... | |
static GEOM::GEOM_Gen_var | GetGeomEngine () |
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 SALOMEDS::SObject_ptr | ObjectToSObject (SALOMEDS::Study_ptr theStudy, CORBA::Object_ptr theObject) |
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 void | SetName (SALOMEDS::SObject_ptr theSObject, const char *theName, const char *theDefaultName=0) |
static void | SetPixMap (SALOMEDS::SObject_ptr theSObject, const char *thePixMap) |
Private Member Functions | |
GenericHypothesisCreator_i * | getHypothesisCreator (const char *theHypName, const char *theLibName, std::string &thePlatformLibName) throw ( SALOME::SALOME_Exception ) |
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 () throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::createMesh. More... | |
SMESH::mesh_array * | CreateMeshesFromMEDorSAUV (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus, const char *theCommandNameForPython, const char *theFileNameForPython) |
SMESH_Gen_i::CreateMeshFromMED. More... | |
void | setCurrentStudy (SALOMEDS::Study_ptr theStudy, bool theStudyIsBeingClosed=false) |
std::vector< long > | _GetInside (SMESH::SMESH_IDSource_ptr meshPart, SMESH::ElementType theElemType, TopoDS_Shape &aShape, double *theTolerance=NULL) |
Static Private Member Functions | |
static void | loadGeomData (SALOMEDS::SComponent_ptr theCompRoot) |
SMESH_Gen_i::loadGeomData. More... | |
Private Attributes | |
::SMESH_Gen | myGen |
std::map< std::string, GenericHypothesisCreator_i * > | myHypCreatorMap |
std::map< int, StudyContext * > | myStudyContextMap |
GEOM_Client * | myShapeReader |
SALOMEDS::Study_var | myCurrentStudy |
CORBA::Boolean | myIsEmbeddedMode |
std::string | myDefaultGroupColor |
bool | myToForgetMeshDataOnHypModif |
std::map< int, Handle(TColStd_HSequenceOfAsciiString) > | myPythonScripts |
bool | myIsHistoricalPythonDump |
std::vector< int > | myLastParamIndex |
std::vector< std::string > | myLastParameters |
std::string | myLastObj |
Static Private Attributes | |
static GEOM::GEOM_Gen_var | myGeomGen = GEOM::GEOM_Gen::_nil() |
static CORBA::ORB_var | myOrb |
static PortableServer::POA_var | myPoa |
static SALOME_NamingService * | myNS = NULL |
static SALOME_LifeCycleCORBA * | myLCC = NULL |
static SMESH_Gen_i * | mySMESHGen = NULL |
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 | ||
) |
Standard constructor, used with Container
References GetNS(), myIsEmbeddedMode, myIsHistoricalPythonDump, myOrb, myPoa, myShapeReader, mySMESHGen, myToForgetMeshDataOnHypModif, and SetEmbeddedMode().
|
virtual |
Destructor
References myHypCreatorMap, myShapeReader, and myStudyContextMap.
|
private |
References SMESH::ALL, SMDS_Mesh::elementsIterator(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMDS_MeshElement::GetID(), SMESH_Mesh_i::GetImpl(), 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().
bool SMESH_Gen_i::AddHypothesisToShape | ( | SALOMEDS::Study_ptr | theStudy, |
SMESH::SMESH_Mesh_ptr | theMesh, | ||
GEOM::GEOM_Object_ptr | theShapeObject, | ||
SMESH::SMESH_Hypothesis_ptr | theHyp | ||
) |
void SMESH_Gen_i::AddToPythonScript | ( | int | theStudyID, |
const TCollection_AsciiString & | theString | ||
) |
void SMESH_Gen_i::CancelCompute | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
GEOM::GEOM_Object_ptr | theShapeObject | ||
) |
Cancel Compute mesh on a shape
References GeomObjectToShape(), SMESH_Mesh_i::GetImpl(), GetServant(), myGen, and SMESH_Mesh::PseudoShape().
CORBA::Boolean SMESH_Gen_i::CanCopy | ( | SALOMEDS::SObject_ptr | theObject | ) |
CORBA::Boolean SMESH_Gen_i::CanPaste | ( | const char * | theComponentName, |
CORBA::Long | theObjectID | ||
) |
bool SMESH_Gen_i::CanPublishInStudy | ( | CORBA::Object_ptr | theIOR | ) |
SMESH_Gen_i::CanPublishInStudy.
Returns true if object can be published in the study
References MESSAGE.
Referenced by CreateEmptyMesh(), CreateMeshesFromMEDorSAUV(), and SMESH::TPythonDump::operator<<().
void SMESH_Gen_i::CleanPythonTrace | ( | int | theStudyID | ) |
void SMESH_Gen_i::Close | ( | SALOMEDS::SComponent_ptr | theComponent | ) |
Clears study-connected data when it is closed
References GetCurrentStudyID(), MESSAGE, myCurrentStudy, MYDEBUG, myStudyContextMap, SMESH_PreMeshInfo::RemoveStudyFiles_TMP_METHOD(), and setCurrentStudy().
char * SMESH_Gen_i::ComponentDataType | ( | ) |
SMESH_Gen_i::ComponentDataType.
Get component data type
References MESSAGE, and MYDEBUG.
Referenced by DumpPython(), GetAlgoSO(), GetSoleSubMeshUsingHyp(), SMESH_NoteBook::InitObjectMap(), SavePython(), and setCurrentStudy().
CORBA::Boolean SMESH_Gen_i::Compute | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
GEOM::GEOM_Object_ptr | theShapeObject | ||
) | throw ( SALOME::SALOME_Exception ) |
Compute mesh on a shape
References SMESH_Mesh_i::CheckGeomModif(), SMESH_Gen::COMPACT_MESH, SMESH_Mesh_i::CreateGroupServants(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh_i::Load(), MESSAGE, MYDEBUG, SMESH_Mesh::PseudoShape(), and SMESH_Gen::SHAPE_ONLY.
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::Concatenate | ( | const SMESH::ListOfIDSources & | theMeshesArray, |
CORBA::Boolean | theUniteIdenticalGroups, | ||
CORBA::Boolean | theMergeNodesAndElements, | ||
CORBA::Double | theMergeTolerance | ||
) | throw ( SALOME::SALOME_Exception ) |
Concatenate the given meshes into one mesh
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ConcatenateCommon | ( | const SMESH::ListOfIDSources & | theMeshesArray, |
CORBA::Boolean | theUniteIdenticalGroups, | ||
CORBA::Boolean | theMergeNodesAndElements, | ||
CORBA::Double | theMergeTolerance, | ||
CORBA::Boolean | theCommonGroups | ||
) | throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::ConcatenateCommon.
Concatenate the given meshes into one mesh
References SMESHDS_Mesh::AddNode(), SMESH::ALL, SMESH_Mesh_i::CreateGroup(), SMESH_Mesh_i::GetElements(), SMDS_MeshElement::GetID(), SMESH_Mesh_i::GetImpl(), SMDS_MeshElement::GetType(), SMESH_MeshEditor::ElemFeatures::Init(), SMESH_Mesh_i::Load(), SMDS_Mesh::Modified(), SMESH::NB_ELEMENT_TYPES, SMDS_MeshNode::NbInverseElements(), SMDS_MeshElement::NbNodes(), SMESH::NODE, SMDS_MeshElement::nodesIterator(), SMDSAbs_Node, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::ConcatenateWithGroups | ( | const SMESH::ListOfIDSources & | theMeshesArray, |
CORBA::Boolean | theUniteIdenticalGroups, | ||
CORBA::Boolean | theMergeNodesAndElements, | ||
CORBA::Double | theMergeTolerance | ||
) | throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::ConcatenateWithGroups.
Concatenate the given meshes into one mesh Create the groups of all elements from initial meshes
SALOMEDS::TMPFile* SMESH_Gen_i::CopyFrom | ( | SALOMEDS::SObject_ptr | theObject, |
CORBA::Long & | theObjectID | ||
) |
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(), SMESHDS_Mesh::AddNode(), SMESHDS_Mesh::AddNodeWithID(), CreateMesh(), SMDS_Mesh::elementsIterator(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESHDS_GroupBase::GetElements(), SMDS_MeshElement::GetID(), SMESH_Mesh_i::GetImpl(), SMDS_Mesh::GetMeshInfo(), SMESHDS_GroupBase::GetType(), SMDS_MeshElement::GetType(), SMESH_Mesh_i::Load(), SMDS_Mesh::Modified(), myCurrentStudy, SMDS_MeshInfo::NbElements(), SMDS_MeshNode::NbInverseElements(), SMDS_MeshElement::NbNodes(), SMDS_Mesh::NbNodes(), SMESH::NODE, SMDS_MeshElement::nodesIterator(), SMDS_Mesh::nodesIterator(), ObjectToSObject(), SetName(), SetPixMap(), SMDSAbs_NbElementTypes, SMDSAbs_Node, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by SMESH_MeshEditor_i::MakeBoundaryElements().
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateEmptyMesh | ( | ) | throw ( SALOME::SALOME_Exception ) |
Create empty mesh
References CanPublishInStudy(), createMesh(), MESSAGE, myCurrentStudy, MYDEBUG, and PublishMesh().
Referenced by SMESH_MeshEditor_i::makeMesh().
SMESH::FilterManager_ptr SMESH_Gen_i::CreateFilterManager | ( | ) |
SMESH_Gen_i::CreateFilterManager.
Create filter manager
SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::CreateHypothesis | ( | const char * | theHypName, |
const char * | theLibName | ||
) | throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateHypothesis.
Create hypothesis/algorothm of given type and publish it in the study
Referenced by StdMeshers_LayerDistribution_i::LoadFrom().
|
private |
SMESH_Gen_i::createHypothesis.
Create hypothesis of given type
References GenericHypothesisCreator_i::Create(), GetCurrentStudyID(), getHypothesisCreator(), SMESH_Hypothesis_i::GetName(), MESSAGE, MYDEBUG, myGen, myHypCreatorMap, myPoa, RegisterObject(), and SMESH_Hypothesis_i::SetLibName().
Referenced by Load().
SMESH::Measurements_ptr SMESH_Gen_i::CreateMeasurements | ( | ) |
SMESH_Gen_i::CreateMeasurements.
Create measurement instance
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMesh | ( | GEOM::GEOM_Object_ptr | theShapeObject | ) | throw ( SALOME::SALOME_Exception ) |
Create empty mesh on a shape and publish it in the study
References MESSAGE, MYDEBUG, and SMESH_Mesh_i::SetShape().
Referenced by CopyMesh().
|
private |
Create empty mesh on shape
References GetCurrentStudyID(), GetPOA(), MESSAGE, MYDEBUG, myGen, myIsEmbeddedMode, RegisterObject(), and SMESH_Mesh_i::SetImpl().
Referenced by CreateEmptyMesh(), CreateMeshesFromMEDorSAUV(), and Load().
SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromCGNS | ( | const char * | theFileName, |
SMESH::DriverMED_ReadStatus & | theStatus | ||
) | throw ( SALOME::SALOME_Exception ) |
Create meshes and import data from the CGSN file.
References SMESH::DRS_OK, SMESH_Mesh_i::GetImpl(), DriverCGNS_Read::GetNbMeshes(), SMESH_Mesh_i::ImportCGNSFile(), and Driver_Mesh::SetFile().
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromGMF | ( | const char * | theFileName, |
CORBA::Boolean | theMakeRequiredGroups, | ||
SMESH::ComputeError_out | theError | ||
) | throw ( SALOME::SALOME_Exception ) |
Create a mesh and import data from a GMF file.
References SMESH_Mesh_i::GetImpl(), and SMESH_Mesh_i::ImportGMFFile().
SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromMED | ( | const char * | theFileName, |
SMESH::DriverMED_ReadStatus & | theStatus | ||
) | throw ( SALOME::SALOME_Exception ) |
|
private |
SMESH_Gen_i::CreateMeshFromMED.
Create mesh and import data from MED file
References CanPublishInStudy(), createMesh(), SMESH::DRS_OK, GetCurrentStudyID(), SMESH_Mesh_i::GetImpl(), DriverMED_R_SMESHDS_Mesh::GetMeshNames(), GetServant(), SMESH_Mesh_i::ImportMEDFile(), myCurrentStudy, PublishMesh(), Driver_Mesh::SetFile(), and Driver_Mesh::SetMeshId().
SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromSAUV | ( | const char * | theFileName, |
SMESH::DriverMED_ReadStatus & | theStatus | ||
) | throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateMeshFromSAUV.
Create mesh and import data from SAUV file
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromSTL | ( | const char * | theFileName | ) | throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateMeshFromSTL.
Create mesh and import data from STL file
References SMESH_Mesh_i::GetImpl(), and SMESH_Mesh_i::ImportSTLFile().
SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromUNV | ( | const char * | theFileName | ) | throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::CreateMeshFromUNV.
Create mesh and import data from UNV file
References SMESH_Mesh_i::GetGroups(), SMESH_Mesh_i::GetImpl(), and SMESH_Mesh_i::ImportUNVFile().
|
virtual |
TCollection_AsciiString SMESH_Gen_i::DumpPython_impl | ( | SALOMEDS::Study_ptr | theStudy, |
Resource_DataMapOfAsciiStringAsciiString & | theObjectNames, | ||
Resource_DataMapOfAsciiStringAsciiString & | theNames, | ||
bool | isPublished, | ||
bool | isMultiFile, | ||
bool | isHistoricalDump, | ||
bool & | aValidScript, | ||
TCollection_AsciiString & | theSavedTrace | ||
) |
Createa a Dump Python script.
[in] | theStudy | - the study to dump |
[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 SMESH_2smeshpy::ConvertScript(), SMESH::TPythonDump::CutoutLongString(), SMESH_2smeshpy::GenName(), Handle(), SMESH::printException(), SMESH::TVar::Quote(), second, SMESH_CATCH, SMESH_TRY, SMESH::TPythonDump::SMESHGenName(), and SMESH_2smeshpy::SmeshpyName().
Referenced by DumpPython().
SMESH::long_array * SMESH_Gen_i::Evaluate | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
GEOM::GEOM_Object_ptr | theShapeObject | ||
) | throw ( SALOME::SALOME_Exception ) |
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_Mesh_i::GetImpl(), SMESH_Mesh_i::Load(), MESSAGE, MYDEBUG, and SMESH_Mesh::PseudoShape().
GEOM::GEOM_Object_ptr SMESH_Gen_i::FindGeometryByMeshElement | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
CORBA::Long | theElementID | ||
) | throw ( SALOME::SALOME_Exception ) |
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(), SMESH_Mesh_i::GetImpl(), SMESHDS_Mesh::IndexToShape(), and SMESH::SObjectToObject().
TopoDS_Shape SMESH_Gen_i::GeomObjectToShape | ( | GEOM::GEOM_Object_ptr | theGeomObject | ) |
Referenced by SMESH_Mesh_i::addHypothesis(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_Pattern_i::ApplyTo3DBlock(), SMESH_Pattern_i::ApplyToFace(), CancelCompute(), SMESH_Mesh_i::CheckGeomModif(), StdMeshers_CartesianParameters3D_i::ComputeOptimalAxesDirs(), SMESH_MeshEditor_i::CreateHoleSkin(), SMESH_Mesh_i::createSubMesh(), SMESH_MeshEditor_i::DoubleNodeElemGroupInRegion(), SMESH_MeshEditor_i::DoubleNodeElemGroupsInRegion(), SMESH_MeshEditor_i::DoubleNodeElemInRegion(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), GetInside(), getShapeByID(), getShapeByName(), IsApplicable(), SMESH_MeshEditor_i::LinearAnglesVariation(), Load(), SMESH_Pattern_i::LoadFrom3DBlock(), SMESH_Pattern_i::LoadFromFace(), SMESH_Mesh_i::newGroupShape(), SMESH_Mesh_i::removeHypothesis(), SMESH::BelongToGenSurface_i::SetSurface(), and SMESH::ConnectedElements_i::SetVertex().
|
static |
References SMESH::Tag_0DElementsGroups.
|
static |
References SMESH::Tag_AlgorithmsRoot.
Referenced by GetAlgoSO(), 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(), myCurrentStudy, and SObjectToObject().
SMESH::algo_error_array * SMESH_Gen_i::GetAlgoState | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
GEOM::GEOM_Object_ptr | theSubObject | ||
) | throw ( SALOME::SALOME_Exception ) |
Returns errors of hypotheses definintion.
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(), SMESH_Mesh_i::GetImpl(), SMESH::AlgoStateError::isGlobalAlgo, MESSAGE, MYDEBUG, 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 |
Referenced by SMESH_NoteBook::InitObjectMap().
SMESH::MeshPreviewStruct * SMESH_Gen_i::GetBadInputElements | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
CORBA::Short | theSubShapeID | ||
) | throw ( SALOME::SALOME_Exception ) |
Return mesh elements preventing computation of a subshape.
References SMDS_MeshElement::GetType(), SMDS_MeshElement::IsPoly(), MESSAGE, MYDEBUG, 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 | ||
) | throw ( SALOME::SALOME_Exception ) |
Return errors of mesh computation.
References SMESH::ComputeError::algoName, SMESH::ComputeError::code, SMESH::ComputeError::comment, SMESH::ComputeError::hasBadMesh, MESSAGE, MYDEBUG, SMESH_Mesh::PseudoShape(), and SMESH::ComputeError::subShapeID.
SALOMEDS::Study_ptr SMESH_Gen_i::GetCurrentStudy | ( | ) |
Get current study
References GetCurrentStudyID(), MESSAGE, myCurrentStudy, and MYDEBUG.
Referenced by SMESH_Mesh_i::addGeomGroupData(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::checkGroupNames(), SMESH_Mesh_i::CreateGroupServants(), SMESH_Mesh_i::GetLastParameters(), SMESH_NoteBook::GetReal(), getShapeByID(), getShapeByName(), SMESH_Mesh_i::GetShapeToMesh(), SMESH_NoteBook::InitObjectMap(), StdMeshers_LayerDistribution_i::LoadFrom(), SMESH_MeshEditor_i::makeMesh(), SMESH_Mesh_i::newGroupShape(), SMESH::TPythonDump::operator<<(), SMESH_Mesh_i::prepareMeshNameAndGroups(), SMESH_NoteBook::ReplaceVariables(), StdMeshers_ImportSource1D_i::SaveTo(), StdMeshers_ImportSource2D_i::SaveTo(), SMESH::BelongToMeshGroup_i::SetGroupID(), SMESH_GroupBase_i::SetName(), StdMeshers_ImportSource1D_i::SetSourceEdges(), StdMeshers_ImportSource2D_i::SetSourceFaces(), SMESH::ConnectedElements_i::SetThreshold(), and SMESH::TPythonDump::~TPythonDump().
StudyContext * SMESH_Gen_i::GetCurrentStudyContext | ( | ) |
SMESH_Gen_i::GetCurrentStudyContext.
Get current study context
References GetCurrentStudyID(), myCurrentStudy, and myStudyContextMap.
Referenced by SMESH::BelongToMeshGroup_i::GetGroup(), GetObjectId(), IORToLocalPersistentID(), Load(), LocalPersistentIDToIOR(), RegisterObject(), and Save().
int SMESH_Gen_i::GetCurrentStudyID | ( | ) |
|
static |
References SMESH::Tag_EdgeGroups.
|
static |
References SMESH::Tag_FaceGroups.
|
static |
GetGeomEngine [ static ].
Get GEOM::GEOM_Gen reference
Referenced by SMESH_Mesh_i::addGeomGroupData(), SMESH_Mesh_i::CheckGeomModif(), loadGeomData(), SMESH_Mesh_i::newGroupShape(), setCurrentStudy(), SMESH::BelongToGeom_i::SetGeom(), SMESH::LyingOnGeom_i::SetGeom(), and SMESH::BelongToSurface_i::SetSurface().
GEOM::GEOM_Object_ptr SMESH_Gen_i::GetGeometryByMeshElement | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
CORBA::Long | theElementID, | ||
const char * | theGeomName | ||
) | throw ( SALOME::SALOME_Exception ) |
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 SMESH::SObjectToObject().
|
private |
SMESH_Gen_i::getHypothesisCreator.
Get hypothesis creator
References SMESH::GetHypothesisCreator(), GetProc, LibHandle, LoadLib, MESSAGE, MYDEBUG, 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, | ||
CORBA::Boolean | byMesh | ||
) | throw ( SALOME::SALOME_Exception ) |
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::_elemLength, SMESH_Hypothesis::TDefaults::_nbSegments, SMESH_Hypothesis::TDefaults::_shape, SMESH_Hypothesis_i::GetImpl(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh::GetShapeDiagonalSize(), and SMESH_Mesh_i::NbNodes().
|
static |
Get...Tag [ static ].
Methods which determine SMESH data model structure
References SMESH::Tag_HypothesisRoot.
Referenced by Save().
SMESH::long_array * SMESH_Gen_i::GetInside | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
SMESH::ElementType | theElemType, | ||
GEOM::GEOM_Object_ptr | theGeom, | ||
CORBA::Double | theTolerance | ||
) |
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 | ||
) |
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 | ||
) |
References _GetInside(), and Abs().
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 | ||
) |
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
CORBA::Boolean SMESH_Gen_i::GetMEDVersion | ( | const char * | theFileName, |
SMESH::MED_VERSION & | theVersion | ||
) |
Get MED version of the file by its name
References MED::eV2_1, MED::eV2_2, MED::eVUnknown, MED::GetVersionId(), SMESH::MED_V2_1, and SMESH::MED_V2_2.
SMESH::string_array * SMESH_Gen_i::GetMeshNames | ( | const char * | theFileName | ) |
Get names of meshes defined in file with the specified name
References MED::CrWrapper().
SALOMEDS::SObject_ptr SMESH_Gen_i::GetMeshOrSubmeshByShape | ( | SALOMEDS::Study_ptr | theStudy, |
SMESH::SMESH_Mesh_ptr | theMesh, | ||
GEOM::GEOM_Object_ptr | theShape | ||
) |
TCollection_AsciiString SMESH_Gen_i::GetNewPythonLines | ( | int | theStudyID | ) |
|
static |
References SMESH::Tag_NodeGroups.
|
static |
GetNS [ static ].
Get SALOME_NamingService object
Referenced by 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(), GetCurrentStudyContext(), and GetORB().
|
virtual |
Return an option value.
References myDefaultGroupColor, myIsHistoricalPythonDump, and myToForgetMeshDataOnHypModif.
|
static |
Referenced by SMESH_GroupOnFilter_i::FilterToString(), SMESH::BelongToMeshGroup_i::GetGroup(), SMESH::BelongToMeshGroup_i::GetGroupID(), GetObjectId(), MeshEditor_I::getPartIOR(), Load(), ObjectToSObject(), publish(), RegisterObject(), Save(), SMESH::BelongToMeshGroup_i::SetGroupID(), and SetName().
char * SMESH_Gen_i::GetParameters | ( | CORBA::Object_ptr | theObject | ) |
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 Save().
|
static |
References SMESH::Tag_RefOnAppliedHypothesis.
Referenced by Save().
|
static |
References SMESH::Tag_RefOnShape.
Referenced by SMESH_Mesh_i::RemoveSubMesh(), and Save().
|
static |
GetServant [ static ].
Get servant of the CORBA object
Referenced by _GetInside(), SMESH_MeshEditor_i::BestSplit(), CancelCompute(), CreateMeshesFromMEDorSAUV(), SMESH::DownCast(), SMESH_Pattern_i::getMesh(), Load(), objectToServant(), SMESH_MeshEditor_i::QuadToTri(), Save(), and SMESH_MeshEditor_i::TriToQuad().
GEOM_Client * SMESH_Gen_i::GetShapeReader | ( | ) |
Get shape reader
References myShapeReader.
Referenced by SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::newGroupShape(), SMESH::BelongToGeom_i::SetGeom(), SMESH::LyingOnGeom_i::SetGeom(), SMESH::BelongToSurface_i::SetSurface(), and SMESH_Mesh_i::~SMESH_Mesh_i().
|
static |
Referenced by SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), StdMeshers_CartesianParameters3D_i::ComputeOptimalAxesDirs(), SMESH_MeshEditor_i::CreateHoleSkin(), SMESH_MeshEditor_i::DoubleNodeElemGroupInRegion(), SMESH_MeshEditor_i::DoubleNodeElemGroupsInRegion(), SMESH_MeshEditor_i::DoubleNodeElemInRegion(), StdMeshers_ObjRefUlils::EntryOrShapeToGeomObject(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_PreMeshInfo::ForgetOrLoad(), StdMeshers_ObjRefUlils::GeomObjectToShape(), 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::TPythonDump::operator<<(), 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(), GetCurrentStudyID(), SMESH_Mesh_i::GetImpl(), SMESH_Mesh_i::GetShapeToMesh(), SMESH_Mesh_i::HasShapeToMesh(), myCurrentStudy, ShapeToGeomObject(), and SObjectToObject().
|
static |
References SMESH::Tag_SubMeshOnCompound.
|
static |
References SMESH::Tag_SubMeshOnEdge.
|
static |
References SMESH::Tag_SubMeshOnFace.
|
static |
References SMESH::Tag_SubMeshOnShell.
|
static |
References SMESH::Tag_SubMeshOnSolid.
|
static |
References SMESH::Tag_SubMeshOnVertex.
|
static |
References SMESH::Tag_SubMeshOnWire.
SMESH::long_array * SMESH_Gen_i::GetSubShapesId | ( | GEOM::GEOM_Object_ptr | theMainShapeObject, |
const SMESH::object_array & | theListOfSubShapeObject | ||
) | throw ( SALOME::SALOME_Exception ) |
Get sub-shapes unique ID's list
|
virtual |
|
static |
References SMESH::Tag_VolumeGroups.
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(), GetCurrentStudyContext(), MESSAGE, and MYDEBUG.
CORBA::Boolean SMESH_Gen_i::IsApplicable | ( | const char * | theAlgoType, |
const char * | theLibName, | ||
GEOM::GEOM_Object_ptr | theGeomObject, | ||
CORBA::Boolean | toCheckAll | ||
) |
Returns true if algorithm can be used to mesh a given geometry.
[in] | theAlgoType | - the algorithm type |
[in] | theLibName | - a name of the Plug-in library implementing the algorithm |
[in] | theGeomObject | - the geometry to mesh |
[in] | toCheckAll | - if True , returns True if all shapes are meshable, else, returns True if at least one shape is meshable |
References SMESH::doNothing(), GeomObjectToShape(), getHypothesisCreator(), SMESH_CATCH, and SMESH_TRY.
CORBA::Boolean SMESH_Gen_i::IsEmbeddedMode | ( | ) |
CORBA::Boolean SMESH_Gen_i::IsReadyToCompute | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
GEOM::GEOM_Object_ptr | theShapeObject | ||
) | throw ( SALOME::SALOME_Exception ) |
SMESH_Gen_i::IsReadyToCompute.
Returns true if mesh contains enough data to be computed
References SMESH_Mesh_i::GetImpl(), MESSAGE, and MYDEBUG.
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(), StudyContext::findId(), GeomObjectToShape(), Get0DElementsGroupsTag(), GetBallElementsGroupsTag(), GetCurrentStudyContext(), GetCurrentStudyID(), GetEdgeGroupsTag(), GetFaceGroupsTag(), SMESH_GroupBase_i::GetGroupDS(), SMESH_Mesh_i::GetImpl(), StudyContext::getIORbyOldId(), GetNodeGroupsTag(), StudyContext::getOldId(), GetORB(), SMESH_GroupOnFilter_i::GetPredicate(), GetServant(), SMESH_Mesh_i::GetShapeToMesh(), GetSubMeshOnCompoundTag(), GetSubMeshOnEdgeTag(), GetSubMeshOnFaceTag(), GetSubMeshOnShellTag(), GetSubMeshOnSolidTag(), GetSubMeshOnVertexTag(), GetSubMeshOnWireTag(), GetVolumeGroupsTag(), SMESH_Mesh_i::HasShapeToMesh(), SMESH_Hypothesis_i::LoadFrom(), SMESH_PreMeshInfo::LoadFromFile(), StudyContext::mapOldToNew(), MESSAGE, myCurrentStudy, MYDEBUG, SMESH_Mesh::PseudoShape(), SMESHDS_GroupBase::SetColor(), SetCurrentStudy(), SMESH_Mesh_i::SetShape(), SMESHDS_GroupBase::SetStoreName(), SObjectToObject(), SMESH_GroupOnFilter_i::StringToFilter(), SMESH_subMesh::SUBMESH_RESTORED, and SMESH_Hypothesis_i::UpdateAsMeshesRestored().
Referenced by LoadASCII().
bool SMESH_Gen_i::LoadASCII | ( | SALOMEDS::SComponent_ptr | theComponent, |
const SALOMEDS::TMPFile & | theStream, | ||
const char * | theURL, | ||
bool | isMultiFile | ||
) |
Load SMESH module's data in ASCII format
|
staticprivate |
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 GetCurrentStudyContext(), StudyContext::getIORbyOldId(), MESSAGE, and MYDEBUG.
SMESH::ListOfGroups * SMESH_Gen_i::MakeGroupsOfBadInputElements | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
CORBA::Short | theSubShapeID, | ||
const char * | theGroupName | ||
) | throw ( SALOME::SALOME_Exception ) |
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 | ||
) |
|
static |
References GetORB().
Referenced by SMESH_Mesh_i::addGeomGroupData(), addReference(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::checkGroupNames(), CopyMesh(), SMESH_Hypothesis_i::IsPublished(), SMESH_MeshEditor_i::makeMesh(), SMESH::TPythonDump::operator<<(), SMESH_Mesh_i::prepareMeshNameAndGroups(), publish(), SMESH_GroupBase_i::SetName(), SetName(), StdMeshers_ImportSource1D_i::SetSourceEdges(), and StdMeshers_ImportSource2D_i::SetSourceFaces().
SALOMEDS::SObject_ptr SMESH_Gen_i::PasteInto | ( | const SALOMEDS::TMPFile & | theStream, |
CORBA::Long | theObjectID, | ||
SALOMEDS::SObject_ptr | theObject | ||
) |
SMESH::MeshPreviewStruct * SMESH_Gen_i::Precompute | ( | SMESH::SMESH_Mesh_ptr | theMesh, |
GEOM::GEOM_Object_ptr | theShapeObject, | ||
SMESH::Dimension | theDimension, | ||
SMESH::long_array & | theShapesId | ||
) | throw ( SALOME::SALOME_Exception ) |
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::DIM_1D, SMESH::DIM_2D, SMESHDS_SubMesh::GetElements(), SMESH_Mesh_i::GetImpl(), SMDS_MeshElement::GetNode(), SMESHDS_SubMesh::GetNodes(), SMESH_Mesh_i::Load(), MESSAGE, MYDEBUG, SMDS_MeshElement::NbNodes(), SMDSAbs_Edge, SMDSAbs_Node, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
SALOMEDS::SComponent_ptr SMESH_Gen_i::PublishComponent | ( | SALOMEDS::Study_ptr | theStudy | ) |
References MESSAGE, and SMESH::SetName().
SALOMEDS::SObject_ptr SMESH_Gen_i::PublishGroup | ( | SALOMEDS::Study_ptr | theStudy, |
SMESH::SMESH_Mesh_ptr | theMesh, | ||
SMESH::SMESH_GroupBase_ptr | theGroup, | ||
GEOM::GEOM_Object_ptr | theShapeObject, | ||
const char * | theName = 0 |
||
) |
References addReference(), SMESH::ALL, SMESH::NODE, publish(), and SMESH::SetName().
Referenced by SMESH_Mesh_i::CreateGroupServants().
SALOMEDS::SObject_ptr SMESH_Gen_i::PublishHypothesis | ( | SALOMEDS::Study_ptr | theStudy, |
SMESH::SMESH_Hypothesis_ptr | theHyp, | ||
const char * | theName = 0 |
||
) |
References MESSAGE, publish(), and SMESH::SetName().
SALOMEDS::SObject_ptr SMESH_Gen_i::PublishInStudy | ( | SALOMEDS::Study_ptr | theStudy, |
SALOMEDS::SObject_ptr | theSObject, | ||
CORBA::Object_ptr | theIOR, | ||
const char * | theName | ||
) | throw ( SALOME::SALOME_Exception ) |
SALOMEDS::SObject_ptr SMESH_Gen_i::PublishMesh | ( | SALOMEDS::Study_ptr | theStudy, |
SMESH::SMESH_Mesh_ptr | theMesh, | ||
const char * | theName = 0 |
||
) |
References SMESH_Mesh_i::_mapSubMesh_i, addReference(), SMESH_Mesh_i::getGroups(), MESSAGE, publish(), and SMESH::SetName().
Referenced by CreateEmptyMesh(), and CreateMeshesFromMEDorSAUV().
SALOMEDS::SObject_ptr SMESH_Gen_i::PublishSubMesh | ( | SALOMEDS::Study_ptr | theStudy, |
SMESH::SMESH_Mesh_ptr | theMesh, | ||
SMESH::SMESH_subMesh_ptr | theSubMesh, | ||
GEOM::GEOM_Object_ptr | theShapeObject, | ||
const char * | theName = 0 |
||
) |
References addReference(), EDGE, FACE, publish(), and SMESH::SetName().
int SMESH_Gen_i::RegisterObject | ( | CORBA::Object_ptr | theObject | ) |
References StudyContext::addObject(), GetCurrentStudyContext(), and GetORB().
Referenced by SMESH_Mesh_i::createGroup(), SMESH_Mesh_i::CreateGroupServants(), createHypothesis(), createMesh(), and SMESH_Mesh_i::createSubMesh().
bool SMESH_Gen_i::RemoveHypothesisFromShape | ( | SALOMEDS::Study_ptr | theStudy, |
SMESH::SMESH_Mesh_ptr | theMesh, | ||
GEOM::GEOM_Object_ptr | theShapeObject, | ||
SMESH::SMESH_Hypothesis_ptr | theHyp | ||
) |
void SMESH_Gen_i::RemoveLastFromPythonScript | ( | int | theStudyID | ) |
RemoveLastFromPythonScript.
References myPythonScripts.
SALOMEDS::TMPFile * SMESH_Gen_i::Save | ( | SALOMEDS::SComponent_ptr | theComponent, |
const char * | theURL, | ||
bool | isMultiFile | ||
) |
Save SMESH module's data
References SMDS_Mesh::elementsIterator(), StudyContext::findId(), Get0DElementsGroupsTag(), GetAlgorithmsRootTag(), SMESH_Mesh_i::GetAutoColor(), GetBallElementsGroupsTag(), SMESH_GroupBase_i::GetColor(), GetCurrentStudyContext(), GetCurrentStudyID(), GetEdgeGroupsTag(), GetFaceGroupsTag(), SMESH_GroupBase_i::GetGroupDS(), SMESHDS_Mesh::GetHypothesis(), GetHypothesisRootTag(), SMESHDS_GroupBase::GetID(), SMESHDS_SubMesh::GetID(), SMDS_MeshElement::GetID(), SMESH_Mesh_i::GetImpl(), SMDS_Mesh::GetMeshInfo(), SMESH_GroupBase_i::GetName(), GetNodeGroupsTag(), SMESHDS_SubMesh::GetNodes(), GetORB(), SMESHDS_Mesh::GetPersistentId(), SMDS_MeshNode::GetPosition(), GetRefOnAppliedAlgorithmsTag(), GetRefOnAppliedHypothesisTag(), GetRefOnShapeTag(), GetServant(), SMESHDS_GroupBase::GetStoreName(), GetSubMeshOnCompoundTag(), GetSubMeshOnEdgeTag(), GetSubMeshOnFaceTag(), GetSubMeshOnShellTag(), GetSubMeshOnSolidTag(), GetSubMeshOnVertexTag(), GetSubMeshOnWireTag(), SMDS_EdgePosition::GetUParameter(), SMDS_FacePosition::GetUParameter(), GetVolumeGroupsTag(), SMDS_FacePosition::GetVParameter(), SMESHDS_Mesh::IndexToShape(), SMESHDS_SubMesh::IsComplexSubmesh(), SMESHDS_Mesh::MaxShapeIndex(), myCurrentStudy, SMDS_MeshInfo::NbElements(), SMESHDS_SubMesh::NbNodes(), SMDS_Mesh::NbNodes(), NUM_TMP_FILES, SavePython(), SMESH_Hypothesis_i::SaveTo(), SMESH_PreMeshInfo::SaveToFile(), SetCurrentStudy(), DriverMED_W_SMESHDS_Mesh::SetFile(), SMESHDS_GroupBase::SetStoreName(), SMESHDS_Mesh::ShapeToMesh(), SMDSAbs_All, SMDSAbs_Node, SObjectToObject(), and SMESHDS_Mesh::SubMeshes().
Referenced by SaveASCII().
SALOMEDS::TMPFile * SMESH_Gen_i::SaveASCII | ( | SALOMEDS::SComponent_ptr | theComponent, |
const char * | theURL, | ||
bool | isMultiFile | ||
) |
Save SMESH module's data in ASCII format
void SMESH_Gen_i::SavePython | ( | SALOMEDS::Study_ptr | theStudy | ) |
References CleanPythonTrace(), ComponentDataType(), and GetNewPythonLines().
Referenced by Save().
void SMESH_Gen_i::SetBoundaryBoxSegmentation | ( | CORBA::Long | theNbSegments | ) | throw ( SALOME::SALOME_Exception ) |
Sets number of segments per diagonal of boundary box of geometry by which default segment length of appropriate 1D hypotheses is defined.
void SMESH_Gen_i::SetCurrentStudy | ( | SALOMEDS::Study_ptr | theStudy | ) |
Set current study
References setCurrentStudy().
Referenced by Load(), StdMeshers_LayerDistribution_i::LoadFrom(), and Save().
|
private |
References ComponentDataType(), GetCurrentStudyID(), GetGeomEngine(), me, myCurrentStudy, myStudyContextMap, and SObjectToObject().
Referenced by Close(), and SetCurrentStudy().
void SMESH_Gen_i::SetDefaultNbSegments | ( | CORBA::Long | theNbSegments | ) | throw ( SALOME::SALOME_Exception ) |
Sets default number of segments per edge.
void SMESH_Gen_i::SetEmbeddedMode | ( | CORBA::Boolean | theMode | ) |
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(), myCurrentStudy, and ObjectToSObject().
Referenced by CopyMesh(), SMESH_MeshEditor_i::makeMesh(), and SMESH_GroupBase_i::SetName().
|
static |
|
virtual |
Set an option value.
References GetNS(), myDefaultGroupColor, myIsHistoricalPythonDump, myToForgetMeshDataOnHypModif, and SMESHDS_GroupBase::SetDefaultColor().
|
static |
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), CopyMesh(), and SMESH_MeshEditor_i::makeMesh().
GEOM::GEOM_Object_ptr SMESH_Gen_i::ShapeToGeomObject | ( | const TopoDS_Shape & | theShape | ) |
|
static |
SObjectToObject [ static ].
Get CORBA object corresponding to the SALOMEDS::SObject
Referenced by GetAlgoSO(), SMESH_Mesh_i::GetShapeToMesh(), GetSoleSubMeshUsingHyp(), SMESH_NoteBook::InitObjectMap(), Load(), SMESH_Mesh_i::newGroupShape(), SMESH_PreMeshInfo::RemoveStudyFiles_TMP_METHOD(), SMESH_NoteBook::ReplaceVariables(), Save(), and setCurrentStudy().
bool SMESH_Gen_i::ToForgetMeshDataOnHypModif | ( | ) | const |
To load full mesh data from study at hyp modification or not.
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 contating parameters separated by ':'. |
Referenced by SMESH_Mesh_i::SetParameters(), and SMESH::TPythonDump::~TPythonDump().
|
private |
|
private |
Referenced by GetOption(), and SetOption().
|
private |
Referenced by CancelCompute(), createHypothesis(), and createMesh().
|
staticprivate |
Referenced by SetGeomEngine().
|
private |
Referenced by createHypothesis(), and ~SMESH_Gen_i().
|
private |
Referenced by createMesh(), IsEmbeddedMode(), SetEmbeddedMode(), and SMESH_Gen_i().
|
private |
Referenced by DumpPython(), GetOption(), SetOption(), and SMESH_Gen_i().
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Referenced by SMESH_Gen_i().
|
staticprivate |
Referenced by createHypothesis(), and SMESH_Gen_i().
Referenced by AddToPythonScript(), CleanPythonTrace(), GetNewPythonLines(), and RemoveLastFromPythonScript().
|
private |
Referenced by GetShapeReader(), SMESH_Gen_i(), and ~SMESH_Gen_i().
|
staticprivate |
Referenced by SMESH_Gen_i().
|
private |
Referenced by Close(), GetCurrentStudyContext(), setCurrentStudy(), and ~SMESH_Gen_i().
|
private |
Referenced by GetOption(), SetOption(), and SMESH_Gen_i().