This class implements a VTK implicit plane in the CamiTK application. More...
#include <PlaneWidget.h>
Inheritance diagram for PlaneWidget:
Collaboration diagram for PlaneWidget:Public Member Functions | |
| void | Execute (vtkObject *caller, unsigned long, void *) override |
| Allows one to get the current 3D widget configuration. More... | |
| PlaneWidget () | |
| the constructor More... | |
| PlaneWidget (camitk::Action *a) | |
| the constructor More... | |
| ~PlaneWidget () override | |
| the destructor More... | |
Public Attributes | |
| vtkSmartPointer< vtkImplicitPlaneWidget > | planeWidget |
| The widget to see the real information. More... | |
Private Attributes | |
| camitk::Action * | action |
This class implements a VTK implicit plane in the CamiTK application.
It uses the vtkImplicitPlaneWidget to display a 3D plane with handy interactors to modify the plane 3D position (orientation and displacement in a given bounding box)
The plane widget is linked with an action. When the user displaces the plane in 3D, the linked action apply() method is automatically called.
| PlaneWidget::PlaneWidget | ( | ) |
the constructor
| PlaneWidget::PlaneWidget | ( | camitk::Action * | a | ) |
the constructor
|
override |
the destructor
References planeWidget.
|
override |
Allows one to get the current 3D widget configuration.
This is a VTK "callback" (inherited from vtkCommand).
References action, and camitk::Action::apply().
Here is the call graph for this function:
|
private |
Referenced by Execute().
| vtkSmartPointer<vtkImplicitPlaneWidget> PlaneWidget::planeWidget |
The widget to see the real information.
Referenced by MeshClipping::apply(), MeshClipping::getWidget(), MeshClipping::meshDeleted(), MeshClipping::updateBox(), and ~PlaneWidget().