![]() |
CustusX
15.4.0-beta
An IGT application
|
#include <cxNavigation.h>
Public Types | |
enum | VIEW_TYPE { v2D = 0x01, v3D =0x02, vBOTH =0x03 } |
Public Member Functions | |
Navigation (CoreServicesPtr backend, CameraControlPtr camera3D=CameraControlPtr()) | |
void | centerToData (DataPtr image) |
void | centerToView (const std::vector< DataPtr > &images) |
void | centerToGlobalDataCenter () |
void | centerToTooltip () |
void | centerToPosition (Vector3D p_r, QFlags< VIEW_TYPE > viewType=vBOTH) |
Functions for navigating in the visualization scene(s).
Definition at line 50 of file cxNavigation.h.
Enumerator | |
---|---|
v2D | |
v3D | |
vBOTH |
Definition at line 53 of file cxNavigation.h.
cx::Navigation::Navigation | ( | CoreServicesPtr | backend, |
CameraControlPtr | camera3D = CameraControlPtr() |
||
) |
Definition at line 47 of file cxNavigation.cpp.
void cx::Navigation::centerToData | ( | DataPtr | image | ) |
Place the global center to the center of the image.
Definition at line 74 of file cxNavigation.cpp.
void cx::Navigation::centerToGlobalDataCenter | ( | ) |
Place the global center to the mean center of all the loaded images.
Definition at line 103 of file cxNavigation.cpp.
Definition at line 54 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 119 of file cxNavigation.cpp.
void cx::Navigation::centerToView | ( | const std::vector< DataPtr > & | images | ) |
Place the global center to the mean center of all the images in a view(wrapper).
Definition at line 89 of file cxNavigation.cpp.