Computer Assited Medical Intervention Tool Kit  version 5.0
PlaneWidget Class Reference

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::Actionaction
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PlaneWidget() [1/2]

PlaneWidget::PlaneWidget ( )

the constructor

◆ PlaneWidget() [2/2]

PlaneWidget::PlaneWidget ( camitk::Action a)

the constructor

◆ ~PlaneWidget()

PlaneWidget::~PlaneWidget ( )
override

the destructor

References planeWidget.

Member Function Documentation

◆ Execute()

void PlaneWidget::Execute ( vtkObject *  caller,
unsigned long  ,
void *   
)
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:

Member Data Documentation

◆ action

camitk::Action* PlaneWidget::action
private

Referenced by Execute().

◆ planeWidget

vtkSmartPointer<vtkImplicitPlaneWidget> PlaneWidget::planeWidget

The documentation for this class was generated from the following files: