#include <SMESH_2smeshpy.hxx>

Public Member Functions | |
| _pyMesh (const Handle(_pyCommand) creationCmd) | |
| Mesh created by SMESH_Gen. More... | |
| _pyMesh (const Handle(_pyCommand) theCreationCmd, const _pyID &id) | |
| Mesh created by SMESH_MeshEditor. More... | |
| const _pyID & | GetGeom () |
| void | AddGroup (const Handle(_pyGroup)&g) |
| void | AddEditor (const Handle(_pyMeshEditor)&e) |
| bool | IsNotGeomPublished () |
| virtual void | Process (const Handle(_pyCommand)&theCommand) |
| Convert an IDL API command of SMESH::SMESH_Mesh to a method call of python Mesh. More... | |
| virtual void | Flush () |
| Convert creation and addition of all algos and hypos. More... | |
| virtual void | SetRemovedFromStudy (const bool isRemoved) |
| Sets myIsPublished of me and of all objects depending on me. More... | |
| virtual bool | CanClear () |
| Return true if none of myChildMeshes is in study. More... | |
| virtual void | ClearCommands () |
| Clear my commands and commands of mesh editor. More... | |
| virtual void | Free () |
| virtual const char * | AccessorMethod () const |
| Return method name giving access to an interaface object wrapped by python class. More... | |
| const _pyID & | GetID () |
| int | GetNbCalls () const |
| bool | IsInStudy () const |
| void | SetCreationCmd (Handle(_pyCommand) cmd) |
| int | GetCommandNb () |
| void | AddProcessedCmd (const Handle(_pyCommand)&cmd) |
| std::list< Handle(_pyCommand) > & | GetProcessedCmds () |
| void | AddArgCmd (const Handle(_pyCommand)&cmd) |
Static Public Member Functions | |
| static _pyID | FatherID (const _pyID &childID) |
| Return ID of a father. More... | |
Protected Member Functions | |
| void | setID (const _pyID &theID) |
| Set up myID and myIsPublished. More... | |
Protected Attributes | |
| _pyID | myID |
| std::list< Handle(_pyCommand) > | myProcessedCmds |
| std::list< Handle(_pyCommand) > | myArgCmds |
| bool | myIsPublished |
Private Member Functions | |
| Handle (_pyCommand) myLastComputeCmd | |
| void | addFatherMesh (const Handle(_pyMesh)&mesh) |
| Add a father mesh. More... | |
| void | addFatherMesh (const _pyID &meshID) |
| Add a father mesh by ID. More... | |
Static Private Member Functions | |
| static bool | NeedMeshAccess (const Handle(_pyCommand)&theCommand) |
| Return True if addition of accesor method is needed. More... | |
| static void | AddMeshAccess (const Handle(_pyCommand)&theCommand) |
Private Attributes | |
| std::list< Handle(_pyHypothesis) > | myHypos |
| std::list< Handle(_pyCommand) > | myAddHypCmds |
| std::list< Handle(_pyCommand) > | myNotConvertedAddHypCmds |
| std::list< Handle(_pySubMesh) > | mySubmeshes |
| std::list< Handle(_pyGroup) > | myGroups |
| std::list< Handle(_pyMeshEditor)> | myEditors |
| std::list< Handle(_pyMesh) > | myChildMeshes |
| bool | myGeomNotInStudy |
| _pyMesh::_pyMesh | ( | const Handle(_pyCommand) | creationCmd | ) |
Mesh created by SMESH_Gen.
References AccessorMethod(), GetGeom(), _pyObject::GetID(), _pyCommand::GetMethod(), Handle(), _pyGen::IsNotPublished(), myGeomNotInStudy, _pyGen::SetAccessorMethod(), and SMESH_2smeshpy::SmeshpyName().
| _pyMesh::_pyMesh | ( | const Handle(_pyCommand) | theCreationCmd, |
| const _pyID & | id | ||
| ) |
Mesh created by SMESH_MeshEditor.
References AccessorMethod(), addFatherMesh(), _pyGen::FindExportedMesh(), _pyCommand::GetArg(), _pyCommand::GetMethod(), _pyCommand::GetObject(), _pyCommand::GetStudyEntries(), Handle(), _pyCommand::MethodStartsFrom(), ExportedMeshData::myLastComputeCmdString, _pyGen::SetAccessorMethod(), and SMESH_2smeshpy::SmeshpyName().
|
virtual |
Return method name giving access to an interaface object wrapped by python class.
| const | char* - method name |
Reimplemented from _pyObject.
References _pyMesh_ACCESS_METHOD.
Referenced by _pyMesh().
|
inherited |
References _pyObject::myArgCmds.
| void _pyMesh::AddEditor | ( | const Handle(_pyMeshEditor)& | e | ) |
Add a father mesh.
References _pyObject::GetID(), and myChildMeshes.
Referenced by _pyMesh(), addFatherMesh(), and Flush().
|
private |
Add a father mesh by ID.
References addFatherMesh(), SMESH::DownCast(), _pyObject::GetID(), and Handle().
|
staticprivate |
References _pyMesh_ACCESS_METHOD, _pyCommand::GetObject(), and _pyCommand::SetObject().
Referenced by Process().
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by _pyObject::Process().
|
virtual |
Return true if none of myChildMeshes is in study.
Reimplemented from _pyObject.
References _pyObject::IsInStudy(), and myChildMeshes.
Referenced by ClearCommands().
|
virtual |
Clear my commands and commands of mesh editor.
Reimplemented from _pyObject.
References CanClear(), _pyObject::ClearCommands(), _pyObject::IsInStudy(), myChildMeshes, myEditors, myGroups, mySubmeshes, and SetRemovedFromStudy().
Return ID of a father.
Referenced by _pySegmentLengthAroundVertexHyp::Addition2Creation().
|
virtual |
Convert creation and addition of all algos and hypos.
Implements _pyObject.
References addFatherMesh(), SMESH::DownCast(), _pyGen::GenerateNewID(), GetGeom(), _pyObject::GetID(), Handle(), myAddHypCmds, myGeomNotInStudy, myHypos, myNotConvertedAddHypCmds, mySubmeshes, and _pyGen::SetCommandBefore().
Referenced by Process().
|
virtual |
Reimplemented from _pyObject.
|
inherited |
|
inherited |
References _pyCommand::GetResultValue(), and _pyObject::myID.
Referenced by _pyFilter::_pyFilter(), _pyMesh(), _pySelfEraser::_pySelfEraser(), _pySubMesh::_pySubMesh(), addFatherMesh(), _pyHypothesis::Addition2Creation(), _pyAlgorithm::Addition2Creation(), _pyLayerDistributionHypo::Addition2Creation(), _pyGen::AddObject(), _pySelfEraser::CanClear(), _pyGroup::CanClear(), _pyGen::CheckObjectIsReCreated(), Flush(), _pyFilter::Flush(), _pyFilter::Process(), and _pyObject::setID().
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by _pySubMesh::Flush(), and _pyFilter::Process().
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by _pySelfEraser::CanClear().
|
private |
Referenced by _pyMesh(), addFatherMesh(), Flush(), and Process().
|
inherited |
References _pyObject::myIsPublished.
Referenced by CanClear(), _pyHypothesis::CanClear(), _pyGroup::CanClear(), ClearCommands(), _pyHypothesis::GetReferredMeshesAndGeom(), and _pyHypothesis::IsWrappable().
| bool _pyMesh::IsNotGeomPublished | ( | ) |
|
staticprivate |
Return True if addition of accesor method is needed.
References _pyCommand::GetMethod().
Referenced by Process().
|
virtual |
Convert an IDL API command of SMESH::SMESH_Mesh to a method call of python Mesh.
| theCommand | - Engine method called for this mesh |
Reimplemented from _pyObject.
References _pyGen::AddExportedMesh(), AddMeshAccess(), _pyGen::AddObject(), _pyCommand::Clear(), SMESH::DownCast(), Flush(), _pyCommand::GetArg(), _pyGen::GetCommands(), GetGeom(), _pyCommand::GetMethod(), _pyCommand::GetNbArgs(), _pyCommand::GetResultValue(), _pyCommand::GetStudyEntries(), Handle(), _pyCommand::IsEmpty(), _pyGen::IsToKeepAllCommands(), _pyCommand::MethodStartsFrom(), myAddHypCmds, myChildMeshes, myEditors, myGroups, myHypos, myNotConvertedAddHypCmds, mySubmeshes, NeedMeshAccess(), _pyGen::Process(), _pyCommand::RemoveArgs(), _pyCommand::SetArg(), and _pyCommand::SetMethod().
|
inherited |
Referenced by _pyHypothesis::Addition2Creation().
|
protectedinherited |
Set up myID and myIsPublished.
References _pyObject::GetID(), _pyGen::IsNotPublished(), _pyObject::myID, and _pyObject::myIsPublished.
Referenced by _pyGroup::_pyGroup(), and _pyObject::_pyObject().
|
virtual |
Sets myIsPublished of me and of all objects depending on me.
Reimplemented from _pyObject.
References myChildMeshes, myEditors, myGroups, mySubmeshes, and _pyObject::SetRemovedFromStudy().
Referenced by ClearCommands().
|
private |
|
protectedinherited |
Referenced by _pyObject::AddArgCmd(), _pyObject::CanClear(), _pySelfEraser::CanClear(), _pySubMesh::Flush(), and _pyFilter::Flush().
Referenced by addFatherMesh(), CanClear(), ClearCommands(), Process(), and SetRemovedFromStudy().
|
private |
Referenced by ClearCommands(), Process(), and SetRemovedFromStudy().
Referenced by ClearCommands(), Process(), and SetRemovedFromStudy().
|
private |
|
protectedinherited |
Referenced by _pyObject::GetID(), and _pyObject::setID().
|
protectedinherited |
|
private |
|
protectedinherited |
|
private |
Referenced by ClearCommands(), Flush(), Process(), and SetRemovedFromStudy().