#include <mitkClippingPlaneWidgetModel.h>
Inherits mitkWidgetModel3D.
Inheritance diagram for mitkClippingPlaneWidgetModel:


Public Member Functions | |
| virtual void | PrintSelf (ostream &os) | 
| mitkClippingPlaneWidgetModel (float ox, float oy, float oz, float nx=0.0f, float ny=0.0f, float nz=1.0f, float width=100.0f, float height=100.0f) | |
| mitkClippingPlaneWidgetModel (coord_type v0x, coord_type v0y, coord_type v0z, coord_type v1x, coord_type v1y, coord_type v1z, coord_type cx, coord_type cy, coord_type cz) | |
| void | SetPlanePosition (coord_type v0x, coord_type v0y, coord_type v0z, coord_type v1x, coord_type v1y, coord_type v1z, coord_type cx, coord_type cy, coord_type cz) | 
| virtual int | Render (mitkScene *scene) | 
| virtual void | Pick (const WidgetNames &names) | 
| virtual void | Release () | 
| virtual void | SetSourceModel (mitkDataModel *model) | 
| void | SetOpacity (float opacity) | 
| virtual void | Update () | 
| void | RotateRadAroundXAxisOfPlane (float angle) | 
| void | RotateRadAroundYAxisOfPlane (float angle) | 
| void | RotateRadAroundZAxisOfPlane (float angle) | 
| void | RotateDegAroundXAxisOfPlane (float angle) | 
| void | RotateDegAroundYAxisOfPlane (float angle) | 
| void | RotateDegAroundZAxisOfPlane (float angle) | 
| void | TranslatePlane (float tx, float ty, float tz) | 
| void | SetPlaneCenter (float ox, float oy, float oz) | 
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) | 
mitkClippingPlaneWidgetModel is a 3D widget for clipping plane. It provides an appearance and an interaction way for clipping plane. It is supposed to be attached to a 3D data model (e.g. mitkVolumeModel, mitkSurfaceModel), and in other conditions the display could be improper.
      
  | 
  ||||||||||||||||||||||||||||||||||||
| 
 A constructor of mitkClippingPlaneWidgetModel. The default normal of this plane is (0.0, 0.0, 1.0) (XoY plane) and the default size of this plane is 100.0*100.0. 
  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||||||
| 
 A constructor. The parameters specify a rectangle in the model space via its left-bottom point, right-bottom point and center point. 
  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Deal with mouse down event. 
 Implements mitkWidgetModel.  | 
  
      
  | 
  ||||||||||||||||||||||||||||
| 
 Deal with mouse move event. 
 Implements mitkWidgetModel.  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Deal with mouse up event. 
 Implements mitkWidgetModel.  | 
  
      
  | 
  
| 
 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.  | 
  
      
  | 
  
| 
 Rotate the plane around the x axis of the plane. This function is provided for convenience. It behaves essentially like RotateRadAroundXAxisOfPlane(), but the parameter angle is in degree. 
  | 
  
      
  | 
  
| 
 Rotate the plane around the y axis of the plane. This function is provided for convenience. It behaves essentially like RotateRadAroundYAxisOfPlane(), but the parameter angle is in degree. 
  | 
  
      
  | 
  
| 
 Rotate the plane around the z axis of the plane. This function is provided for convenience. It behaves essentially like RotateRadAroundZAxisOfPlane(), but the parameter angle is in degree. 
  | 
  
      
  | 
  
| 
 Rotate the plane around the x axis of the plane. |z / y left top | / right top o---------|--+-----------o / | / / / |/ / x / o-----------+----> / / / / o------------------------o left bottom right bottom 
 
  | 
  
      
  | 
  
| 
 Rotate the plane around the y axis of the plane. |z / y left top | / right top o---------|--+-----------o / | / / / |/ / x / o-----------+----> / / / / o------------------------o left bottom right bottom 
 
  | 
  
      
  | 
  
| 
 Rotate the plane around the z axis of the plane. |z / y left top | / right top o---------|--+-----------o / | / / / |/ / x / o-----------+----> / / / / o------------------------o left bottom right bottom 
 
  | 
  
      
  | 
  
| 
 Set the opacity of the plane. 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Set the center of the plane. 
  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||||||
| 
 Set the position of this plane. The parameters specify a rectangle in the model space via its left-bottom point, right-bottom point and center point. 
  | 
  
      
  | 
  
| 
 Associate this widget with a data model. 
 
 Reimplemented from mitkWidgetModel3D.  | 
  
      
  | 
  ||||||||||||||||
| 
 Translate the plane with translation vector (tx, ty, tz). 
  | 
  
      
  | 
  
| 
 Update the parameters of the widget. Reimplemented from mitkWidgetModel3D.  | 
  
 1.4.3