Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Public Attributes | Private Attributes | List of all members
PlaneWidget Class Reference

This class implements a VTK implicit plane in the CamiTK application. More...

#include <PlaneWidget.h>

Inherits vtkCommand.

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

References a.

◆ ~PlaneWidget()

PlaneWidget::~PlaneWidget ( )
override

the destructor

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).

Member Data Documentation

◆ action

camitk::Action* PlaneWidget::action
private

◆ planeWidget

vtkSmartPointer<vtkImplicitPlaneWidget> PlaneWidget::planeWidget

The widget to see the real information.

Referenced by MeshClipping::apply(), MeshClipping::getWidget(), MeshClipping::meshDeleted(), and MeshClipping::updateBox().


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