35 #ifndef ANATOMIST_WINDOW3D_CONTROL3D_H 36 #define ANATOMIST_WINDOW3D_CONTROL3D_H 55 const std::string &
name = QT_TRANSLATE_NOOP(
"ControlledWindow",
56 "Default 3D control" ) );
153 virtual std::string
name()
const;
156 void toggleShowTools();
157 void toggleFullScreen();
159 void focusAxialView();
160 void focusCoronalView();
161 void focusSagittelView();
163 QWidget* actionView( QWidget* parent );
164 bool viewableAction()
const;
176 virtual std::string
name()
const;
178 void execLink(
int x,
int y,
int globalX,
int globalY );
179 void endLink(
int x,
int y,
int globalX,
int globalY );
181 QWidget* actionView( QWidget* parent );
182 bool viewableAction()
const;
198 virtual std::string
name()
const;
200 void execMenu(
int x,
int y,
int globalX,
int globalY );
202 QWidget* actionView( QWidget* parent );
203 bool viewableAction()
const;
216 virtual std::string
name()
const;
218 void select(
int modifier,
int x,
int y );
219 void execSelect(
int x,
int y,
int globalX,
int globalY );
220 void execSelectAdding(
int x,
int y,
int globalX,
int globalY );
221 void execSelectToggling(
int x,
int y,
int globalX,
int globalY );
224 void toggleSelectAll();
225 void removeFromWindow();
226 void removeFromGroup();
228 QWidget* actionView( QWidget* parent );
229 bool viewableAction()
const;
242 virtual std::string
name()
const;
244 void beginZoom(
int x,
int y,
int globalX,
int globalY );
245 void moveZoom(
int x,
int y,
int globalX,
int globalY );
246 void endZoom(
int x,
int y,
int globalX,
int globalY );
253 void zoomWheel(
int,
int,
int,
int,
int );
254 void zoom(
int distance );
256 QWidget* actionView( QWidget* parent );
257 bool viewableAction()
const;
274 virtual std::string
name()
const;
276 void beginTranslate(
int x,
int y,
int globalX,
int globalY );
277 void moveTranslate(
int x,
int y,
int globalX,
int globalY );
278 void endTranslate(
int x,
int y,
int globalX,
int globalY );
279 void endTranslateKey();
281 QWidget* actionView( QWidget* parent );
282 bool viewableAction()
const;
300 virtual std::string
name()
const;
303 void execSyncOrientation();
305 QWidget* actionView( QWidget* parent );
306 bool viewableAction()
const;
327 virtual std::string
name()
const {
return "MovieAction" ; }
334 void increaseSpeed();
335 void decreaseSpeed();
344 bool mySliceAndNotTime;
359 virtual std::string
name()
const {
return "SliceAction" ; }
363 void previousSlice();
366 void toggleLinkedOnSlider();
377 virtual std::string
name()
const {
return "DragObjectAction" ; }
380 void dragAll(
int x,
int y,
int globalX,
int globalY );
381 void dragSelected(
int x,
int y,
int globalX,
int globalY );
391 virtual std::string
name()
const {
return "SortMeshesPolygonsAction"; }
395 void toggleAutoSort();
396 void toggleSortDirection();
406 virtual std::string
name()
const {
return "ObjectStatAction"; }
413 #if QT_VERSION >= 0x040600 414 class PinchZoomAction :
public Action 418 virtual ~PinchZoomAction();
420 virtual std::string
name()
const {
return "PinchZoomAction"; }
423 void pinchStart( QPinchGesture *gesture );
424 void pinchMove( QPinchGesture *gesture );
425 void pinchStop( QPinchGesture *gesture );
virtual std::string name() const
virtual void eventAutoSubscription(ActionPool *actionPool)
3D window, OpenGL rendering
virtual std::string name() const
virtual std::string name() const
static Control * creator()
virtual std::string description() const
virtual std::string name() const
Control3D(int priority=100, const std::string &name=QT_TRANSLATE_NOOP("ControlledWindow", "Default 3D control"))
virtual void doAlsoOnDeselect(ActionPool *actionPool)
virtual std::string name() const
virtual void doAlsoOnSelect(ActionPool *)
const std::string & name() const