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

mitkWidgetModel3D Class Reference

mitkWidgetModel3D - abstract class used to represent a 3D widget entity More...

#include <mitkWidgetModel3D.h>

Inherits mitkWidgetModel.

Inherited by mitkAngleWidgetModel3D, mitkClippingPlaneWidgetModel, mitkLineWidgetModel3D, and mitkReslicePlaneWidgetModel.

Inheritance diagram for mitkWidgetModel3D:

Inheritance graph
[legend]
Collaboration diagram for mitkWidgetModel3D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
virtual void SetScene (mitkScene *scene)
virtual void SetSourceModel (mitkDataModel *model)
virtual void Update ()

Detailed Description

mitkWidgetModel3D - abstract class used to represent a 3D widget entity

mitkWidgetModel3D is an abstract class used to represent a 3D widget entity (e.g. a line or an angle) in a rendering scene. It can make responses to the mouse events and manipulate the mitkDataModel to which it attaches.

Note:
3D widgets are only supposed to be attached to 3D data models (e.g. mitkVolumeModel, mitkSurfaceModel). Attaching them to a 2D data model could induce improper display.


Member Function Documentation

virtual void mitkWidgetModel3D::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 mitkWidgetModel.

Reimplemented in mitkAngleWidgetModel3D, mitkClippingPlaneWidgetModel, mitkLineWidgetModel3D, and mitkReslicePlaneWidgetModel.

virtual void mitkWidgetModel3D::SetScene mitkScene scene  )  [inline, virtual]
 

Set the scene which contains this model.

Parameters:
scene pointer to the mitkScene contains this model

Implements mitkWidgetModel.

virtual void mitkWidgetModel3D::SetSourceModel mitkDataModel model  )  [virtual]
 

Associate this widget with a model.

Parameters:
model pointer to an miekDataModel to which this widget attach

Reimplemented from mitkWidgetModel.

Reimplemented in mitkClippingPlaneWidgetModel, and mitkReslicePlaneWidgetModel.

virtual void mitkWidgetModel3D::Update  )  [virtual]
 

Update the parameters of the widget.

Implements mitkWidgetModel.

Reimplemented in mitkAngleWidgetModel3D, mitkClippingPlaneWidgetModel, mitkLineWidgetModel3D, and mitkReslicePlaneWidgetModel.


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