1 // File : VisuGUI_CutPlanesDlg.h
2 // Created : Wed Aug 01 10:23:06 2001
3 // Author : Laurent CORNABE & Hubert ROLLAND
6 // Copyright : PRINCIPIA
9 #ifndef VISUGUI_CUTPLANESDLG_H
10 #define VISUGUI_CUTPLANESDLG_H
13 #include <qbuttongroup.h>
14 #include <qgroupbox.h>
16 #include <qpushbutton.h>
17 #include <qradiobutton.h>
19 #include "QAD_SpinBoxDbl.h"
20 #include "VISU_PrsObject_i.hh"
21 #include "VisuGUI_ScalarBarDlg.h"
24 class VisuGUI_CutPlanesDlg : public QDialog
29 VisuGUI_CutPlanesDlg();
30 ~VisuGUI_CutPlanesDlg();
32 void setBounds( const double x1, const double x2,
33 const double y1, const double y2,
34 const double z1, const double z2 );
35 void setNbPlanes( const int nbp );
37 void setPlanePos( const VISU::CutPlanes::Orientation orient/*, const double pos1, const double pos2 */);
38 //void setPlanePosFrac( const int orient, const double frac1, const double frac2 );
39 VISU::CutPlanes::Orientation getOrientaion();
40 //double getPlanePos1();
41 //double getPlanePos2();
42 void setRotation( const double r1, const double r2 );
43 double getRotation1();
44 double getRotation2();
46 void initFromPrsObject(VISU::CutPlanes_i* thePrs);
47 void storeToPrsObject(VISU::CutPlanes_i* thePrs);
58 //QAD_SpinBoxDbl* PosPlan1;
59 //QAD_SpinBoxDbl* PosFrac1;
60 //QAD_SpinBoxDbl* PosPlan2;
61 //QAD_SpinBoxDbl* PosFrac2;
78 void orientationChanged( int );
79 //void nbPlanChanged( int );
80 //void fracChanged( double );
81 //void posChanged( double );
84 #endif // VISUGUI_CUTPLANESDLG_H