CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::Navigation Class Reference

#include <cxNavigation.h>

Public Types

enum  VIEW_TYPE { v2D = 0x01, v3D =0x02, vBOTH =0x03 }
 

Public Member Functions

 Navigation (VisServicesPtr services, CameraControlPtr camera3D=CameraControlPtr())
 
void centerToTooltip ()
 
void centerToPosition (Vector3D p_r, QFlags< VIEW_TYPE > viewType=vBOTH)
 
void centerToDataInActiveViewGroup (DataViewProperties properties=DataViewProperties::createFull())
 
void centerToDataInViewGroup (ViewGroupDataPtr group, DataViewProperties properties=DataViewProperties::createFull())
 

Detailed Description

Functions for navigating in the visualization scene(s).

Definition at line 29 of file cxNavigation.h.

Member Enumeration Documentation

Enumerator
v2D 
v3D 
vBOTH 

Definition at line 32 of file cxNavigation.h.

Constructor & Destructor Documentation

cx::Navigation::Navigation ( VisServicesPtr  services,
CameraControlPtr  camera3D = CameraControlPtr() 
)

Definition at line 27 of file cxNavigation.cpp.

Member Function Documentation

void cx::Navigation::centerToDataInActiveViewGroup ( DataViewProperties  properties = DataViewProperties::createFull())

Definition at line 71 of file cxNavigation.cpp.

void cx::Navigation::centerToDataInViewGroup ( ViewGroupDataPtr  group,
DataViewProperties  properties = DataViewProperties::createFull() 
)

Definition at line 77 of file cxNavigation.cpp.

void cx::Navigation::centerToPosition ( Vector3D  p_r,
QFlags< VIEW_TYPE viewType = vBOTH 
)

Definition at line 34 of file cxNavigation.cpp.

void cx::Navigation::centerToTooltip ( )

Place the global center at the current position of the tooltip of the active tool.

Definition at line 97 of file cxNavigation.cpp.


The documentation for this class was generated from the following files: