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

mitkVolumeModel Class Reference

mitkVolumeModel - an 3D entity in a rendering scene represented in volume More...

#include <mitkVolumeModel.h>

Inherits mitkDataModel.

Inheritance diagram for mitkVolumeModel:

Inheritance graph
Collaboration diagram for mitkVolumeModel:

Collaboration graph
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
virtual mitkRendererGetBasicRenderer ()
void SetRenderer (mitkVolumeRenderer *renderer)
mitkVolumeRendererGetRenderer (void)
void SetProperty (mitkVolumeProperty *prop)
mitkVolumePropertyGetProperty (void)
void SetData (mitkVolume *data)
mitkVolumeGetData (void)
virtual int Render (mitkScene *scene)
virtual bool IsOpaque ()

Detailed Description

mitkVolumeModel - an 3D entity in a rendering scene represented in volume

mitkVolumeModel is an 3D entity in a rendering scene represented in volume. It contains an mitkVolume object which should be shown in the rendering scene. Not like widget model, it is a kind of mitkDataModel and can not be manipulated by itself.

Member Function Documentation

virtual mitkRenderer* mitkVolumeModel::GetBasicRenderer  )  [inline, virtual]

Get the renderer for widget.

Return pointer to an mitkRenderer which renders this model actually.
This function is written for the widget who needs to know the information about the volume model's renderer.

Reimplemented from mitkDataModel.

mitkVolume* mitkVolumeModel::GetData void   ) 

Get the volume data.

Return pointer to the volume data.

mitkVolumeProperty* mitkVolumeModel::GetProperty void   ) 

Get the volume property.

Return pointer to this volume model's property.

mitkVolumeRenderer* mitkVolumeModel::GetRenderer void   ) 

Get the volume renderer.

Return a pointer to this volume model's renderer.

virtual bool mitkVolumeModel::IsOpaque  )  [inline, virtual]

Whether this model is opaque.

Return true if this model is opaque.

Implements mitkModel.

virtual void mitkVolumeModel::PrintSelf ostream &  os  )  [virtual]

Print the necessary information about this object for the debugging purpose.

os The specified ostream to output information.

Reimplemented from mitkDataModel.

virtual int mitkVolumeModel::Render mitkScene scene  )  [virtual]

Render this model.

scene the pointer of an mitkScene in which this model will be shown
Return 1 if this model is rendered successfully. Otherwise return 0.
Don't call this function directly.

Reimplemented from mitkModel.

void mitkVolumeModel::SetData mitkVolume data  ) 

Set the volume data.

data pointer to an mitkVolume

void mitkVolumeModel::SetProperty mitkVolumeProperty prop  ) 

Set the volume property.

prop pointer to an mitkVolumeProperty

void mitkVolumeModel::SetRenderer mitkVolumeRenderer renderer  ) 

Set the volume renderer.

renderer pointer to an mitkVolumeRenderer

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