Computer Assited Medical Intervention Tool Kit  version 5.0
+ Collaboration diagram for Viewer:

Classes

class  camitk::InteractiveViewer
 InteractiveViewer is used to view 3D objects and slices (anything that provides either a InterfaceBitMap or a InterfaceGeometry). More...
 
class  camitk::InteractiveViewerFrame
 InteractiveViewerFrame is the basic container for the InteractiveViewer widget. More...
 
class  camitk::Viewer
 Viewer is an abstract class that is the base class for all viewers. More...
 
class  camitk::ViewerDockStyle
 a specific style made for QDockWidget that adds an icon to the dock widget title More...
 
class  camitk::ViewerExtension
 This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core, write a new class that inherits from this class. More...
 

Enumerations

enum  camitk::CameraOrientation {
  camitk::RIGHT_DOWN, camitk::LEFT_UP, camitk::RIGHT_UP, camitk::LEFT_BACK,
  camitk::BACK_DOWN
}
 RendererWidget implements all support methods to use camiTK with Qt interface. More...
 

Detailed Description

The CamiTK Core Viewer structure. The Viewer class handles all the presentation and interaction logic (the View and Presenter part of the MVP). The CamiTK viewers are using either Qt widget or VTK renderer but are not limited to that. Viewers manage the user interactions and map them into calls to the interface methods of the components.

Enumeration Type Documentation

◆ CameraOrientation

RendererWidget implements all support methods to use camiTK with Qt interface.

This class wraps the necessary VTK method for rendering, interactions, and signal/slot connections. This class should be usable completely independently of Core.

The Core companion class is InteractiveViewer (which delegates all vtk stuff to RendererWidget.

It is directly based on QVTKWidget2, the GUI support class available in Vtk version >= 5.0 This is a pure Qt/vtk wrapper class (no Core stuff).

For developers: please check the coding policy in InteractiveViewer API documentation first. describes the initial position and orientation of the default camera. The world coordinate system is not changed by the CameraOrientation, only the inital position and orientation of the camera. 6 keywords can be used to determine the direction of the x and y axis as intially viewed by the camera: RIGHT, LEFT, UP, DOWN, FRONT, BACK. The first part of the enum name describes the x direction, the second part corresponds to the y direction. The camera is positionned and orientated in order to view the axes as described by the keywords. E.g. RIGHT_DOWN will set the camera so that the x axis points toward the right direction and the y axis points toward the down direction.

Enumerator
RIGHT_DOWN 

World axes are seen so that x points to the right, y points downward.

LEFT_UP 

World axes are seen so that x points to the left, y points upward.

RIGHT_UP 

World axes are seen so that x points to the right, y points upward.

LEFT_BACK 
BACK_DOWN 

< World axes are seen so that x points to the left, y points backward. For Medical Images Coronal Views (see Image Reorientation Action Documentation)