Class for LayerDistribution hypothesis conversion. More...
#include <SMESH_2smeshpy.hxx>

Public Member Functions | |
| _pyLayerDistributionHypo (const Handle(_pyCommand)&theCreationCmd, const char *algoMethod) | |
| virtual void | Process (const Handle(_pyCommand)&theCommand) | 
| Convert methods of 1D hypotheses to my own methods.  More... | |
| virtual void | Flush () | 
| Finish conversion.  More... | |
| virtual bool | Addition2Creation (const Handle(_pyCommand)&theAdditionCmd, const _pyID &theMesh) | 
| virtual void | Free () | 
| void | SetConvMethodAndType (const _AString &creationMethod, const _AString &type) | 
| void | AddArgMethod (const _AString &method, const int argNb=1) | 
| void | AddAccumulativeMethod (const _AString &method) | 
| const std::list< Handle(_pyCommand)> & | GetArgCommands () const | 
| void | ClearAllCommands () | 
| clear creation, arg and unknown commands  More... | |
| virtual bool | IsAlgo () const | 
| bool | IsValid () const | 
| bool | IsWrapped () const | 
| const _pyID & | GetGeom () const | 
| void | SetMesh (const _pyID &theMeshId) | 
| const _pyID & | GetMesh () const | 
| const _AString & | GetAlgoType () const | 
| const _AString & | GetAlgoCreationMethod () const | 
| bool | CanBeCreatedBy (const _AString &algoType) const | 
| const _AString & | GetCreationMethod (const _AString &algoType) | 
| virtual bool | IsWrappable (const _pyID &theMesh) const | 
| Returns true if addition of this hypothesis to a given mesh can be wrapped into hypothesis creation.  More... | |
| virtual void | Assign (const Handle(_pyHypothesis)&theOther, const _pyID &theMesh) | 
| Assign fields of theOther to me except myIsWrapped.  More... | |
| virtual bool | CanClear () | 
| Analyze my erasability depending on myReferredObjs.  More... | |
| virtual void | ClearCommands () | 
| Clear my commands depending on usage by meshes.  More... | |
| virtual bool | GetReferredMeshesAndGeom (std::list< Handle(_pyMesh) > &meshes) | 
| Find arguments that are objects like mesh, group, geometry.  More... | |
| void | MeshComputed (const Handle(_pyCommand)&theComputeCommand) | 
| Save commands setting parameters as they are used for a mesh computation.  More... | |
| void | ComputeDiscarded (const Handle(_pyCommand)&theComputeCommand) | 
| Clear commands setting parameters as a mesh computed using them is cleared.  More... | |
| 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... | |
Static Public Member Functions | |
| static | Handle (_pyHypothesis) NewHypothesis(const Handle(_pyCommand)&theCreationCmd) | 
| static _pyID | FatherID (const _pyID &childID) | 
| Return ID of a father.  More... | |
Protected Types | |
| typedef std::map< _AString,  CreationMethod >  | TType2CrMethod | 
Protected Member Functions | |
| void | setCreationArg (const int argNb, const _AString &arg) | 
| Sets an argNb-th argument of current creation command.  More... | |
| void | rememberCmdOfParameter (const Handle(_pyCommand)&cmd) | 
| Remember theCommand setting a parameter.  More... | |
| bool | isCmdUsedForCompute (const Handle(_pyCommand)&cmd, _pyCommand::TAddr avoidComputeAddr=NULL) const | 
| Return true if a setting parameter command ha been used to compute mesh.  More... | |
| Handle (_pyCommand) myCreationCmd | |
| void | setID (const _pyID &theID) | 
| Set up myID and myIsPublished.  More... | |
Protected Attributes | |
| bool | myIsAlgo | 
| bool | myIsWrapped | 
| _pyID | myGeom | 
| _pyID | myMesh | 
| TType2CrMethod | myAlgoType2CreationMethod | 
| std::set< _AString > | myAccumulativeMethods | 
| CreationMethod * | myCurCrMethod | 
| std::list< Handle(_pyCommand)> | myArgCommands | 
| std::list< Handle(_pyCommand)> | myUnusedCommands | 
| std::list< Handle(_pyObject) > | myReferredObjs | 
| std::map< _AString, std::list < Handle(_pyCommand)> >  | myMeth2Commands | 
| std::map< _pyCommand::TAddr,  std::list< Handle(_pyCommand) > >  | myComputeAddr2Cmds | 
| std::list< Handle(_pyCommand) > | myComputeCmds | 
| _pyID | myID | 
| std::list< Handle(_pyCommand) > | myProcessedCmds | 
| std::list< Handle(_pyCommand) > | myArgCmds | 
| bool | myIsPublished | 
Private Member Functions | |
| Handle (_pyHypothesis) my1dHyp | |
Private Attributes | |
| _AString | myAlgoMethod | 
Class for LayerDistribution hypothesis conversion.
      
  | 
  protectedinherited | 
