Operation for mech creation or editing. More...
#include <SMESHGUI_MeshOp.h>
Public Types | |
enum | HypType { Algo = 0, MainHyp, AddHyp, NbHypTypes } |
enum | MeshType { MT_ANY = 0, MT_TRIANGULAR, MT_QUADRILATERAL, MT_TETRAHEDRAL, MT_HEXAHEDRAL } |
typedef std::pair < SMESH::SMESH_Hypothesis_var, QString > | THypItem |
typedef QList< THypItem > | THypList |
typedef int | THypType |
typedef QMap< THypType, THypList > | TType2HypList |
typedef int | THypDim |
typedef QMap< THypDim, TType2HypList > | TDim2Type2HypList |
typedef QList< int > | IdList |
Public Member Functions | |
SMESHGUI_MeshOp (const bool, const bool=true) | |
Constructor. More... | |
virtual | ~SMESHGUI_MeshOp () |
Destructor. More... | |
virtual LightApp_Dialog * | dlg () const |
Gets dialog of this operation. More... | |
Static Public Member Functions | |
static void | extractIds (const QStringList &, IdList &, const QChar) |
Protected Types | |
enum | EntityType { Object, MeshNode, MeshElement } |
Protected Slots | |
virtual bool | onApply () |
Creates or edits mesh. More... | |
void | onCreateHyp (const int, const int) |
Create hypothesis. More... | |
void | onEditHyp (const int, const int) |
Calls plugin methods for hypothesis editing. More... | |
void | onHypoSet (const QString &) |
Creates and selects hypothesis of hypotheses set. More... | |
void | onGeomSelectionByMesh (bool) |
SLOT. More... | |
void | onPublishShapeByMeshDlg (SUIT_Operation *) |
SLOT. More... | |
void | onCloseShapeByMeshDlg (SUIT_Operation *) |
SLOT. More... | |
void | onAlgoSelected (const int, const int=-1) |
Set available algos and hypos according to the selected algorithm. More... | |
void | processSet () |
One step of hypothesis/algorithm list creation. More... | |
void | onHypoCreated (int) |
Necessary steps after hypothesis creation. More... | |
void | onHypoEdited (int) |
Necessary steps after hypothesis edition. More... | |
void | onAlgoSetByMeshType (const int, const int) |
SLOT. More... | |
virtual void | onActivateObject (int) |
Installs filter corresponding to certain object selection widget. More... | |
virtual void | onDeactivateObject (int) |
Removes filter corresponding to certain object selection widget. More... | |
virtual void | onSelectionChanged (int) |
Empty default implementation. More... | |
virtual void | onTextChanged (int, const QStringList &) |
Default implementation allowing user to edit selected ids "by hands". More... | |
virtual void | onOk () |
virtual void | onCancel () |
void | onHelp () |
Protected Member Functions | |
virtual void | startOperation () |
Creates dialog if necessary and shows it. More... | |
virtual void | commitOperation () |
Selects a recently created mesh or sub-mesh if necessary. More... | |
virtual void | selectionDone () |
Updates dialog's look and feel. More... | |
virtual SUIT_SelectionFilter * | createFilter (const int) const |
Creates selection filter. More... | |
virtual bool | isValid (SUIT_Operation *) const |
Verifies whether given operator is valid for this one. More... | |
void | extractIds (const QStringList &, IdList &) const |
Find in QStringList correct node or element ids representation and append integer(id) to IdList. More... | |
virtual void | abortOperation () |
virtual void | initDialog () |
sets the dialog widgets to state just after operation start More... | |
void | removeCustomFilters () |
Remove only filters set by this operation (they are in map myFilters ) More... | |
Selection_Mode | selectionMode () const |
Return what selection mode is set in VTK viewer. More... | |
void | setSelectionMode (const Selection_Mode) |
Set selection mode in VTK viewer. More... | |
void | highlight (const Handle(SALOME_InteractiveObject)&, const bool, const bool=true) |
Hilight object in VTK viewer. More... | |
void | addOrRemoveIndex (const Handle(SALOME_InteractiveObject)&, const TColStd_MapOfInteger &, const bool isModeShift) |
Select some nodes or elements in VTK. More... | |
SVTK_ViewWindow * | viewWindow () const |
SVTK_Selector * | selector () const |
virtual void | selected (QStringList &, SMESHGUI_Dialog::TypesList &, QStringList &) const |
Get names, types and ids of selected objects. More... | |
virtual int | typeById (const QString &, const EntityType) const |
Find type by id. More... | |
virtual QChar | idChar () const |
Char using to divide <entry> and <id> in string id representation. By default, '#'. More... | |
void | selectedIds (const int, IdList &) const |
Try to find in certain object selection widget selected node or element ids and return it. More... | |
SMESH::SMESH_Mesh_var | mesh () const |
Return selected mesh if selection mode isn't ActorSelection and only one object is selected. More... | |
SMESH_Actor * | actor () const |
Return actor according to selected mesh if selection mode isn't ActorSelection. More... | |
virtual bool | isReadyToStart () const |
virtual void | setIsApplyAndClose (const bool theFlag) |
virtual bool | isApplyAndClose () const |
virtual void | setDialogActive (const bool) |
Set according dialog active or inactive. More... | |
SMESHGUI * | getSMESHGUI () const |
bool | isStudyLocked (const bool=true) const |
Verifies whether study of operation is locked. More... | |
_PTR (Study) studyDS() const | |
Protected Attributes | |
QString | myHelpFileName |
bool | myIsApplyAndClose |
Private Types | |
typedef QList< HypothesisData * > | THypDataList |
typedef QMap< QString, bool > | THypLabelIsAppMap |
Private Member Functions | |
bool | isValid (QString &) const |
Verifies validity of input data. More... | |
bool | isCompatibleToGeometry (HypothesisData *, QString, GEOM::GEOM_Object_var) |
check compatibility of the geometry More... | |
bool | isCompatibleToMeshType (HypothesisData *, QString) |
check compatibility of the mesh type More... | |
void | availableHyps (const int, const int, QStringList &, THypDataList &, HypothesisData *=0, HypothesisData *=0, const QString &="") |
Gets available hypotheses or algorithms. More... | |
void | existingHyps (const int, const int, _PTR(SObject), QStringList &, THypList &, HypothesisData *=0) const |
Gets existing hypotheses or algorithms. More... | |
HypothesisData * | hypData (const int, const int, const int) |
access to hypothesis data More... | |
void | createHypothesis (const int, const int, const QString &) |
Create hypothesis and update dialog. More... | |
bool | createMesh (QString &, QStringList &) |
Creates mesh. More... | |
bool | createSubMesh (QString &, QStringList &) |
Creates sub-mesh. More... | |
bool | editMeshOrSubMesh (QString &) |
Edits mesh or sub-mesh. More... | |
bool | checkSubMeshConcurrency (SMESH::SMESH_Mesh_ptr mesh, SMESH::SMESH_subMesh_ptr submesh, bool askUser=false) |
Checks if a concurrent sub-meshes appear as result of sub-mesh creation/edition and, if (askUser) , proposes the uses to set up a desired order of sub-mesh computation. More... | |
int | currentHyp (const int, const int) const |
Gets current hypothesis or algorithms. More... | |
bool | isSelectedHyp (int, int, int) const |
Checks if a hypothesis is selected. More... | |
int | nbDlgHypTypes (const int) const |
Returns nb of HypType's taking into account possible several selected additional hypotheses which are coded as additional HypType's. More... | |
bool | isAccessibleDim (const int) const |
Returns true if hypotheses of given dim can be assigned. More... | |
void | setCurrentHyp (const int, const int, const int, const bool=false) |
Sets current hypothesis or algorithms. More... | |
void | setDefaultName (const QString &prefix="") const |
Generates default and sets mesh/submesh name. More... | |
SMESH::SMESH_Hypothesis_var | getAlgo (const int) |
Gets algorithm or creates it if necessary. More... | |
void | readMesh () |
Reads parameters of an edited mesh/sub-mesh and assigns them to the dialog. More... | |
QString | name (_PTR(SObject)) const |
Gets name of object. More... | |
int | find (const SMESH::SMESH_Hypothesis_var &, const THypList &) const |
Finds hypothesis in input list. More... | |
SMESH::SMESH_Hypothesis_var | getInitParamsHypothesis (const QString &, const QString &) const |
If create or edit a submesh, return a hypothesis holding parameters used to mesh a sub-shape. More... | |
void | initHypCreator (SMESHGUI_GenericHypothesisCreator *aCreator) |
initialize a hypothesis creator More... | |
bool | isSubshapeOk () const |
check if selected shape is a sub-shape of the shape to mesh More... | |
char * | isSubmeshIgnored () const |
Return name of the algorithm that does not support sub-meshes and makes sub-mesh creation useless. More... | |
_PTR (SObject) getSubmeshByGeom() const | |
void | selectObject (_PTR(SObject)) const |
Selects a SObject. More... | |
void | createMeshTypeList (QStringList &) |
Create available list types of mesh. More... | |
void | setAvailableMeshType (const QStringList &) |
Set available types of mesh. More... | |
void | setFilteredAlgoData (const int, const int) |
Set a filtered list of available algorithms by mesh type. More... | |
QString | currentMeshTypeName (const int) const |
Get current name types of mesh. More... | |
Private Attributes | |
SMESHGUI_MeshDlg * | myDlg |
SMESHGUI_ShapeByMeshOp * | myShapeByMeshOp |
bool | myToCreate |
bool | myIsMesh |
bool | myIsOnGeometry |
TRUE if edited mesh accotiated with geometrical object. More... | |
bool | myHasConcurrentSubBefore |
TDim2Type2HypList | myExistingHyps |
all hypothesis of SMESH module More... | |
TDim2Type2HypList | myObjHyps |
hypothesis assigned to the current More... | |
THypDataList | myAvailableHypData [4][NbHypTypes] |
QString | myLastGeomToSelect |
THypLabelIsAppMap | myHypMapIsApplicable |
bool | myIgnoreAlgoSelection |
HypothesesSet * | myHypoSet |
int | myDim |
int | myType |
int | myMaxShapeDim |
QString | myObjectToSelect |
Operation for mech creation or editing.
This operation is used for mech creation or editing.
|
inherited |
typedef QMap< THypDim, TType2HypList > SMESHGUI_MeshOp::TDim2Type2HypList |
|
private |
typedef int SMESHGUI_MeshOp::THypDim |
typedef std::pair<SMESH::SMESH_Hypothesis_var, QString> SMESHGUI_MeshOp::THypItem |
|
private |
typedef QList< THypItem > SMESHGUI_MeshOp::THypList |
typedef int SMESHGUI_MeshOp::THypType |
typedef QMap< THypType, THypList > SMESHGUI_MeshOp::TType2HypList |
|
protectedinherited |
Constructor.
theToCreate | - if this parameter is true then operation is used for creation, for editing otherwise |
Initialize operation
References myIsOnGeometry, and myMaxShapeDim.
|
virtual |
Destructor.
References myDlg.
|
protectedinherited |
Referenced by SMESHGUI_ShapeByMeshOp::commitOperation(), SMESHGUI_Make2DFrom3DOp::compute2DMesh(), SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_ConvToQuadOp::ConnectRadioButtons(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESHGUI_PrecomputeOp::getAssignedAlgos(), SMESHGUI_PrecomputeOp::initDialog(), SMESHGUI_ReorientFacesOp::isValid(), SMESHGUI_Make2DFrom3DOp::isValid(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_SplitBiQuadOp::onApply(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_FindElemByPointOp::onSelectionDone(), SMESHGUI_SelectionOp::selected(), SMESHGUI_GroupOnShapeOp::selectionDone(), SMESHGUI_ConvToQuadOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), SMESHGUI_Make2DFrom3DOp::selectionDone(), SMESHGUI_ShapeByMeshOp::SetMesh(), and SMESHGUI_SelectionOp::typeById().
|
private |
Referenced by availableHyps(), checkSubMeshConcurrency(), createMesh(), createSubMesh(), editMeshOrSubMesh(), existingHyps(), getAlgo(), getInitParamsHypothesis(), initHypCreator(), isSubmeshIgnored(), isSubshapeOk(), isValid(), name(), onAlgoSelected(), onGeomSelectionByMesh(), onHypoCreated(), onPublishShapeByMeshDlg(), readMesh(), selectionDone(), setDefaultName(), and startOperation().
|
protectedvirtualinherited |
|
protectedinherited |
Return actor according to selected mesh if selection mode isn't ActorSelection.
References SMESH::FindActorByObject(), and SMESHGUI_SelectionOp::mesh().
Referenced by SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_Make2DFrom3DOp::compute2DMesh(), SMESHGUI_ShapeByMeshOp::onElemIdChanged(), and SMESHGUI_SelectionOp::onTextChanged().
|
protectedinherited |
Select some nodes or elements in VTK.
References SMESHGUI_SelectionOp::selector().
Referenced by SMESHGUI_FindElemByPointOp::onElemSelected(), and SMESHGUI_ReorientFacesOp::onTextChange().
|
private |
Gets available hypotheses or algorithms.
theDim | - specifies dimension of returned hypotheses/algorifms |
theHypType | - specifies whether algorims or hypotheses or additional ones are retrieved (possible values are in HypType enumeration) |
theHyps | - Output list of hypotheses' names |
thePrevAlgoData | - to select hypos able to be used by previously algo (optional) |
theNextAlgoData | - to select hypos able to be used by next algo (optional) |
theMeshType | - type of mesh for filtering algorithms (optional) |
Gets available hypotheses or algorithm in accordance with input parameters
References _PTR(), AddHyp, Algo, SMESH::DIM_2D, SMESHGUI_MeshDlg::Geom, SMESH::GetAvailableHypotheses(), SMESH::GetGeom(), SMESH::GetGroupTitle(), SMESH::GetHypothesisData(), HypothesisData::GroupID, HypothesisData::InputTypes, isCompatible(), isCompatibleToGeometry(), isCompatibleToMeshType(), HypothesisData::Label, myDlg, myHypMapIsApplicable, myIsMesh, myIsOnGeometry, myLastGeomToSelect, myToCreate, SMESHGUI_MeshDlg::Obj, HypothesisData::Priority, SObject(), and studyDS().
Referenced by onAlgoSelected(), processSet(), selectionDone(), setFilteredAlgoData(), and startOperation().
|
private |
Checks if a concurrent sub-meshes appear as result of sub-mesh creation/edition and, if (askUser) , proposes the uses to set up a desired order of sub-mesh computation.
Returns true
if a sub-mesh concurrency detected.
References _PTR(), SMESHGUI_MeshDlg::getActiveObject(), SMESHGUI::GetSMESHGUI(), myDlg, myToCreate, SMESHGUI_SelectionOp::onActivateObject(), SMESHGUI::OnGUIEvent(), SMESHOp::OpMeshOrder, selectionDone(), selectObject(), and SObject().
Referenced by createSubMesh(), editMeshOrSubMesh(), and readMesh().
|
protectedvirtual |
Selects a recently created mesh or sub-mesh if necessary.
Virtual method redefined from base class called when operation is committed selects a recently created mesh or sub-mesh if necessary. Allows to perform selection when the custom selection filters are removed.
Reimplemented from SMESHGUI_SelectionOp.
References SMESHGUI_SelectionOp::commitOperation(), and myObjectToSelect.
|
protectedvirtual |
Creates selection filter.
theId | - identifier of current selection widget |
SUIT_SelectionFilter* | - pointer to the created filter or null |
Creates selection filter in accordance with identifier of current selection widget
Reimplemented from SMESHGUI_SelectionOp.
References SMESHGUI_MeshDlg::Geom, SMESH::MESH, SMESHGUI_MeshDlg::Mesh, SMESH::MESHorSUBMESH, myToCreate, and SMESHGUI_MeshDlg::Obj.
|
private |
Create hypothesis and update dialog.
theDim | - dimension of hypothesis to be created |
theType | - hypothesis category (algorithm, hypothesis, additional hypothesis) |
theTypeName | - specifies hypothesis to be created |
References HypothesisData::ClientLibName, SMESHGUI_GenericHypothesisCreator::create(), SMESH::CreateHypothesis(), SMESH::GetHypothesisCreator(), SMESH::GetHypothesisData(), getInitParamsHypothesis(), initHypCreator(), HypothesisData::Label, myDim, myDlg, myExistingHyps, myType, onHypoCreated(), SMESHGUI_SelectionOp::removeCustomFilters(), and HypothesisData::ServerLibName.
Referenced by onCreateHyp(), and processSet().
|
private |
Creates mesh.
theMess | - Output parameter intended for returning error message |
theEntryList | - List of entries of published objects |
bool | - TRUE if mesh is created, FALSE otherwise |
Creates mesh
References _PTR(), AddHyp, SMESH::AddHypothesisOnMesh(), currentHyp(), SMESH::DIM_0D, SMESH::DIM_3D, SMESHGUI_MeshDlg::Geom, getAlgo(), SMESHGUI::GetSMESHGen(), isAccessibleDim(), MainHyp, Min(), myDlg, myExistingHyps, nbDlgHypTypes(), SMESHGUI_MeshDlg::Obj, setDefaultName(), SMESH::SetName(), SObject(), and studyDS().
Referenced by onApply().
|
private |
Create available list types of mesh.
theTypeMesh | - Output list of available types of mesh |
References myMaxShapeDim.
Referenced by selectionDone(), and startOperation().
|
private |
Creates sub-mesh.
theMess | - Output parameter intended for returning error message |
theEntryList | - List of entries of published objects |
bool | - TRUE if sub-mesh is created, FALSE otherwise |
Creates sub-mesh
References _PTR(), AddHyp, SMESH::AddHypothesisOnSubMesh(), checkSubMeshConcurrency(), currentHyp(), SMESH::DIM_0D, SMESH::DIM_3D, SMESHGUI_MeshDlg::Geom, getAlgo(), SMESH::GetGEOMGen(), SMESHGUI::GetSMESHGen(), isAccessibleDim(), MainHyp, SMESHGUI_MeshDlg::Mesh, Min(), myDlg, myExistingHyps, nbDlgHypTypes(), SMESHGUI_MeshDlg::Obj, selectionDone(), selectObject(), SMESH::SetName(), SObject(), and studyDS().
Referenced by onApply().
Gets current hypothesis or algorithms.
theDim | - dimension of hypothesis or algorithm |
theHypType | - Type of hypothesis (Algo, MainHyp, AddHyp) |
int | - current hypothesis or algorithms |
Gets current hypothesis or algorithms
References SMESHGUI_MeshTab::currentHyp(), myDlg, and SMESHGUI_MeshDlg::tab().
Referenced by createMesh(), createSubMesh(), editMeshOrSubMesh(), getAlgo(), isSelectedHyp(), onAlgoSelected(), onHypoCreated(), readMesh(), and setFilteredAlgoData().
|
private |
Get current name types of mesh.
theIndex | - current index types of mesh |
QString | - result |
References MT_ANY, MT_HEXAHEDRAL, MT_QUADRILATERAL, MT_TETRAHEDRAL, and MT_TRIANGULAR.
Referenced by onAlgoSelected(), and setFilteredAlgoData().
|
virtual |
Gets dialog of this operation.
LightApp_Dialog* | - pointer to dialog of this operation |
References myDlg.
Referenced by isValid(), onApply(), onEditHyp(), and selectionDone().
|
private |
Edits mesh or sub-mesh.
theMess | - Output parameter intended for returning error message |
bool | - TRUE if mesh is edited successfully, FALSE otherwise |
Assigns new name hypotheses and algoriths to the mesh or sub-mesh
References _PTR(), AddHyp, SMESH::AddHypothesisOnMesh(), SMESH::AddHypothesisOnSubMesh(), Algo, checkSubMeshConcurrency(), currentHyp(), SMESH::DIM_0D, SMESH::DIM_2D, SMESH::DIM_3D, existingHyps(), find(), getAlgo(), SMESHGUI::GetSMESHGen(), isSelectedHyp(), MainHyp, Min(), myDlg, myExistingHyps, myHasConcurrentSubBefore, myIsOnGeometry, myObjHyps, nbDlgHypTypes(), SMESHGUI_MeshDlg::Obj, SMESH::RemoveHypothesisOrAlgorithmOnMesh(), SMESH::SetName(), SObject(), and studyDS().
Referenced by onApply().
|
private |
Gets existing hypotheses or algorithms.
theDim | - specifies dimension of returned hypotheses/algorifms |
theHypType | - specifies whether algorims or hypotheses or additional ones are retrieved (possible values are in HypType enumeration) |
theFather | - start object for finding ( may be component, mesh, or sub-mesh ) |
theHyps | - output list of names. |
theHypVars | - output list of variables. |
theAlgoData | - to select hypos able to be used by this algo (optional) |
Gets existing (i.e. already created) hypotheses or algorithm in accordance with input parameters.
WARNING: when using this method to get hyps existing in Mesh component, call availableHyps() before in order to get only hyps of available types that was filtered by availableHyps()
References _PTR(), AddHyp, Algo, HypothesisData::Dim, SMESH::GetHypothesisData(), HypothesisData::IsAuxOrNeedHyp, isCompatible(), myAvailableHypData, SObject(), SMESH::Tag_AlgorithmsRoot, SMESH::Tag_HypothesisRoot, SMESH::Tag_RefOnAppliedAlgorithms, and SMESH::Tag_RefOnAppliedHypothesis.
Referenced by editMeshOrSubMesh(), getAlgo(), isSubmeshIgnored(), onAlgoSelected(), onHypoCreated(), and readMesh().
|
staticinherited |
|
protectedinherited |
Find in QStringList correct node or element ids representation and append integer(id) to IdList.
References SMESHGUI_SelectionOp::extractIds(), and SMESHGUI_SelectionOp::idChar().
|
private |
Finds hypothesis in input list.
theHyp | - hypothesis to be found |
theHypList | - input list of hypotheses |
int | - index of hypothesis or -1 if it is not found |
Finds position of hypothesis in input list
Referenced by editMeshOrSubMesh(), onAlgoSelected(), and readMesh().
|
private |
Gets algorithm or creates it if necessary.
theDim | - specifies dimension of returned hypotheses/algorifms |
SMESH::SMESH_Hypothesis_var | - algorithm |
Gets algorithm or creates it if necessary
References _PTR(), Algo, HypothesisData::ClientLibName, SMESHGUI_GenericHypothesisCreator::create(), SMESH::CreateHypothesis(), currentHyp(), existingHyps(), SMESH::GetHypothesisCreator(), SMESH::GetHypothesisData(), HypothesisData::Label, myAvailableHypData, myDlg, myExistingHyps, and SObject().
Referenced by createMesh(), createSubMesh(), and editMeshOrSubMesh().
|
private |
If create or edit a submesh, return a hypothesis holding parameters used to mesh a sub-shape.
aHypType | - The hypothesis type name |
aServerLib | - Server library name |
hypData | - The structure holding the hypothesis type etc. |
SMESH::SMESH_Hypothesis_var | - the hypothesis holding parameter values |
References _PTR(), SMESHGUI_MeshDlg::Geom, SMESH::GetShapeOnMeshOrSubMesh(), SMESHGUI::GetSMESHGen(), SMESHGUI_MeshDlg::Mesh, myDlg, myIsMesh, myToCreate, SMESHGUI_MeshDlg::Obj, SObject(), and studyDS().
Referenced by createHypothesis(), and onEditHyp().
|
protectedinherited |
Referenced by SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESHGUI_Operation::isReadyToStart(), onGeomSelectionByMesh(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), SMESHGUI_Operation::onHelp(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_BaseComputeOp::onPublishShape(), SMESHGUI_Add0DElemsOnAllNodesOp::onSetFilter(), SMESHGUI_BaseComputeOp::onShowBadMesh(), SMESHGUI_FindElemByPointOp::startOperation(), SMESHGUI_MakeNodeAtPointOp::startOperation(), and SMESHGUI_SelectionOp::viewWindow().
|
protectedinherited |
Hilight object in VTK viewer.
References SMESHGUI_SelectionOp::viewWindow().
Referenced by SMESHGUI_ReorientFacesOp::onTextChange(), and SMESHGUI_SelectionOp::onTextChanged().
|
private |
access to hypothesis data
theDim | - hyp dimension |
theHypType | - hyp type (Algo,MainHyp or AddHyp) |
theIndex | - index in the list |
HypothesisData* | - result data, may be 0 |
References SMESH::DIM_3D, myAvailableHypData, and NbHypTypes.
Referenced by onAlgoSelected(), onHypoCreated(), and setFilteredAlgoData().
|
protectedvirtualinherited |
Char using to divide <entry> and <id> in string id representation. By default, '#'.
Referenced by SMESHGUI_SelectionOp::extractIds(), SMESHGUI_SelectionOp::selected(), and SMESHGUI_SelectionOp::typeById().
|
protectedvirtualinherited |
sets the dialog widgets to state just after operation start
Reimplemented from SMESHGUI_Operation.
|
private |
initialize a hypothesis creator
References _PTR(), aGeomEntry, SMESHGUI_MeshDlg::Geom, SMESH::GetShapeOnMeshOrSubMesh(), SMESHGUI_MeshDlg::Mesh, myDlg, myIsMesh, myIsOnGeometry, myToCreate, SMESHGUI_MeshDlg::Obj, SMESHGUI_GenericHypothesisCreator::setMainShapeEntry(), SMESHGUI_GenericHypothesisCreator::setNoGeomMesh(), SMESHGUI_GenericHypothesisCreator::setShapeEntry(), SObject(), and studyDS().
Referenced by createHypothesis(), and onEditHyp().
Returns true if hypotheses of given dim can be assigned.
theDim | - hypotheses dimension |
bool | - result |
References SMESHGUI_MeshDlg::isTabEnabled(), and myDlg.
Referenced by createMesh(), createSubMesh(), and onAlgoSelected().
|
protectedvirtualinherited |
References SMESHGUI_Operation::myIsApplyAndClose.
Referenced by SMESHGUI_GroupOnShapeOp::onApply(), onApply(), and SMESHGUI_Make2DFrom3DOp::onApply().
|
private |
check compatibility of the geometry
theAlgoData | - to select hypos able to be used by this algo |
theCurrentGeomToSelect | - the current name of the selected geometry |
theGeomVar | - currently selected geometry |
bool | - check result |
References SMESH::IsApplicable(), HypothesisData::Label, myHypMapIsApplicable, myIsMesh, myLastGeomToSelect, and HypothesisData::TypeName.
Referenced by availableHyps().
|
private |
check compatibility of the mesh type
theAlgoData | - to select hypos able to be used by this algo |
theMeshType | - type of mesh for filtering algorithms |
bool | - check result |
References HypothesisData::OutputTypes.
Referenced by availableHyps().
|
protectedvirtualinherited |
References SMESHGUI_Operation::getSMESHGUI(), and SMESHGUI_Operation::isStudyLocked().
Checks if a hypothesis is selected.
References AddHyp, currentHyp(), and nbDlgHypTypes().
Referenced by editMeshOrSubMesh().
Verifies whether study of operation is locked.
theMess | - specifies whether message box must be shown if study is locked |
Verifies whether study of operation is locked. If second parameter is TRUE and study is locked when corresponding message box appears
References SMESHGUI::desktop(), and studyDS().
Referenced by SMESHGUI_Operation::isReadyToStart(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_ReorientFacesOp::onApply(), SMESHGUI_MakeNodeAtPointOp::onApply(), onApply(), and SMESHGUI_Make2DFrom3DOp::onApply().
|
private |
Return name of the algorithm that does not support sub-meshes and makes sub-mesh creation useless.
char* | - string is to be deleted!!! |
References _PTR(), aGeomEntry, Algo, existingHyps(), SMESHGUI_MeshDlg::Geom, SMESH::GetHypothesisData(), HypothesisData::InputTypes, HypothesisData::IsSupportSubmeshes, SMESHGUI_MeshDlg::Mesh, myDlg, myIsMesh, myToCreate, SObject(), and studyDS().
Referenced by selectionDone().
|
private |
check if selected shape is a sub-shape of the shape to mesh
bool | - check result |
References _PTR(), SMESHGUI_MeshDlg::Geom, SMESH::GetGEOMGen(), SMESHGUI_MeshDlg::Mesh, SMESHGUI_SelectionOp::mesh(), myDlg, myIsMesh, myToCreate, SObject(), and studyDS().
Referenced by isValid().
|
protectedvirtual |
Verifies whether given operator is valid for this one.
theOtherOp | - other operation |
method redefined from base class verifies whether given operator is valid for this one (i.e. can be started "above" this operator). In current implementation method returns false if theOtherOp operation is not intended for deleting objects or mesh elements.
Reimplemented from SMESHGUI_Operation.
References SMESHGUI_Operation::isValid().
Referenced by onApply().
|
private |
Verifies validity of input data.
theMess | - Output parameter intended for returning error message |
bool | - TRUE if input data is valid, false otherwise |
Verifies validity of input data. This method is called when "Apply" or "OK" button is pressed before mesh creation or editing.
References _PTR(), dlg(), SMESHGUI_MeshDlg::Geom, isSubshapeOk(), SMESHGUI_MeshDlg::Mesh, myDlg, myIsMesh, myToCreate, SMESHGUI_MeshDlg::Obj, SObject(), and studyDS().
|
protectedinherited |
Return selected mesh if selection mode isn't ActorSelection and only one object is selected.
References SMESH::GetMeshByIO(), and SMESHGUI_SelectionOp::selectionMode().
Referenced by SMESHGUI_SelectionOp::actor(), SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_ConvToQuadOp::ConnectRadioButtons(), isSubshapeOk(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_SplitBiQuadOp::onApply(), SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_Add0DElemsOnAllNodesOp::onSetFilter(), SMESHGUI_ConvToQuadOp::selectionDone(), selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), SMESHGUI_SelectionOp::typeById(), and SMESHGUI_Add0DElemsOnAllNodesOp::updateButtons().
Gets name of object.
theSO | - SObject |
QString | - name of object |
Gets name of object
References _PTR().
Referenced by readMesh().
Returns nb of HypType's taking into account possible several selected additional hypotheses which are coded as additional HypType's.
References myDlg, SMESHGUI_MeshTab::nbAddHypTypes(), NbHypTypes, and SMESHGUI_MeshDlg::tab().
Referenced by createMesh(), createSubMesh(), editMeshOrSubMesh(), isSelectedHyp(), and onAlgoSelected().
|
protectedvirtualslotinherited |
Installs filter corresponding to certain object selection widget.
References SMESHGUI_SelectionOp::createFilter(), SMESHGUI_SelectionOp::myFilters, and SMESHGUI_SelectionOp::selectionDone().
Referenced by checkSubMeshConcurrency(), SMESHGUI_GroupOnShapeOp::init(), SMESHGUI_ReorientFacesOp::onActivateObject(), SMESHGUI_GroupOnShapeOp::onButtonClick(), onHypoCreated(), onHypoEdited(), and SMESHGUI_SelectionOp::startOperation().
Set available algos and hypos according to the selected algorithm.
theIndex | - algorithm index |
References _PTR(), AddHyp, Algo, availableHyps(), currentHyp(), SMESHGUI_MeshDlg::currentMeshType(), currentMeshTypeName(), SMESH::DIM_0D, SMESH::DIM_1D, SMESH::DIM_2D, SMESH::DIM_3D, SMESHGUI_MeshDlg::disableTab(), SMESHGUI_MeshDlg::enableTab(), existingHyps(), find(), SMESH::GetHypothesisData(), getTabDim(), hypData(), HypothesisData::InputTypes, isAccessibleDim(), HypothesisData::IsAuxOrNeedHyp, SMESH::IsAvailableHypothesis(), isCompatible(), MainHyp, SMESHGUI_MeshDlg::Mesh, Min(), myAvailableHypData, myDlg, myExistingHyps, myIgnoreAlgoSelection, myIsMesh, myIsOnGeometry, myMaxShapeDim, myObjHyps, myToCreate, nbDlgHypTypes(), SMESHGUI_MeshTab::setAvailableHyps(), setCurrentHyp(), SMESHGUI_MeshTab::setExistingHyps(), SObject(), and SMESHGUI_MeshDlg::tab().
Referenced by processSet(), readMesh(), selectionDone(), and startOperation().
|
protectedslot |
SLOT.
Is called when the user select type of mesh
theTabIndex | - Index of current active tab |
theIndex | - Index of current type of mesh |
References setFilteredAlgoData().
Referenced by startOperation().
|
protectedvirtualslot |
Creates or edits mesh.
bool | - TRUE if operation is performed successfully, FALSE otherwise |
Virtual slot redefined from the base class called when "Apply" button is clicked creates or edits mesh
References createMesh(), createSubMesh(), dlg(), editMeshOrSubMesh(), SMESHGUI_Operation::isApplyAndClose(), SMESHGUI_Operation::isStudyLocked(), isValid(), SMESHGUI::Modified(), myDlg, myIsMesh, myObjectToSelect, myToCreate, and setDefaultName().
|
protectedvirtualslotinherited |
|
protectedslot |
SLOT.
Is called when Close is pressed in SMESHGUI_ShapeByMeshDlg
References myDlg, myShapeByMeshOp, and SMESHGUI_Dialog::show().
Referenced by onGeomSelectionByMesh().
Create hypothesis.
theHypType | - hypothesis category (main or additional) |
theIndex | - index of type of hypothesis to be cerated |
Specifies dimension of hypothesis to be created (using sender() method), specifies its type and calls method for hypothesis creation
References createHypothesis(), getTabDim(), myAvailableHypData, and myDlg.
Referenced by startOperation().
|
protectedvirtualslotinherited |
Removes filter corresponding to certain object selection widget.
References SMESHGUI_SelectionOp::removeCustomFilters().
Referenced by SMESHGUI_SelectionOp::startOperation().
Calls plugin methods for hypothesis editing.
theHypType | - specifies whether main hypothesis or additional one is edited |
theIndex | - index of existing hypothesis |
Calls plugin methods for hypothesis editing
References dlg(), SMESHGUI_GenericHypothesisCreator::edit(), SMESH::GetHypothesisCreator(), getInitParamsHypothesis(), getTabDim(), initHypCreator(), myDlg, myExistingHyps, onHypoEdited(), SMESHGUI_SelectionOp::removeCustomFilters(), and SMESHGUI_GenericHypothesisCreator::setInitParamsHypothesis().
Referenced by startOperation().
|
protectedslot |
SLOT.
Is called when the user selects a way of geometry selection
theByMesh | - true if the user wants to find geometry by mesh element |
References _PTR(), SMESHGUI_Operation::getSMESHGUI(), SMESHGUI_MeshDlg::Mesh, myDlg, myShapeByMeshOp, onCloseShapeByMeshDlg(), onPublishShapeByMeshDlg(), SMESHGUI_ShapeByMeshOp::SetMesh(), SObject(), and studyDS().
Referenced by startOperation().
|
protectedslotinherited |
References SMESHGUI_Operation::getSMESHGUI(), and SMESHGUI_Operation::myHelpFileName.
Referenced by SMESHGUI_Operation::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedslot |
Necessary steps after hypothesis creation.
result | - creation result: 0 = rejected 1 = accepted 2 = additional value meaning that slot is called not from dialog box |
References _PTR(), SMESHGUI_MeshTab::addHyp(), Algo, currentHyp(), existingHyps(), SMESHGUI_MeshDlg::getActiveObject(), hypData(), myDim, myDlg, myExistingHyps, myHypoSet, myType, SMESHGUI_SelectionOp::onActivateObject(), processSet(), and SMESHGUI_MeshDlg::tab().
Referenced by createHypothesis().
|
protectedslot |
Necessary steps after hypothesis edition.
result | - creation result: 0 = rejected 1 = accepted |
References SMESHGUI_MeshDlg::getActiveObject(), myDlg, and SMESHGUI_SelectionOp::onActivateObject().
Referenced by onEditHyp().
|
protectedslot |
Creates and selects hypothesis of hypotheses set.
theSetName | - The name of hypotheses set |
References AddHyp, Algo, SMESH::DIM_0D, SMESH::DIM_3D, SMESH::GetHypothesesSet(), HypothesesSet::init(), MainHyp, myHypoSet, processSet(), and setCurrentHyp().
Referenced by startOperation().
|
protectedvirtualslotinherited |
References SMESHGUI_Operation::onApply(), and SMESHGUI_Operation::setIsApplyAndClose().
Referenced by SMESHGUI_Operation::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedslot |
SLOT.
Is called when Ok is pressed in SMESHGUI_ShapeByMeshDlg
References _PTR(), SMESHGUI_ShapeByMeshOp::GetShape(), SMESHGUI::GetSMESHGUI(), myDlg, myShapeByMeshOp, selectionDone(), selectObject(), SMESHGUI_Dialog::show(), SObject(), and studyDS().
Referenced by onGeomSelectionByMesh().
|
protectedvirtualslotinherited |
Empty default implementation.
In successors it may be used for more advanced selection checking. This slot is connected to signal when the selection changed in some object selection widget
Referenced by SMESHGUI_SelectionOp::startOperation().
|
protectedvirtualslotinherited |
Default implementation allowing user to edit selected ids "by hands".
In order to run default mechanism, you must set for some object selection widget the "name indication" to "ListOfNames", "read only" state to false and connect the dialog's signal "objectChanged" to this slot Warning: this mechanism can process only integer ids, NOT MESH OR GROUP NAMES!!!
References SMESHGUI_SelectionOp::actor(), SMESHGUI_SelectionOp::extractIds(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH_Actor::GetObject(), SMESHGUI_SelectionOp::highlight(), SMESHGUI_SelectionOp::selected(), SMESHGUI_SelectionOp::selectionMode(), and SMESHGUI_SelectionOp::selector().
Referenced by SMESHGUI_Add0DElemsOnAllNodesOp::onTextChanged().
|
protectedslot |
One step of hypothesis/algorithm list creation.
Creates a hypothesis or an algorithm for current item of internal list of names myHypoSet
References AddHyp, Algo, availableHyps(), createHypothesis(), HypothesesSet::current(), HypothesisData::Dim, SMESH::GetHypothesisData(), HypothesesSet::isAlgo(), MainHyp, HypothesesSet::more(), myAvailableHypData, myDlg, myHypoSet, HypothesesSet::next(), onAlgoSelected(), SMESHGUI_MeshTab::setAvailableHyps(), setCurrentHyp(), and SMESHGUI_MeshDlg::tab().
Referenced by onHypoCreated(), and onHypoSet().
|
private |
Reads parameters of an edited mesh/sub-mesh and assigns them to the dialog.
Called when mesh is edited only.
References _PTR(), AddHyp, Algo, checkSubMeshConcurrency(), currentHyp(), SMESH::DIM_0D, SMESH::DIM_2D, SMESH::DIM_3D, existingHyps(), find(), SMESHGUI_MeshDlg::Geom, SMESH::GetGeomName(), SMESH::GetHypothesisData(), MainHyp, SMESHGUI_MeshDlg::Mesh, myAvailableHypData, myDlg, myExistingHyps, myHasConcurrentSubBefore, myIsOnGeometry, myObjHyps, name(), SMESHGUI_MeshDlg::Obj, onAlgoSelected(), second, setCurrentHyp(), SMESHGUI_MeshTab::setExistingHyps(), SObject(), studyDS(), and SMESHGUI_MeshDlg::tab().
Referenced by selectionDone().
|
protectedinherited |
Remove only filters set by this operation (they are in map myFilters )
References SMESHGUI_SelectionOp::myFilters.
Referenced by SMESHGUI_SelectionOp::abortOperation(), SMESHGUI_SelectionOp::commitOperation(), createHypothesis(), SMESHGUI_GroupOnShapeOp::init(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_GroupOnShapeOp::onButtonClick(), SMESHGUI_SelectionOp::onDeactivateObject(), onEditHyp(), and SMESHGUI_SelectionOp::~SMESHGUI_SelectionOp().
|
protectedvirtualinherited |
Get names, types and ids of selected objects.
References SMESHGUI_Operation::_PTR(), SMESHGUI_SelectionOp::idChar(), SMESHGUI_SelectionOp::MeshElement, SMESHGUI_SelectionOp::MeshNode, SMESHGUI_SelectionOp::Object, SMESHGUI_SelectionOp::selectionMode(), SObject(), and SMESHGUI_SelectionOp::typeById().
Referenced by SMESHGUI_SelectionOp::onTextChanged(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_BasicProperties::selectionChanged(), SMESHGUI_GroupOnShapeOp::selectionDone(), SMESHGUI_SelectionOp::selectionDone(), and SMESHGUI_Make2DFrom3DOp::selectionDone().
Try to find in certain object selection widget selected node or element ids and return it.
References SMESHGUI_SelectionOp::extractIds().
|
protectedvirtual |
Updates dialog's look and feel.
Virtual method redefined from the base class updates dialog's look and feel
Reimplemented from SMESHGUI_SelectionOp.
References _PTR(), Algo, availableHyps(), createMeshTypeList(), SMESHGUI_MeshDlg::currentMeshType(), SMESH::DIM_0D, SMESH::DIM_3D, SMESHGUI_MeshDlg::disableTab(), dlg(), EDGE, SMESHGUI_MeshDlg::enableTab(), FACE, SMESHGUI_MeshDlg::Geom, SMESH::GetHypothesesSets(), SMESH::GetShapeOnMeshOrSubMesh(), SMESHGUI::GetSMESHGUI(), isSubmeshIgnored(), SMESHGUI_MeshDlg::Mesh, SMESHGUI_SelectionOp::mesh(), myAvailableHypData, myDlg, myIsMesh, myIsOnGeometry, myMaxShapeDim, myToCreate, SMESHGUI_MeshDlg::Obj, onAlgoSelected(), SMESHOp::OpEditMeshOrSubMesh, readMesh(), SMESHGUI_MeshDlg::reset(), SMESHGUI_SelectionOp::selectionDone(), selectObject(), SMESHGUI_MeshTab::setAvailableHyps(), setAvailableMeshType(), SMESHGUI_MeshDlg::setCurrentMeshType(), setFilteredAlgoData(), SMESHGUI_MeshDlg::setGeomPopupEnabled(), SMESHGUI_MeshDlg::setHypoSets(), SMESHGUI_MeshDlg::setMaxHypoDim(), SMESHGUI_MeshDlg::setTitile(), SObject(), studyDS(), SMESHGUI::switchToOperation(), and SMESHGUI_MeshDlg::tab().
Referenced by checkSubMeshConcurrency(), createSubMesh(), onPublishShapeByMeshDlg(), and startOperation().
|
protectedinherited |
Return what selection mode is set in VTK viewer.
References SMESHGUI_SelectionOp::viewWindow().
Referenced by SMESHGUI_ShapeByMeshOp::activateSelection(), SMESHGUI_SelectionOp::mesh(), SMESHGUI_FindElemByPointOp::onElemSelected(), SMESHGUI_FindElemByPointOp::onElemTypeChange(), SMESHGUI_SelectionOp::onTextChanged(), SMESHGUI_SelectionOp::selected(), SMESHGUI_SelectionOp::selectionDone(), and SMESHGUI_SelectionOp::startOperation().
Selects a SObject.
theSObj | - the SObject to select |
References Handle().
Referenced by checkSubMeshConcurrency(), createSubMesh(), onPublishShapeByMeshDlg(), and selectionDone().
|
protectedinherited |
References SMESHGUI_SelectionOp::viewWindow().
Referenced by SMESHGUI_SelectionOp::addOrRemoveIndex(), SMESHGUI_MinDistance::firstEdited(), SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), SMESHGUI_ShapeByMeshOp::onElemIdChanged(), SMESHGUI_MakeNodeAtPointOp::onSelectionDone(), SMESHGUI_ShapeByMeshOp::onSelectionDone(), SMESHGUI_MakeNodeAtPointOp::onTextChange(), SMESHGUI_SelectionOp::onTextChanged(), SMESHGUI_MinDistance::secondEdited(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_ReorientFacesOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), and SMESHGUI_BoundingBox::sourceEdited().
|
private |
Set available types of mesh.
theTypeMesh | - List of available types of mesh |
References myDlg, and SMESHGUI_MeshDlg::setAvailableMeshType().
Referenced by selectionDone(), and startOperation().
|
private |
Sets current hypothesis or algorithms.
theDim | - dimension of hypothesis or algorithm |
theHypType | - Type of hypothesis (Algo, MainHyp, AddHyp) |
theIndex | - Index of hypothesis |
updateHypsOnAlgoDeselection | - to clear and disable hyps if algo deselected |
Gets current hypothesis or algorithms
References AddHyp, Algo, MainHyp, myDlg, myIgnoreAlgoSelection, SMESHGUI_MeshTab::setAvailableHyps(), SMESHGUI_MeshTab::setCurrentHyp(), SMESHGUI_MeshTab::setExistingHyps(), and SMESHGUI_MeshDlg::tab().
Referenced by onAlgoSelected(), onHypoSet(), processSet(), readMesh(), and setFilteredAlgoData().
|
private |
Generates default and sets mesh/submesh name.
Generates and sets default mesh/submesh name(Mesh_1, Mesh_2, etc.)
References _PTR(), myDlg, myIsMesh, SMESHGUI_MeshDlg::Obj, and SObject().
Referenced by createMesh(), onApply(), and startOperation().
|
protectedvirtualinherited |
Set according dialog active or inactive.
References MESHCUT::d, and SMESHGUI_Dialog::setContentActive().
Set a filtered list of available algorithms by mesh type.
theTabIndex | - Index of current active tab |
theIndex | - Index of current type of mesh |
References Algo, availableHyps(), HypothesesSet::current(), currentHyp(), currentMeshTypeName(), SMESH::DIM_0D, SMESH::DIM_1D, SMESH::DIM_2D, SMESH::DIM_3D, SMESHGUI_MeshDlg::disableTab(), SMESHGUI_MeshDlg::enableTab(), SMESH::GetHypothesesSet(), SMESH::GetHypothesesSets(), SMESH::GetHypothesisData(), hypData(), HypothesesSet::init(), HypothesisData::InputTypes, HypothesesSet::more(), MT_QUADRILATERAL, MT_TRIANGULAR, myAvailableHypData, myDlg, myIsOnGeometry, myMaxShapeDim, HypothesesSet::next(), SMESHGUI_MeshTab::setAvailableHyps(), setCurrentHyp(), SMESHGUI_MeshDlg::setCurrentTab(), SMESHGUI_MeshDlg::setHypoSets(), and SMESHGUI_MeshDlg::tab().
Referenced by onAlgoSetByMeshType(), and selectionDone().
|
protectedvirtualinherited |
References SMESHGUI_Operation::myIsApplyAndClose.
Referenced by SMESHGUI_Operation::onOk().
|
protectedinherited |
Set selection mode in VTK viewer.
References SMESHGUI_SelectionOp::viewWindow().
Referenced by SMESHGUI_SelectionOp::abortOperation(), SMESHGUI_MakeNodeAtPointOp::activateSelection(), SMESHGUI_ShapeByMeshOp::activateSelection(), SMESHGUI_SelectionOp::commitOperation(), SMESHGUI_ReorientFacesOp::onActivateObject(), SMESHGUI_FindElemByPointOp::onElemSelected(), SMESHGUI_FindElemByPointOp::onElemTypeChange(), SMESHGUI_Add0DElemsOnAllNodesOp::onSelTypeChange(), and SMESHGUI_SelectionOp::startOperation().
|
protectedvirtual |
Creates dialog if necessary and shows it.
Virtual method redefined from base class called when operation is started creates dialog if necessary and shows it, activates selection
Reimplemented from SMESHGUI_SelectionOp.
References _PTR(), AddHyp, Algo, availableHyps(), createMeshTypeList(), SMESH::DIM_0D, SMESH::DIM_3D, SMESHGUI_MeshDlg::Geom, MainHyp, SMESHGUI_MeshDlg::Mesh, myAvailableHypData, myDlg, myExistingHyps, myHasConcurrentSubBefore, SMESHGUI_Operation::myHelpFileName, myIgnoreAlgoSelection, myIsMesh, myObjectToSelect, myToCreate, SMESHGUI_MeshDlg::Obj, onAlgoSelected(), onAlgoSetByMeshType(), onCreateHyp(), onEditHyp(), onGeomSelectionByMesh(), onHypoSet(), selectionDone(), SMESHGUI_MeshTab::setAvailableHyps(), setAvailableMeshType(), SMESHGUI_MeshDlg::setCurrentTab(), setDefaultName(), SMESHGUI_MeshTab::setExistingHyps(), SMESHGUI_MeshDlg::setGeomPopupEnabled(), SMESHGUI_Dialog::show(), SMESHGUI_SelectionOp::startOperation(), and SMESHGUI_MeshDlg::tab().
|
protectedvirtualinherited |
Find type by id.
References SMESHGUI_Operation::_PTR(), SMESHGUI_SelectionOp::idChar(), SMESHGUI_SelectionOp::mesh(), SMESHGUI_SelectionOp::MeshElement, SMESHGUI_SelectionOp::Object, SMESHGUI_Dialog::prefix(), SObject(), and SMESHGUI_Selection::type().
Referenced by SMESHGUI_SelectionOp::selected().
|
protectedinherited |
References SMESHGUI_Operation::getSMESHGUI(), and SMESH::GetViewWindow().
Referenced by SMESHGUI_SelectionOp::highlight(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_ShapeByMeshOp::onElemIdChanged(), SMESHGUI_SelectionOp::selectionMode(), SMESHGUI_SelectionOp::selector(), and SMESHGUI_SelectionOp::setSelectionMode().
|
private |
Referenced by existingHyps(), getAlgo(), hypData(), onAlgoSelected(), onCreateHyp(), processSet(), readMesh(), selectionDone(), setFilteredAlgoData(), and startOperation().
|
private |
Referenced by createHypothesis(), and onHypoCreated().
|
private |
Referenced by availableHyps(), checkSubMeshConcurrency(), createHypothesis(), createMesh(), createSubMesh(), currentHyp(), dlg(), editMeshOrSubMesh(), getAlgo(), getInitParamsHypothesis(), initHypCreator(), isAccessibleDim(), isSubmeshIgnored(), isSubshapeOk(), isValid(), nbDlgHypTypes(), onAlgoSelected(), onApply(), onCloseShapeByMeshDlg(), onCreateHyp(), onEditHyp(), onGeomSelectionByMesh(), onHypoCreated(), onHypoEdited(), onPublishShapeByMeshDlg(), processSet(), readMesh(), selectionDone(), setAvailableMeshType(), setCurrentHyp(), setDefaultName(), setFilteredAlgoData(), startOperation(), and ~SMESHGUI_MeshOp().
|
private |
all hypothesis of SMESH module
Referenced by createHypothesis(), createMesh(), createSubMesh(), editMeshOrSubMesh(), getAlgo(), onAlgoSelected(), onEditHyp(), onHypoCreated(), readMesh(), and startOperation().
|
private |
Referenced by editMeshOrSubMesh(), readMesh(), and startOperation().
|
protectedinherited |
Referenced by SMESHGUI_PrecomputeOp::onCompute(), SMESHGUI_Operation::onHelp(), SMESHGUI_Add0DElemsOnAllNodesOp::SMESHGUI_Add0DElemsOnAllNodesOp(), SMESHGUI_BaseComputeOp::SMESHGUI_BaseComputeOp(), SMESHGUI_ComputeOp::SMESHGUI_ComputeOp(), SMESHGUI_EvaluateOp::SMESHGUI_EvaluateOp(), SMESHGUI_FindElemByPointOp::SMESHGUI_FindElemByPointOp(), SMESHGUI_GroupOnShapeOp::SMESHGUI_GroupOnShapeOp(), SMESHGUI_MakeNodeAtPointOp::SMESHGUI_MakeNodeAtPointOp(), SMESHGUI_MeshOrderOp::SMESHGUI_MeshOrderOp(), SMESHGUI_Operation::SMESHGUI_Operation(), SMESHGUI_ReorientFacesOp::SMESHGUI_ReorientFacesOp(), SMESHGUI_ConvToQuadOp::startOperation(), SMESHGUI_SplitBiQuadOp::startOperation(), startOperation(), SMESHGUI_Make2DFrom3DOp::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
private |
Referenced by availableHyps(), and isCompatibleToGeometry().
|
private |
Referenced by onHypoCreated(), onHypoSet(), and processSet().
|
private |
Referenced by onAlgoSelected(), setCurrentHyp(), and startOperation().
|
protectedinherited |
Referenced by SMESHGUI_Operation::isApplyAndClose(), and SMESHGUI_Operation::setIsApplyAndClose().
|
private |
|
private |
TRUE if edited mesh accotiated with geometrical object.
Referenced by availableHyps(), editMeshOrSubMesh(), initHypCreator(), onAlgoSelected(), readMesh(), selectionDone(), setFilteredAlgoData(), and SMESHGUI_MeshOp().
|
private |
Referenced by availableHyps(), and isCompatibleToGeometry().
|
private |
Referenced by createMeshTypeList(), onAlgoSelected(), selectionDone(), setFilteredAlgoData(), and SMESHGUI_MeshOp().
|
private |
Referenced by commitOperation(), onApply(), and startOperation().
|
private |
hypothesis assigned to the current
Referenced by editMeshOrSubMesh(), onAlgoSelected(), and readMesh().
|
private |
Referenced by onCloseShapeByMeshDlg(), onGeomSelectionByMesh(), and onPublishShapeByMeshDlg().
|
private |
|
private |
Referenced by createHypothesis(), and onHypoCreated().