CustusX  15.3.4-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::Navigation Class Reference

#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)
 

Detailed Description

Functions for navigating in the visualization scene(s).

Definition at line 50 of file cxNavigation.h.

Member Enumeration Documentation

Enumerator
v2D 
v3D 
vBOTH 

Definition at line 53 of file cxNavigation.h.

Constructor & Destructor Documentation

cx::Navigation::Navigation ( CoreServicesPtr  backend,
CameraControlPtr  camera3D = CameraControlPtr() 
)

Definition at line 47 of file cxNavigation.cpp.

Member Function Documentation

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.

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

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.


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