Version: 8.3.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::long_array &, SMESH::SMESH_IDSource_ptr obj)
 
virtual int 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::long_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
 
QComboBox * myComboBoxFunctor
 
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
 
SMESHGUI_MeshEditPreviewmySimulation
 
QCheckBox * myPreviewCheckBox
 
bool myIsApplyAndClose
 

Detailed Description

Class : SMESHGUI_SplitVolumesDlg Description : Split all volumes into tetrahedrons.

Constructor & Destructor Documentation

SMESHGUI_SplitVolumesDlg::~SMESHGUI_SplitVolumesDlg ( )
virtual

Member Function Documentation

QWidget * SMESHGUI_MultiEditDlg::createButtonFrame ( QWidget theParent)
protectedinherited
bool SMESHGUI_MultiEditDlg::eventFilter ( QObject object,
QEvent *  event 
)
inherited
SMESH::long_array_var SMESHGUI_MultiEditDlg::getIds ( SMESH::SMESH_IDSource_var &  obj)
protectedinherited
void SMESHGUI_MultiEditDlg::Init ( )
inherited
bool SMESHGUI_PreviewDlg::isApplyAndClose ( ) const
protectedvirtualinherited
bool SMESHGUI_MultiEditDlg::isIdValid ( const int  theId) const
protectedvirtualinherited
bool SMESHGUI_SplitVolumesDlg::isIntoPrisms ( )
protected
void SMESHGUI_MultiEditDlg::keyPressEvent ( QKeyEvent *  e)
protectedinherited
int SMESHGUI_SplitVolumesDlg::nbElemsInMesh ( )
protectedvirtual
void SMESHGUI_SplitVolumesDlg::on3d2dChanged ( int  isPrism)
protectedvirtualslot
void SMESHGUI_MultiEditDlg::onCloseView ( )
protectedslotinherited
void SMESHGUI_MultiEditDlg::onDeactivate ( )
protectedslotinherited
void SMESHGUI_PreviewDlg::onDisplaySimulation ( bool  toDisplayPreview)
protectedvirtualslotinherited
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().

void SMESHGUI_MultiEditDlg::onHelp ( )
protectedslotinherited
void SMESHGUI_MultiEditDlg::onOk ( )
protectedslotinherited
void SMESHGUI_MultiEditDlg::onOpenView ( )
protectedslotinherited
void SMESHGUI_SplitVolumesDlg::onSetDir ( )
protectedslot
void SMESHGUI_MultiEditDlg::onSortListBtn ( )
protectedslotinherited
bool SMESHGUI_SplitVolumesDlg::process ( SMESH::SMESH_MeshEditor_ptr  theEditor,
const SMESH::long_array theIds,
SMESH::SMESH_IDSource_ptr  obj 
)
protectedvirtual
void SMESHGUI_PreviewDlg::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited
void SMESHGUI_PreviewDlg::showPreview ( )
inherited

Field Documentation

QPushButton* SMESHGUI_MultiEditDlg::myAddBtn
protectedinherited
QCheckBox* SMESHGUI_SplitVolumesDlg::myAllDomainsChk
protected
QPushButton* SMESHGUI_MultiEditDlg::myApplyBtn
protectedinherited
QPushButton* SMESHGUI_SplitVolumesDlg::myAxisBtn[3]
protected
double SMESHGUI_SplitVolumesDlg::myCellSize
protected
QWidget* SMESHGUI_MultiEditDlg::myChoiceWidget
protectedinherited
QPushButton* SMESHGUI_MultiEditDlg::myCloseBtn
protectedinherited
QGroupBox* SMESHGUI_MultiEditDlg::myCriterionGrp
protectedinherited
SMESHGUI_SpinBox* SMESHGUI_SplitVolumesDlg::myDirSpin[3]
protected
QButtonGroup* SMESHGUI_MultiEditDlg::myEntityTypeGrp
protectedinherited
QPushButton* SMESHGUI_SplitVolumesDlg::myFacetSelBtn
protected
QGroupBox* SMESHGUI_SplitVolumesDlg::myFacetSelGrp
protected
QPushButton* SMESHGUI_MultiEditDlg::myFilterBtn
protectedinherited
SMESHGUI_FilterDlg* SMESHGUI_MultiEditDlg::myFilterDlg
protectedinherited
QPushButton* SMESHGUI_MultiEditDlg::myGroupBtn
protectedinherited
QPushButton* SMESHGUI_MultiEditDlg::myHelpBtn
protectedinherited
QString SMESHGUI_MultiEditDlg::myHelpFileName
protectedinherited
bool SMESHGUI_PreviewDlg::myIsApplyAndClose
protectedinherited
QPushButton* SMESHGUI_MultiEditDlg::myOkBtn
protectedinherited
SMESHGUI_SpinBox* SMESHGUI_SplitVolumesDlg::myPointSpin[3]
protected
QGroupBox* SMESHGUI_MultiEditDlg::mySelGrp
protectedinherited
QPushButton* SMESHGUI_MultiEditDlg::mySortBtn
protectedinherited
QPushButton* SMESHGUI_MultiEditDlg::mySubmeshBtn
protectedinherited