Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkEndoscopySliceScene Class Reference

mitkEndoscopySliceScene - A slice preview scene for virtual endoscopy navigation More...

#include <mitkEndoscopySliceScene.h>

Inherits mitkSceneBase.

Inheritance diagram for mitkEndoscopySliceScene:

Inheritance graph
[legend]
Collaboration diagram for mitkEndoscopySliceScene:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void RenderGL ()
void SetVolume (mitkCoherentVolume *vol)
mitkCoherentVolumeGetVolume ()
void SetVolumeInfo (int dims[3], float spacings[3])
void SetHorizontial ()
void SetVertical ()
bool IsHorizontial ()
void SetGridSpacing (float spacing)
float GetGridSpacing ()
void SetSceneParam (mitkSceneParam *sceneParam)
mitkSceneParamGetSceneParam ()
void SetWidthCenter (float windowWidth, float windowCenter)
void SetWindowWidth (float windowWidth)
void SetWindowCenter (float windowCenter)
float GetWindowWidth ()
float GetWindowCenter ()
virtual void OnMouseDown (int mouseButton, bool ctrlDown, bool shiftDown, int xPos, int yPos)
virtual void OnMouseUp (int mouseButton, bool ctrlDown, bool shiftDown, int xPos, int yPos)
virtual void OnMouseMove (bool ctrlDown, bool shiftDown, int xPos, int yPos)
virtual void OnMouseWheel (bool ctrlDown, bool shiftDown, int xPos, int yPos, int delta)
void SetRotateRadPerPixel (float radPerPixel)
float GetRotateRadPerPixel () const

Detailed Description

mitkEndoscopySliceScene - A slice preview scene for virtual endoscopy navigation

mitkEndoscopySliceScene is a slice preview scene for virtual endoscopy navigation


Member Function Documentation

float mitkEndoscopySliceScene::GetGridSpacing  )  [inline]
 

Get the 2D grid spacing in physical unit.

Returns:
: 2D grid spacing in physical unit.

float mitkEndoscopySliceScene::GetRotateRadPerPixel  )  const [inline]
 

Get the interaction sensitivity of rotation.

Returns:
Return the rad the object is rotated when the mouse is moved 1 pixel

mitkSceneParam* mitkEndoscopySliceScene::GetSceneParam  )  [inline]
 

Get the internal scene param.

Returns:
: the internal scene param.

mitkCoherentVolume* mitkEndoscopySliceScene::GetVolume  ) 
 

Get the data object to be navigated

Returns:
The data object to be navigated.

float mitkEndoscopySliceScene::GetWindowCenter  ) 
 

Get the window center

Returns:
Return the window center

float mitkEndoscopySliceScene::GetWindowWidth  ) 
 

Get the window width

Returns:
Return the window width

bool mitkEndoscopySliceScene::IsHorizontial  )  [inline]
 

Get the display mode.

Returns:
: true=horizontal false=vertical

virtual void mitkEndoscopySliceScene::OnMouseDown int  mouseButton,
bool  ctrlDown,
bool  shiftDown,
int  xPos,
int  yPos
[virtual]
 

The Interface for handling the mouse pressed event pass by the container

Reimplemented from mitkSceneBase.

virtual void mitkEndoscopySliceScene::OnMouseMove bool  ctrlDown,
bool  shiftDown,
int  xPos,
int  yPos
[virtual]
 

The Interface for handling the mouse moved event pass by the container

Reimplemented from mitkSceneBase.

virtual void mitkEndoscopySliceScene::OnMouseUp int  mouseButton,
bool  ctrlDown,
bool  shiftDown,
int  xPos,
int  yPos
[virtual]
 

The Interface for handling the mouse released event pass by the container

Reimplemented from mitkSceneBase.

virtual void mitkEndoscopySliceScene::OnMouseWheel bool  ctrlDown,
bool  shiftDown,
int  xPos,
int  yPos,
int  delta
[virtual]
 

The Interface for handling the mouse wheel event pass by the container

Reimplemented from mitkSceneBase.

virtual void mitkEndoscopySliceScene::RenderGL  )  [virtual]
 

The Interface for handling the render event pass by the container

Reimplemented from mitkSceneBase.

void mitkEndoscopySliceScene::SetGridSpacing float  spacing  )  [inline]
 

Set the 2D grid spacing in physical unit.

Parameters:
spacings,: 2D grid spacing in physical unit.

void mitkEndoscopySliceScene::SetHorizontial  )  [inline]
 

Set to horizontal mode

void mitkEndoscopySliceScene::SetRotateRadPerPixel float  radPerPixel  )  [inline]
 

Set the interaction sensitivity of rotation.

Parameters:
radPerPixel. The rad the object is rotated when the mouse is moved 1 pixel

void mitkEndoscopySliceScene::SetSceneParam mitkSceneParam sceneParam  )  [inline]
 

Set the internal scene param.

Parameters:
sceneParam,: the internal scene param.

void mitkEndoscopySliceScene::SetVertical  )  [inline]
 

Set to vertical mode

void mitkEndoscopySliceScene::SetVolume mitkCoherentVolume vol  ) 
 

Set the data object to be navigated

Parameters:
vol,: The data object to be navigated.

void mitkEndoscopySliceScene::SetVolumeInfo int  dims[3],
float  spacings[3]
 

Set the volume dimensions and spacings then calculate the cropping boundaries

Parameters:
dims,: dimensions.
float,: spacings.

void mitkEndoscopySliceScene::SetWidthCenter float  windowWidth,
float  windowCenter
 

Set the window width and windows center

Parameters:
windowWidth The window width
windowCenter The window center

void mitkEndoscopySliceScene::SetWindowCenter float  windowCenter  ) 
 

Set the window center

Parameters:
windowCenter The window center

void mitkEndoscopySliceScene::SetWindowWidth float  windowWidth  ) 
 

Set the window width

Parameters:
windowWidth The window width


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:02:15 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3