| _pyLayerDistributionHypo::_pyLayerDistributionHypo | ( | const Handle(_pyCommand)& | theCreationCmd, | 
| const char * | algoMethod | ||
| ) | 
      
  | 
  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 | 
      
  | 
  inherited | 
References _pyObject::myArgCmds.
      
  | 
  virtual | 
| theAdditionCmd | - command to be converted | 
| theMesh | - mesh instance | 
| bool | - status | 
Reimplemented from _pyHypothesis.
References _pyCommand::AddDependantCmd(), _pyHypothesis::GetAlgoType(), _pyCommand::GetArg(), _pyObject::GetID(), Handle(), myAlgoMethod, _pyHypothesis::myArgCommands, and _pyHypothesis::myIsWrapped.
      
  | 
  inherited | 
References _pyObject::myProcessedCmds.
Referenced by _pyObject::Process().
      
  | 
  virtualinherited | 
Assign fields of theOther to me except myIsWrapped.
References _pyHypothesis::GetAlgoType(), _pyHypothesis::GetCreationMethod(), _pyHypothesis::myAccumulativeMethods, _pyHypothesis::myAlgoType2CreationMethod, _pyHypothesis::myGeom, _pyHypothesis::myIsAlgo, _pyHypothesis::myIsWrapped, and _pyHypothesis::myMesh.
      
  | 
  virtualinherited | 
Analyze my erasability depending on myReferredObjs.
Reimplemented from _pyObject.
References _pyObject::IsInStudy(), and _pyHypothesis::myReferredObjs.
      
  | 
  inherited | 
clear creation, arg and unknown commands
References _pyHypothesis::myArgCommands, and _pyHypothesis::myUnusedCommands.
      
  | 
  virtualinherited | 
Clear my commands depending on usage by meshes.
Reimplemented from _pyObject.
References _pyObject::ClearCommands().
      
  | 
  inherited | 
Clear commands setting parameters as a mesh computed using them is cleared.
References _pyCommand::GetAddress(), _pyHypothesis::isCmdUsedForCompute(), _pyHypothesis::myComputeAddr2Cmds, and _pyHypothesis::myMeth2Commands.
Return ID of a father.
Referenced by _pySegmentLengthAroundVertexHyp::Addition2Creation().
      
  | 
  virtual | 
Finish conversion.
Reimplemented from _pyHypothesis.
References _pyGen::GetCommands(), Handle(), and _pyHypothesis::myArgCommands.
      
  | 
  virtual | 
Reimplemented from _pyHypothesis.
      
  | 
  inherited | 
Referenced by _pyHypothesis::Addition2Creation().
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
Referenced by _pyHypothesis::Addition2Creation(), and _pyHypothesis::Assign().
      
  | 
  inherited | 
      
  | 
  inherited | 
References _pyCommand::GetResultValue(), and _pyObject::myID.
Referenced by _pyFilter::_pyFilter(), _pyMesh::_pyMesh(), _pySelfEraser::_pySelfEraser(), _pySubMesh::_pySubMesh(), _pyMesh::addFatherMesh(), _pyHypothesis::Addition2Creation(), _pyAlgorithm::Addition2Creation(), Addition2Creation(), _pyGen::AddObject(), _pySelfEraser::CanClear(), _pyGroup::CanClear(), _pyGen::CheckObjectIsReCreated(), _pyMesh::Flush(), _pyFilter::Flush(), _pyFilter::Process(), and _pyObject::setID().
      
  | 
  inherited | 
      
  | 
  inherited | 
References _pyObject::myProcessedCmds.
Referenced by _pySubMesh::Flush(), and _pyFilter::Process().
      
  | 
  inherited | 
References _pyObject::myProcessedCmds.
Referenced by _pySelfEraser::CanClear().
      
  | 
  virtualinherited | 
