To convert creation of a group by filter. More...
#include <SMESH_2smeshpy.hxx>
Public Member Functions | |
_pyGroup (const Handle(_pyCommand)&theCreationCmd, const _pyID &id=_pyID()) | |
Creates _pyGroup. More... | |
virtual void | Process (const Handle(_pyCommand)&theCommand) |
To convert creation of a group by filter. More... | |
virtual void | Flush () |
Prevent clearing "DoubleNode...() command if a group created by it is removed. More... | |
virtual void | Free () |
virtual bool | CanClear () |
Check if "[ group1, group2 ] = mesh.GetGroups()" creation command can be cleared. More... | |
void | RemovedWithContents () |
set myCanClearCreationCmd = true if the main action of the creation command is discarded More... | |
virtual | Handle (_pyMesh) GetMesh() |
void | SetCreator (const Handle(_pyObject)&theCreator) |
const _pyID & | GetID () |
int | GetNbCalls () const |
bool | IsInStudy () const |
virtual void | SetRemovedFromStudy (const bool isRemoved) |
void | SetCreationCmd (Handle(_pyCommand) cmd) |
int | GetCommandNb () |
void | AddProcessedCmd (const Handle(_pyCommand)&cmd) |
std::list< Handle(_pyCommand) > & | GetProcessedCmds () |
void | AddArgCmd (const Handle(_pyCommand)&cmd) |
virtual const char * | AccessorMethod () const |
Return method name giving access to an interaface object wrapped by python class. More... | |
virtual void | ClearCommands () |
Clear myCreationCmd and myProcessedCmds. More... | |
Static Public Member Functions | |
static bool | CanBeArgOfMethod (const _AString &theMethodName) |
Return true if a sub-mesh can be used as argument of the given method. More... | |
static _pyID | FatherID (const _pyID &childID) |
Return ID of a father. More... | |
Protected Member Functions | |
Handle (_pyCommand) myCreationCmd | |
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 (_pyFilter) myFilter | |
Private Attributes | |
bool | myCanClearCreationCmd |
To convert creation of a group by filter.
_pyGroup::_pyGroup | ( | const Handle(_pyCommand)& | theCreationCmd, |
const _pyID & | id = _pyID() |
||
) |
|
virtualinherited |
Return method name giving access to an interaface object wrapped by python class.
const | char* - method name |
Reimplemented in _pyAlgorithm, _pyMesh, and _pyGen.
|
inherited |
References _pyObject::myArgCmds.
|
inherited |
References _pyObject::myProcessedCmds.
Referenced by _pyObject::Process().
Return true if a sub-mesh can be used as argument of the given method.
|
virtual |
Check if "[ group1, group2 ] = mesh.GetGroups()" creation command can be cleared.
Reimplemented from _pyObject.
References SMESH::DownCast(), _pyObject::GetID(), Handle(), _pyObject::IsInStudy(), and myCanClearCreationCmd.
|
virtualinherited |
Clear myCreationCmd and myProcessedCmds.
Reimplemented in _pyHypothesis, _pyMesh, and _pyGen.
References _pyObject::CanClear(), and _pyObject::myProcessedCmds.
Referenced by _pyMesh::ClearCommands(), _pyHypothesis::ClearCommands(), and _pySelfEraser::Flush().
Return ID of a father.
Referenced by _pySegmentLengthAroundVertexHyp::Addition2Creation().
|
virtual |
Prevent clearing "DoubleNode...() command if a group created by it is removed.
Reimplemented from _pySubMesh.
References _pyGen::IsToKeepAllCommands(), and myCanClearCreationCmd.
|
virtual |
Reimplemented from _pySubMesh.
|
inherited |
|
inherited |
References _pyCommand::GetResultValue(), and _pyObject::myID.
Referenced by _pyFilter::_pyFilter(), _pyMesh::_pyMesh(), _pySelfEraser::_pySelfEraser(), _pySubMesh::_pySubMesh(), _pyMesh::addFatherMesh(), _pyHypothesis::Addition2Creation(), _pyAlgorithm::Addition2Creation(), _pyLayerDistributionHypo::Addition2Creation(), _pyGen::AddObject(), _pySelfEraser::CanClear(), CanClear(), _pyGen::CheckObjectIsReCreated(), _pyMesh::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().
|
protectedinherited |
|
virtualinherited |
|
private |
Referenced by _pyGroup(), CanClear(), and Process().
|
inherited |
|
virtual |
To convert creation of a group by filter.
Reimplemented from _pySubMesh.
References _pyGen::AddMeshAccessorMethod(), _pyCommand::Clear(), SMESH::DownCast(), _pyCommand::GetArg(), _pyGen::GetCommands(), _pyCommand::GetMethod(), _pyCommand::GetResultValue(), Handle(), _pyCommand::SetArg(), and _pyGen::SetProxyObject().
void _pyGroup::RemovedWithContents | ( | ) |
set myCanClearCreationCmd = true if the main action of the creation command is discarded
|
inherited |
Referenced by _pyHypothesis::Addition2Creation().
|
protectedinherited |
Set up myID and myIsPublished.
References _pyObject::GetID(), _pyGen::IsNotPublished(), _pyObject::myID, and _pyObject::myIsPublished.
Referenced by _pyGroup(), and _pyObject::_pyObject().
|
virtualinherited |
Reimplemented in _pyMesh.
References _pyObject::myIsPublished.
Referenced by _pyMesh::SetRemovedFromStudy().
|
protectedinherited |
Referenced by _pyObject::AddArgCmd(), _pyObject::CanClear(), _pySelfEraser::CanClear(), _pySubMesh::Flush(), and _pyFilter::Flush().
|
private |
Referenced by _pyGroup(), CanClear(), and Flush().
|
protectedinherited |
Referenced by _pyObject::GetID(), and _pyObject::setID().
|
protectedinherited |
|
protectedinherited |