Version: 9.16.0
SMESHGUI_SplitVolumesDlg Class Reference

Class : SMESHGUI_SplitVolumesDlg Description : Split all volumes into tetrahedrons. More...

#include <SMESHGUI_MultiEditDlg.h>

Inheritance diagram for SMESHGUI_SplitVolumesDlg:

Signals

void ListContensChanged ()
 

Public Member Functions

 SMESHGUI_SplitVolumesDlg (SMESHGUI *)
 Class : SMESHGUI_SplitVolumesDlg Description : Spliter of volumes into tetrahedra or prisms. More...
 
virtual ~SMESHGUI_SplitVolumesDlg ()
 
void Init ()
 
bool eventFilter (QObject *, QEvent *)
 
void showPreview ()
 
void hidePreview ()
 

Protected Slots

virtual void on3d2dChanged (int)
 Slot called when a target element type changes. More...
 
virtual void onSelectionDone ()
 SLOT called when selection changed. More...
 
void onFacetSelection (bool)
 Slot called when facet selection button is clicked. More...
 
void onSetDir ()
 Slot called when an || axis button is clicked. More...
 
void updateNormalPreview (const QString &s="")
 SLOT called when a point or a normal changes. More...
 
void onOk ()
 
virtual bool onApply ()
 
virtual void reject ()
 
void onHelp ()
 
void onDeactivate ()
 
void onFilterBtn ()
 
void onAddBtn ()
 
void onRemoveBtn ()
 
void onSortListBtn ()
 
void onListSelectionChanged ()
 
void onSubmeshChk ()
 
void onGroupChk ()
 
virtual void onToAllChk ()
 
void onFilterAccepted ()
 
void onOpenView ()
 
void onCloseView ()
 
SMESH::NumericalFunctor_ptr getNumericalFunctor ()
 
void toDisplaySimulation ()
 
virtual void onDisplaySimulation (bool)
 

Protected Member Functions

virtual bool process (SMESH::SMESH_MeshEditor_ptr, const SMESH::smIdType_array &, SMESH::SMESH_IDSource_ptr obj)
 
virtual smIdType nbElemsInMesh ()
 
virtual void setSelectionMode ()
 Set selection mode. More...
 
void showFacetByElement (int id)
 Show facet normal by a selected element. More...
 
bool isIntoPrisms ()
 
void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
QWidgetcreateButtonFrame (QWidget *)
 
QWidgetcreateMainFrame (QWidget *, const bool)
 
virtual bool isValid (const bool)
 
SMESH::smIdType_array_var getIds (SMESH::SMESH_IDSource_var &obj)
 
void updateButtons ()
 
virtual bool isIdValid (const int) const
 
int entityType ()
 
void connectPreviewControl ()
 
virtual void setIsApplyAndClose (const bool theFlag)
 
virtual bool isApplyAndClose () const
 

Protected Attributes

QGroupBoxmyFacetSelGrp
 
SMESHGUI_SpinBoxmyPointSpin [3]
 
SMESHGUI_SpinBoxmyDirSpin [3]
 
QPushButton * myFacetSelBtn
 
QPushButton * myAxisBtn [3]
 
QCheckBox * myAllDomainsChk
 
double myCellSize
 
QPushButton * myOkBtn
 
QPushButton * myApplyBtn
 
QPushButton * myCloseBtn
 
QPushButton * myHelpBtn
 
SMESH_ActormyActor
 
SMESH::SMESH_Mesh_var myMesh
 
LightApp_SelectionMgr * mySelectionMgr
 
SVTK_Selector * mySelector
 
SMESHGUImySMESHGUI
 
QGroupBoxmySelGrp
 
QGroupBoxmyCriterionGrp
 
QWidgetmyChoiceWidget
 
QButtonGroup * myGroupChoice
 
QComboBoxmyComboBoxFunctor
 
QListWidget * myListBox
 
QPushButton * myFilterBtn
 
QPushButton * myAddBtn
 
QPushButton * myRemoveBtn
 
QPushButton * mySortBtn
 
QCheckBox * myToAllChk
 
QButtonGroup * myEntityTypeGrp
 
QCheckBox * mySubmeshChk
 
QPushButton * mySubmeshBtn
 
QLineEdit * mySubmesh
 
QCheckBox * myGroupChk
 
QPushButton * myGroupBtn
 
QLineEdit * myGroup
 
SMESHGUI_FilterDlgmyFilterDlg
 
TColStd_MapOfInteger myIds
 
int myFilterType
 
bool myBusy
 
int myEntityType
 
QString myHelpFileName
 
QGroupBoxmyAdvancedGrp
 
QCheckBox * myAvoidOverConstrainedChk
 
SMESHGUI_MeshEditPreviewmySimulation
 
QCheckBox * myPreviewCheckBox
 
bool myIsApplyAndClose
 

Detailed Description

Class : SMESHGUI_SplitVolumesDlg Description : Split all volumes into tetrahedrons.