Find arguments that are objects like mesh, group, geometry.
| meshes | - referred meshes (directly or indirrectly) | 
| bool | - false if a referred geometry is not in the study | 
References _pyCommand::GetStudyEntries(), _pyHypothesis::Handle(), _pyHypothesis::IsAlgo(), _pyGen::IsGeomObject(), _pyObject::IsInStudy(), _pyGen::IsNotPublished(), _pyHypothesis::myAlgoType2CreationMethod, _pyHypothesis::CreationMethod::myArgs, _pyHypothesis::myReferredObjs, and _pyHypothesis::myUnusedCommands.
      
  | 
  protectedinherited | 
      
  | 
  staticinherited | 
      
  | 
  private | 
Referenced by Addition2Creation(), and Flush().
      
  | 
  virtualinherited | 
      
  | 
  protectedinherited | 
Return true if a setting parameter command ha been used to compute mesh.
References _pyHypothesis::myComputeAddr2Cmds.
Referenced by _pyHypothesis::ComputeDiscarded(), and _pyHypothesis::rememberCmdOfParameter().
      
  | 
  inherited | 
      
  | 
  inherited | 
Returns true if addition of this hypothesis to a given mesh can be wrapped into hypothesis creation.
References _pyHypothesis::Handle(), _pyObject::IsInStudy(), _pyHypothesis::myIsWrapped, and _pyHypothesis::myMesh.
Referenced by _pyHypothesis::Addition2Creation(), _pyNumberOfSegmentsHyp::Addition2Creation(), and _pySegmentLengthAroundVertexHyp::Addition2Creation().
      
  | 
  inherited | 
Referenced by _pyComplexParamHypo::Flush(), and _pyNumberOfSegmentsHyp::Flush().
      
  | 
  inherited | 
Save commands setting parameters as they are used for a mesh computation.
References _pyCommand::GetAddress(), _pyHypothesis::myComputeAddr2Cmds, _pyHypothesis::myComputeCmds, and _pyHypothesis::myMeth2Commands.
      
  | 
  virtual | 
Convert methods of 1D hypotheses to my own methods.
| theCommand | - The called hypothesis method | 
Reimplemented from _pyHypothesis.
References _pyCommand::GetArg(), _pyCommand::GetMethod(), _pyHypothesis::myArgCommands, _pyHypothesis::CreationMethod::myArgs, and _pyHypothesis::myCurCrMethod.
      
  | 
  protectedinherited | 
Remember theCommand setting a parameter.
References _pyCommand::GetArg(), _pyCommand::GetMethod(), _pyCommand::GetNbArgs(), _pyCommand::GetString(), _pyHypothesis::isCmdUsedForCompute(), _pyCommand::Length(), _pyHypothesis::myAccumulativeMethods, and _pyHypothesis::myMeth2Commands.
Referenced by _pyHypothesis::Process().
      
  | 
  inherited | 
Referenced by _pyHypothesisReader::_pyHypothesisReader().
Sets an argNb-th argument of current creation command.
| argNb | - argument index countered from 1 | 
References _pyHypothesis::CreationMethod::myArgs, and _pyHypothesis::myCurCrMethod.
Referenced by _pyHypothesisReader::_pyHypothesisReader(), and _pyComplexParamHypo::Process().
      
  | 
  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().
      
  | 
  inherited | 
      
  | 
  virtualinherited | 
Reimplemented in _pyMesh.
References _pyObject::myIsPublished.
Referenced by _pyMesh::SetRemovedFromStudy().
      
  | 
  protectedinherited | 
Referenced by _pyHypothesis::Assign(), and _pyHypothesis::rememberCmdOfParameter().
      
  | 
  private | 
Referenced by Addition2Creation().
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
Referenced by _pyObject::AddArgCmd(), _pyObject::CanClear(), _pySelfEraser::CanClear(), _pySubMesh::Flush(), and _pyFilter::Flush().
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
Referenced by _pyHypothesis::MeshComputed().
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
Referenced by _pyHypothesis::Addition2Creation(), and _pyHypothesis::Assign().
      
  | 
  protectedinherited | 
Referenced by _pyObject::GetID(), and _pyObject::setID().
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
Referenced by _pyHypothesis::Assign(), and _pyHypothesis::IsWrappable().
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
Referenced by _pyHypothesis::CanClear(), and _pyHypothesis::GetReferredMeshesAndGeom().
      
  | 
  protectedinherited |