#include "SMESH_2smeshpy.hxx"#include "SMESH_PythonDump.hxx"#include "SMESH_NoteBook.hxx"#include "SMESH_Filter_i.hxx"#include <SALOMEDS_wrap.hxx>#include <utilities.h>#include <Resource_DataMapOfAsciiStringAsciiString.hxx>#include <Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString.hxx>#include "SMESH_Gen_i.hxx"#include <LDOMParser.hxx>#include <unistd.h>
Variables | |
| static TCollection_AsciiString | theEmptyString | 
| _pyGen * | me = const_cast< _pyGen* >( this ) | 
| map< _pyID, Handle(_pyMesh) > ::iterator  | id_obj = me->myMeshes.find( theObjID ) | 
| Handle(_pyHypothesisReader)  _pyGen return  | myHypReader | 
| Return reader of hypotheses of plugins.  More... | |
| Handle(_pyHypothesis)  _pyHypothesisReader map < _AString, Handle(_pyHypothesis)> ::const_iterator  | type2hyp = myType2Hyp.find( hypType ) | 
| Returns a new hypothesis initialized according to the read information.  More... | |
| else | |
| else | resHyp = new _pyHypothesis(creationCmd) | 
      
  | 
  static | 
Container of commands into which the initial script is split.
It also contains data coresponding to SMESH_Gen contents
| Handle | ( | _pyCommand | ) | 
Convert a command using a specific converter.
Call _pyFilter.AddUser() if a filter is used as a command arg.
| theCommand | - the command to convert | 
Set command be last in list of commands
| theCmd | - Command to be last | 
References SMESH::Entity_Last, SMESH::FunctorTypeToString(), SMESH_2smeshpy::GenName(), SMESH::Geom_LAST, _pyCommand::GetArg(), _pyCommand::GetNbArgs(), _pyCommand::GetString(), Handle(), id_obj, MESSAGE, and _pyCommand::SetArg().
| Handle | ( | _pyHypothesis | ) | 
Find hypothesis by ID (entry)
Creates algorithm or hypothesis.
Find algorithm able to create a hypothesis.
| theHypID | - The hypothesis ID | 
| Handle(_pyHypothesis) | - The found hypothesis | 
| theGeom | - The shape ID the algorithm was created on | 
| theMesh | - The mesh ID that created the algorithm | 
| theHypothesis | - The hypothesis the algorithm should be able to create | 
| Handle(_pyHypothesis) | - The found algo | 
| theCreationCmd | - The engine command creating a hypothesis | 
| Handle(_pyHypothesis) | - Result _pyHypothesis | 
References Handle().
| Handle | ( | _pySubMesh | ) | 
Find subMesh by ID (entry)
| theSubMeshID | - The subMesh ID | 
| Handle(_pySubMesh) | - The found subMesh | 
References SMESH::DownCast(), and Handle().
| if | ( | id_obj! |  = myMeshes.end() | ) | -> second | 
| if | ( | type2hyp! |  = myType2Hyp.end() | ) | 
| if | ( | sampleHyp. | IsNull() | ) | 
Check if char is a word part.
| c | - The character to check | 
| bool | - The check result | 
Referenced by _pyCommand::GetWord().
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyObject | , | 
| Standard_Transient | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyCommand | , | 
| Standard_Transient | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyHypothesisReader | , | 
| Standard_Transient | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pySubMesh | , | 
| _pyObject | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyMeshEditor | , | 
| _pyObject | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyHypothesis | , | 
| _pyObject | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pySelfEraser | , | 
| _pyObject | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyAlgorithm | , | 
| _pyHypothesis | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyComplexParamHypo | , | 
| _pyHypothesis | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyNumberOfSegmentsHyp | , | 
| _pyHypothesis | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pyLayerDistributionHypo | , | 
| _pyHypothesis | |||
| ) | 
| OCCT_IMPLEMENT_STANDARD_RTTIEXT | ( | _pySegmentLengthAroundVertexHyp | , | 
| _pyHypothesis | |||
| ) | 
| else | 
Referenced by GetHypothesisCreator().
Referenced by _pyGen::Flush(), _pyGen::Free(), and Handle().
Referenced by StdMeshersGUI_CartesianParamCreator::checkParams(), SMESHGUI_MinDistance::compute(), SMESHGUI_BoundingBox::compute(), SMESHGUI_BaseComputeOp::computeDlg(), SMESHGUI_Make2DFrom3DOp::createFilter(), SMDS_Mesh::DebugStats(), SMESHGUI_BaseComputeOp::evaluateDlg(), StdMeshers_FaceSide::FaceHelper(), SMESH_subMesh::GetAlgo(), SMESH_subMesh::GetAncestors(), SMESH_Algo::GetAppliedHypothesis(), SMESH_Algo::GetCompatibleHypoFilter(), StdMeshers_CartesianParameters3D::GetCoordinates(), SMESH_subMesh::getDependsOnIterator(), SMESHDS_GroupOnFilter::getElementIds(), SMESHDS_GroupOnFilter::GetElements(), SMESH_MesherHelper::getFaceMaxTol(), _QuadFaceGrid::GetSide(), SMDS_VolumeTool::GetSize(), SMESH_Algo::GetUsedHypothesis(), StdMeshers_FaceSide::GetUVPtStruct(), SMDS_VolumeTool::IsFaceExternal(), SMDS_VolumeTool::IsLinked(), StdMeshers_LayerDistribution_i::LoadFrom(), StdMeshers_FaceSide::NbPoints(), StdMeshersGUI_CartesianParamCreator::retrieveParams(), SMESH_Gen_i::setCurrentStudy(), SMDS_VolumeTool::setFace(), SMESHDS_GroupOnFilter::update(), and StdMeshers_PrismAsBlock::TSideFace::Value().
| Handle ( _pyHypothesisReader ) _pyGen return myHypReader | 
Return reader of hypotheses of plugins.
| return resHyp = new _pyHypothesis(creationCmd) | 
      
  | 
  static | 
Referenced by _pyCommand::GetArg(), _pyCommand::GetResultValue(), and _pyCommand::GetWord().
| Handle (_pyHypothesis) _pyHypothesisReader map<_AString, Handle(_pyHypothesis)>::const_iterator type2hyp = myType2Hyp.find( hypType ) | 
Returns a new hypothesis initialized according to the read information.
Referenced by _pyHypothesisReader::_pyHypothesisReader().