Constructor & Destructor Documentation

◆ SMESHGUI_SplitVolumesDlg()

◆ ~SMESHGUI_SplitVolumesDlg()

SMESHGUI_SplitVolumesDlg::~SMESHGUI_SplitVolumesDlg ( )
virtual

Member Function Documentation

◆ connectPreviewControl()

◆ createButtonFrame()

◆ createMainFrame()

◆ enterEvent()

◆ entityType()

int SMESHGUI_MultiEditDlg::entityType ( )
protectedinherited

◆ eventFilter()

bool SMESHGUI_MultiEditDlg::eventFilter ( QObject object,
QEvent *  event 
)
inherited

◆ getIds()

SMESH::smIdType_array_var SMESHGUI_MultiEditDlg::getIds ( SMESH::SMESH_IDSource_var &  obj)
protectedinherited

◆ getNumericalFunctor

◆ hidePreview()

◆ Init()

void SMESHGUI_MultiEditDlg::Init ( )
inherited

References SMESHGUI_MultiEditDlg::ListContensChanged(), SMESHGUI_MultiEditDlg::myActor, SMESHGUI_MultiEditDlg::myAddBtn, SMESHGUI_MultiEditDlg::myApplyBtn, SMESHGUI_MultiEditDlg::myBusy, SMESHGUI_MultiEditDlg::myCloseBtn, SMESHGUI_MultiEditDlg::myEntityTypeGrp, SMESHGUI_MultiEditDlg::myFilterBtn, SMESHGUI_MultiEditDlg::myGroupChk, SMESHGUI_MultiEditDlg::myHelpBtn, SMESHGUI_MultiEditDlg::myIds, SMESHGUI_MultiEditDlg::myListBox, SMESHGUI_MultiEditDlg::myOkBtn, SMESHGUI_MultiEditDlg::myRemoveBtn, SMESHGUI_MultiEditDlg::mySelectionMgr, SMESHGUI_MultiEditDlg::mySMESHGUI, SMESHGUI_MultiEditDlg::mySortBtn, SMESHGUI_MultiEditDlg::mySubmeshChk, SMESHGUI_MultiEditDlg::myToAllChk, SMESHGUI_MultiEditDlg::on3d2dChanged(), SMESHGUI_MultiEditDlg::onAddBtn(), SMESHGUI_MultiEditDlg::onApply(), SMESHGUI_MultiEditDlg::onCloseView(), SMESHGUI_MultiEditDlg::onDeactivate(), SMESHGUI_MultiEditDlg::onFilterBtn(), SMESHGUI_MultiEditDlg::onGroupChk(), SMESHGUI_MultiEditDlg::onHelp(), SMESHGUI_MultiEditDlg::onListSelectionChanged(), SMESHGUI_MultiEditDlg::onOk(), SMESHGUI_MultiEditDlg::onOpenView(), SMESHGUI_MultiEditDlg::onRemoveBtn(), SMESHGUI_MultiEditDlg::onSelectionDone(), SMESHGUI_MultiEditDlg::onSortListBtn(), SMESHGUI_MultiEditDlg::onSubmeshChk(), SMESHGUI_MultiEditDlg::onToAllChk(), SMESHGUI_MultiEditDlg::reject(), SMESHGUI::SetActiveDialogBox(), SMESHGUI_MultiEditDlg::setSelectionMode(), and SMESHGUI_MultiEditDlg::updateButtons().

Referenced by SMESHGUI_MultiEditDlg::SMESHGUI_MultiEditDlg(), and SMESHGUI_SplitVolumesDlg().

◆ isApplyAndClose()

bool SMESHGUI_PreviewDlg::isApplyAndClose ( ) const
protectedvirtualinherited

◆ isIdValid()

bool SMESHGUI_MultiEditDlg::isIdValid ( const int  theId) const
protectedvirtualinherited

◆ isIntoPrisms()

bool SMESHGUI_SplitVolumesDlg::isIntoPrisms ( )
protected

◆ isValid()

◆ keyPressEvent()

void SMESHGUI_MultiEditDlg::keyPressEvent ( QKeyEvent *  e)
protectedinherited

◆ ListContensChanged

◆ nbElemsInMesh()

smIdType SMESHGUI_SplitVolumesDlg::nbElemsInMesh ( )
protectedvirtual

◆ on3d2dChanged

void SMESHGUI_SplitVolumesDlg::on3d2dChanged ( int  isPrism)
protectedvirtualslot

◆ onAddBtn

◆ onApply

◆ onCloseView

void SMESHGUI_MultiEditDlg::onCloseView ( )
protectedslotinherited

◆ onDeactivate

void SMESHGUI_MultiEditDlg::onDeactivate ( )
protectedslotinherited

◆ onDisplaySimulation

void SMESHGUI_PreviewDlg::onDisplaySimulation ( bool  )
protectedvirtualslotinherited

