+ SALOME_Actor* myPreviewActor;
+ QCheckBox* myPreviewChk;
+};
+
+/*!
+ * Class : SMESHGUI_SplitVolumesDlg
+ * Description : Split all volumes into tetrahedrons
+ */
+class SMESHGUI_SplitVolumesDlg : public SMESHGUI_MultiEditDlg
+{
+ Q_OBJECT
+
+public:
+ SMESHGUI_SplitVolumesDlg( SMESHGUI* );
+ virtual ~SMESHGUI_SplitVolumesDlg();
+
+protected slots:
+
+ virtual void on3d2dChanged(int);
+ virtual void onSelectionDone();
+
+ void onFacetSelection(bool);
+ void onSetDir();
+ void updateNormalPreview(const QString& s="");
+
+protected:
+
+ virtual bool process( SMESH::SMESH_MeshEditor_ptr,
+ const SMESH::long_array&,
+ SMESH::SMESH_IDSource_ptr obj );
+ virtual int nbElemsInMesh();
+
+ virtual void setSelectionMode();
+ void showFacetByElement( int id );
+ bool isIntoPrisms();
+
+ QGroupBox* myFacetSelGrp;
+ SMESHGUI_SpinBox* myPointSpin[3];
+ SMESHGUI_SpinBox* myDirSpin [3];
+ QPushButton* myFacetSelBtn;
+ QPushButton* myAxisBtn[3];
+ QCheckBox* myAllDomainsChk;
+
+ double myCellSize;