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

mitkDataModel Class Reference

mitkDataModel - abstract class used to represent an data entity in a rendering scene More...

#include <mitkDataModel.h>

Inherits mitkModel.

Inherited by mitkImageModel, mitkOrthogonalImageModel, mitkSurfaceModel, and mitkVolumeModel.

Inheritance diagram for mitkDataModel:

Inheritance graph
[legend]
Collaboration diagram for mitkDataModel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
void AddWidget (mitkWidgetModel *widget)
void UpdateWidgets ()
void RemoveWidget (mitkWidgetModel *widget)
void RemoveAllWidgets ()
int GetWidgetCount ()
mitkWidgetModelGetWidgetModel (int index)
bool IsEmpty ()

Detailed Description

mitkDataModel - abstract class used to represent an data entity in a rendering scene

mitkDataModel is an abstract class used to represent an entity (e.g. a surface or a volume) in a rendering scene.


Member Function Documentation

void mitkDataModel::AddWidget mitkWidgetModel widget  ) 
 

Attach a widget to this data model.

Parameters:
widget pointer to an mitkWidgetModel to attach

int mitkDataModel::GetWidgetCount  ) 
 

Get the count of the widget models attached to this data model.

Returns:
Return the count of the widget models attached to this data model.

mitkWidgetModel* mitkDataModel::GetWidgetModel int  index  ) 
 

Get the pointer to the widget model object indicated by index.

Returns:
Return the pointer to the widget model object, NULL if not found.

bool mitkDataModel::IsEmpty  )  [inline]
 

Whether is this data model empty (i.e. no data has been set to this model).

Returns:
Return true if no data has been set to this model.

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

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

Parameters:
os The specified ostream to output information.

Reimplemented from mitkModel.

Reimplemented in mitkImageModel, mitkOrthogonalImageModel, mitkSurfaceModel, and mitkVolumeModel.

void mitkDataModel::RemoveAllWidgets  ) 
 

Detach all widgets from this data model.

void mitkDataModel::RemoveWidget mitkWidgetModel widget  ) 
 

Detach a widget from this data model.

Parameters:
widget pointer to a mitkWidgetModel to detach

void mitkDataModel::UpdateWidgets  ) 
 

Update the parameters of the widgets attached to this data model when the data has been changed.


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