27 #ifndef SMESHGUI_CLIPPINGDLG_H
28 #define SMESHGUI_CLIPPINGDLG_H
34 #include <SVTK_ViewWindow.h>
42 #include <vtkSmartPointer.h>
55 class QListWidgetItem;
62 class QtxDoubleSpinBox;
63 class QtxDoubleSpinSlider;
64 class QtxIntSpinSlider;
66 class vtkDataSetMapper;
68 class vtkCallbackCommand;
70 class vtkImplicitPlaneWidget;
155 void keyPressEvent( QKeyEvent* );
156 static void ProcessEvents( vtkObject* theObject,
157 unsigned long theEvent,
161 double getDistance()
const;
162 void setDistance(
const double );
163 double getRotation1()
const;
164 double getRotation2()
const;
165 void setRotation(
const double,
const double );
167 void setOrigin(
double theVal[3]);
168 void setDirection(
double theVal[3]);
170 void initializePlaneData();
173 void updateActorList();
174 void updateActorItem( QListWidgetItem* theItem,
175 bool theUpdateSelectAll,
176 bool theUpdateClippingPlaneMap );
179 void dumpPlaneData()
const;
180 void absolutePlaneToRelative (
double theOrigin[3],
double theDir[3] );
181 void setBoundsForPreviewWidget();
182 vtkImplicitPlaneWidget* createPreviewWidget();
249 virtual void reject();
252 void onModeAbsolute();
253 void onModeRelative();
255 void ClickOnDelete();
256 void onSelectPlane(
int );
257 void onSelectAll(
int );
258 void onActorItemChanged( QListWidgetItem* );
259 void SetCurrentPlaneParam();
261 void onIsOpenGLClipping(
bool);
262 void OnPreviewToggle(
bool );
263 void onAutoApply(
bool);
268 void onSelectAbsoluteOrientation(
int );
269 void onSelectRelativeOrientation(
int );
274 #endif // SMESHGUI_CLIPPINGDLG_H