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

mitkCUDAEndoscopySliceScene Class Reference

mitkCUDAEndoscopySliceScene - A CUDA based slice preview scene for virtual endoscopy navigation More...

#include <mitkCUDAEndoscopySliceScene.h>

Inherits mitkSceneBase.

Inheritance diagram for mitkCUDAEndoscopySliceScene:

Inheritance graph
[legend]
Collaboration diagram for mitkCUDAEndoscopySliceScene:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void RenderGL ()
void SetVolumeTexture (mitkCUDAVolumeTexture *tex)
mitkCUDAVolumeTexture * GetVolumeTexture ()
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

mitkCUDAEndoscopySliceScene - A CUDA based slice preview scene for virtual endoscopy navigation

mitkCUDAEndoscopySliceScene is a CUDA based slice preview scene for virtual endoscopy navigation


Member Function Documentation

float mitkCUDAEndoscopySliceScene::GetGridSpacing  )  [inline]
 

Get the 2D grid spacing in physical unit.

Returns:
: 2D grid spacing in physical unit.

float mitkCUDAEndoscopySliceScene::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* mitkCUDAEndoscopySliceScene::GetSceneParam  )  [inline]
 

Get the internal scene param.

Returns:
: the internal scene param.

mitkCUDAVolumeTexture* mitkCUDAEndoscopySliceScene::GetVolumeTexture  ) 
 

Get the data object to be navigated

Returns:
The data object to be navigated.

float mitkCUDAEndoscopySliceScene::GetWindowCenter  ) 
 

Get the window center

Returns:
Return the window center

float mitkCUDAEndoscopySliceScene::GetWindowWidth  ) 
 

Get the window width

Returns:
Return the window width

bool mitkCUDAEndoscopySliceScene::IsHorizontial  )  [inline]
 

Get the display mode.

Returns:
: true=horizontal false=vertical

virtual void mitkCUDAEndoscopySliceScene::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 mitkCUDAEndoscopySliceScene::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 mitkCUDAEndoscopySliceScene::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 mitkCUDAEndoscopySliceScene::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 mitkCUDAEndoscopySliceScene::RenderGL  )  [virtual]
 

The Interface for handling the render event pass by the container

Reimplemented from mitkSceneBase.

void mitkCUDAEndoscopySliceScene::SetGridSpacing float  spacing  )  [inline]
 

Set the 2D grid spacing in physical unit.

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

void mitkCUDAEndoscopySliceScene::SetHorizontial  )  [inline]
 

Set to horizontal mode

void mitkCUDAEndoscopySliceScene::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 mitkCUDAEndoscopySliceScene::SetSceneParam mitkSceneParam sceneParam  )  [inline]
 

Set the internal scene param.

Parameters:
sceneParam,: the internal scene param.

void mitkCUDAEndoscopySliceScene::SetVertical  )  [inline]
 

Set to vertical mode

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

Set the volume dimensions and spacings then calculate the cropping boundaries

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

void mitkCUDAEndoscopySliceScene::SetVolumeTexture mitkCUDAVolumeTexture *  tex  ) 
 

Set the data object to be navigated

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

void mitkCUDAEndoscopySliceScene::SetWidthCenter float  windowWidth,
float  windowCenter
 

Set the window width and windows center

Parameters:
windowWidth The window width
windowCenter The window center

void mitkCUDAEndoscopySliceScene::SetWindowCenter float  windowCenter  ) 
 

Set the window center

Parameters:
windowCenter The window center

void mitkCUDAEndoscopySliceScene::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:01:46 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3