Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Enumerations

The CamiTK Core Viewer structure. More...

+ Collaboration diagram for Viewer:

Classes

class  camitk::ActionViewer
 ActionViewer is the viewer used to manage the actions. More...
 
class  camitk::Explorer
 Explorer window, display the list of all data currently opened in the application. More...
 
class  camitk::InteractiveViewer
 InteractiveViewer is used to view 3D objects and slices (anything that provides either a InterfaceBitMap or a InterfaceGeometry). More...
 
class  camitk::MedicalImageViewer
 The views manager. More...
 
class  camitk::PropertyExplorer
 The property explorer. More...
 
class  camitk::RendererWidget
 RendererWidget implements all support methods to use camiTK with Qt interface. More...
 
class  camitk::RendererWidget::ScreenshotFormatInfo
 sub-class containing all information concerning exporting images (screenshot) More...
 
class  camitk::Viewer
 Viewer is an abstract viewer. More...
 

Enumerations

enum  camitk::RendererWidget::CameraOrientation { camitk::RendererWidget::RIGHT_DOWN, camitk::RendererWidget::LEFT_UP, camitk::RendererWidget::RIGHT_UP }
 describes the initial position and orientation of the default camera. More...
 
enum  camitk::RendererWidget::ControlMode { camitk::RendererWidget::JOYSTICK, camitk::RendererWidget::TRACKBALL, camitk::RendererWidget::TRACKBALL_2D, camitk::RendererWidget::NONE }
 list of possible user interaction control mode More...
 
enum  camitk::InteractiveViewer::HighlightMode { camitk::InteractiveViewer::OFF, camitk::InteractiveViewer::SELECTION, camitk::InteractiveViewer::SELECTION_ONLY }
 describes the current mode of display. More...
 
enum  camitk::MedicalImageViewer::LayoutVisibility {
  camitk::MedicalImageViewer::VIEWER_ALL, camitk::MedicalImageViewer::VIEWER_3D, camitk::MedicalImageViewer::VIEWER_AXIAL, camitk::MedicalImageViewer::VIEWER_CORONAL,
  camitk::MedicalImageViewer::VIEWER_SAGITTAL, camitk::MedicalImageViewer::VIEWER_ARBITRARY
}
 describes the possible currently displayed InteractiveViewer More...
 
enum  camitk::RendererWidget::MouseButtonState { camitk::RendererWidget::NO_BUTTON, camitk::RendererWidget::LEFT_BUTTON, camitk::RendererWidget::MIDDLE_BUTTON, camitk::RendererWidget::RIGHT_BUTTON }
 state of the pressed button (for 3 buttons mouse) More...
 
enum  camitk::InteractiveViewer::PickingMode { camitk::InteractiveViewer::PIXEL_PICKING, camitk::InteractiveViewer::POINT_PICKING, camitk::InteractiveViewer::CELL_PICKING, camitk::InteractiveViewer::NO_PICKING }
 Different kind of picking must be available: pixel in slice, a point, a cell, ... More...
 
enum  camitk::RendererWidget::ScreenshotFormat {
  camitk::RendererWidget::PNG = 0, camitk::RendererWidget::JPG, camitk::RendererWidget::BMP, camitk::RendererWidget::PS,
  camitk::RendererWidget::EPS, camitk::RendererWidget::PDF, camitk::RendererWidget::TEX, camitk::RendererWidget::SVG,
  camitk::RendererWidget::OBJ, camitk::RendererWidget::RIB, camitk::RendererWidget::VRML, camitk::RendererWidget::NOT_SUPPORTED
}
 list of supported screenshot export formats More...
 
enum  camitk::ActionViewer::UpdateReason { camitk::ActionViewer::ActionFamilyChanged, camitk::ActionViewer::ActionNameChanged, camitk::ActionViewer::ActionTagChanged, camitk::ActionViewer::ViewerRefresh }
 Enum the different fields of the action viewwer. 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

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.

list of possible user interaction control mode

Enumerator
JOYSTICK 

the mouse is used a joystick

TRACKBALL 

the mouse is used as a trackball (default)

TRACKBALL_2D 

same as TRACKBALL but does not allow rotation using left button (but zoom and displacement parallel to slice is allowed)

NONE 

describes the current mode of display.

It is usefull to change the way the currently selected Components look compared to the unselected ones. In the default mode a Component is not highlighted, not shaded and not hidden.

Enumerator
OFF 

both selected and non-selected Components are in default mode

SELECTION 

the selected Components are in default mode, the non-selected Components are shaded

SELECTION_ONLY 

the selected Components are in default mode, the non-selected are hidden

describes the possible currently displayed InteractiveViewer

Enumerator
VIEWER_ALL 

All InteractiveViewer are visible.

VIEWER_3D 

Only the 3D InteractiveViewer are visible.

VIEWER_AXIAL 

Only the axial InteractiveViewer are visible.

VIEWER_CORONAL 

Only the coronal InteractiveViewer are visible.

VIEWER_SAGITTAL 

Only the sagittal InteractiveViewer are visible.

VIEWER_ARBITRARY 

Only the arbitrary InteractiveViewer are visible.

state of the pressed button (for 3 buttons mouse)

Enumerator
NO_BUTTON 

no buttons are currently pressed

LEFT_BUTTON 

the mouse left button is currently pressed

MIDDLE_BUTTON 

the mouse middle button is currently pressed (or 3rd button emulation)

RIGHT_BUTTON 

the mouse right button is currently pressed

Different kind of picking must be available: pixel in slice, a point, a cell, ...

So far, only pixel picking is implemented.

Enumerator
PIXEL_PICKING 

pick a pixel on a Slice

POINT_PICKING 

pick a point in the VTK representation of an Geometry

CELL_PICKING 

pick a cell in the VTK representation of an Geometry

NO_PICKING 

no picking possible

list of supported screenshot export formats

Enumerator
PNG 

Portable Network Graphics.

JPG 

JPEG.

BMP 

Bitmap.

PS 

PostScript.

EPS 

Encapsulated PostScript.

PDF 

Portable Document Format.

TEX 

LaTeX (only the text is exported)

SVG 

Scalable Vector Graphics.

OBJ 

Alias Wavefront .OBJ.

RIB 

RenderMan/BMRT .RIB.

VRML 

VRML 2.0.

NOT_SUPPORTED 

Enum the different fields of the action viewwer.

Enumerator
ActionFamilyChanged 
ActionNameChanged 
ActionTagChanged 
ViewerRefresh