◆ onFacetSelection

void SMESHGUI_SplitVolumesDlg::onFacetSelection ( bool  isFacetSelection)
protectedslot

Slot called when facet selection button is clicked.

References SMESHGUI_MultiEditDlg::mySelGrp, onSelectionDone(), and setSelectionMode().

Referenced by SMESHGUI_SplitVolumesDlg().

◆ onFilterAccepted

◆ onFilterBtn

◆ onGroupChk

◆ onHelp

void SMESHGUI_MultiEditDlg::onHelp ( )
protectedslotinherited

◆ onListSelectionChanged

◆ onOk

void SMESHGUI_MultiEditDlg::onOk ( )
protectedslotinherited

◆ onOpenView

void SMESHGUI_MultiEditDlg::onOpenView ( )
protectedslotinherited

◆ onRemoveBtn

◆ onSelectionDone

◆ onSetDir

void SMESHGUI_SplitVolumesDlg::onSetDir ( )
protectedslot

◆ onSortListBtn

void SMESHGUI_MultiEditDlg::onSortListBtn ( )
protectedslotinherited

◆ onSubmeshChk

◆ onToAllChk

◆ process()

bool SMESHGUI_SplitVolumesDlg::process ( SMESH::SMESH_MeshEditor_ptr  theEditor,
const SMESH::smIdType_array theIds,
SMESH::SMESH_IDSource_ptr  obj 
)
protectedvirtual

◆ reject

◆ setIsApplyAndClose()

void SMESHGUI_PreviewDlg::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited

◆ setSelectionMode()

◆ showFacetByElement()

◆ showPreview()

◆ toDisplaySimulation

◆ updateButtons()

◆ updateNormalPreview

Field Documentation

◆ myActor

◆ myAddBtn

QPushButton* SMESHGUI_MultiEditDlg::myAddBtn
protectedinherited

◆ myAdvancedGrp

QGroupBox* SMESHGUI_MultiEditDlg::myAdvancedGrp
protectedinherited

◆ myAllDomainsChk

QCheckBox* SMESHGUI_SplitVolumesDlg::myAllDomainsChk
protected

◆ myApplyBtn

QPushButton* SMESHGUI_MultiEditDlg::myApplyBtn
protectedinherited

◆ myAvoidOverConstrainedChk

QCheckBox* SMESHGUI_MultiEditDlg::myAvoidOverConstrainedChk
protectedinherited

◆ myAxisBtn

QPushButton* SMESHGUI_SplitVolumesDlg::myAxisBtn[3]
protected

◆ myBusy

◆ myCellSize

double SMESHGUI_SplitVolumesDlg::myCellSize
protected

◆ myChoiceWidget

◆ myCloseBtn

QPushButton* SMESHGUI_MultiEditDlg::myCloseBtn
protectedinherited

◆ myComboBoxFunctor

◆ myCriterionGrp

◆ myDirSpin

SMESHGUI_SpinBox* SMESHGUI_SplitVolumesDlg::myDirSpin[3]
protected

◆ myEntityType

◆ myEntityTypeGrp

QButtonGroup* SMESHGUI_MultiEditDlg::myEntityTypeGrp
protectedinherited

◆ myFacetSelBtn

QPushButton* SMESHGUI_SplitVolumesDlg::myFacetSelBtn
protected

◆ myFacetSelGrp

QGroupBox* SMESHGUI_SplitVolumesDlg::myFacetSelGrp
protected

◆ myFilterBtn

QPushButton* SMESHGUI_MultiEditDlg::myFilterBtn
protectedinherited

◆ myFilterDlg

◆ myFilterType

◆ myGroup

◆ myGroupBtn

QPushButton* SMESHGUI_MultiEditDlg::myGroupBtn
protectedinherited

◆ myGroupChk

◆ myGroupChoice

◆ myHelpBtn

QPushButton* SMESHGUI_MultiEditDlg::myHelpBtn
protectedinherited

◆ myHelpFileName

◆ myIds

◆ myIsApplyAndClose

bool SMESHGUI_PreviewDlg::myIsApplyAndClose
protectedinherited

◆ myListBox

◆ myMesh

◆ myOkBtn

QPushButton* SMESHGUI_MultiEditDlg::myOkBtn
protectedinherited

◆ myPointSpin

SMESHGUI_SpinBox* SMESHGUI_SplitVolumesDlg::myPointSpin[3]
protected

◆ myPreviewCheckBox

◆ myRemoveBtn

◆ mySelectionMgr

◆ mySelector

◆ mySelGrp

◆ mySimulation

◆ mySMESHGUI

◆ mySortBtn

QPushButton* SMESHGUI_MultiEditDlg::mySortBtn
protectedinherited

◆ mySubmesh

◆ mySubmeshBtn

QPushButton* SMESHGUI_MultiEditDlg::mySubmeshBtn
protectedinherited

◆ mySubmeshChk

◆ myToAllChk