23 #ifndef OCCVIEWER_CLIPPINGDLG_H
24 #define OCCVIEWER_CLIPPINGDLG_H
31 #include <AIS_Plane.hxx>
32 #include <V3d_Plane.hxx>
63 void SetCurrentPlaneParam();
67 virtual void closeEvent( QCloseEvent* e );
68 virtual void showEvent ( QShowEvent * );
69 virtual void hideEvent ( QHideEvent * );
72 void displayPreview();
76 void updateClipping();
77 void updateControls();
80 int clipPlanesCount();
132 Handle(V3d_View) myView3d;
134 std::vector<
Handle(AIS_Plane)> myPreviewPlaneVector;
136 bool myIsSelectPlane;
137 bool myIsUpdatingControls;
139 bool myIsPlaneCreation;
151 void ClickOnDelete();
152 void ClickOnDisableAll();
158 void onModeAbsolute();
159 void onModeRelative();
161 void onValueChanged();
162 void onSelectPlane(
int );
166 void onOrientationAbsoluteChanged(
int );
167 void onOrientationRelativeChanged(
int );
169 void onPreview(
bool on );
170 void onAutoApply(
bool);
172 void onPlaneClicked(
const Handle_AIS_Plane& thePlane );
173 void onPlaneDragged(
const Handle_AIS_Plane& thePlane );
176 #endif // OCCVIEWER_CLIPPINGDLG_H