#include <mitkAngleWidgetModel3D.h>
Inherits mitkWidgetModel3D.
Inheritance diagram for mitkAngleWidgetModel3D:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
mitkAngleWidgetModel3D (float startPoint[3], float endPoint0[3], float endPoint1[3]) | |
virtual int | Render (mitkScene *scene) |
virtual void | Pick (const WidgetNames &names) |
virtual void | Release () |
void | SetUnits (float ux, float uy, float uz) |
void | SetUnits (float units[3]) |
float | GetAngleInDegree () |
float | GetAngleInRadian () |
virtual void | Update () |
Protected Member Functions | |
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, int deltaX, int deltaY) |
mitkAngleWidgetModel3D is a 3D widget for measuring angles. It can respond the mouse events and return the current angle in units of degrees or radian. It is supposed to be attached to a 3D data model (e.g. mitkVolumeModel, mitkSurfaceModel) and add to a 3D scene (e.g. mitkScene), and in other conditions the display could be improper.
|
One and only constructor of mitkAngleWidgetModel3D.
|
|
Deal with mouse down event.
Implements mitkWidgetModel. |
|
Deal with mouse move event.
Implements mitkWidgetModel. |
|
Deal with mouse up event.
Implements mitkWidgetModel. |
|
Get the value of angle in degree.
|
|
Get the value of angle in radian.
|
|
Maintain the selection status when this widget is picked.
Implements mitkWidgetModel. |
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkWidgetModel3D. |
|
Maintain the selection status when this widget is released. Implements mitkWidgetModel. |
|
Render this model.
Reimplemented from mitkModel. |
|
Set unit length on axes.
|
|
Set unit length on axes.
|
|
Update the parameters of the widget. Reimplemented from mitkWidgetModel3D. |