Computer Assisted Medical Intervention Tool Kit  version 5.2
camitk::vtkInteractorStylePick Class Reference

Specific backward compatible interactor for CamiTK RendererWidget Interactor used when we are in picking mode. More...

#include <vtkInteractorStylePick.h>

+ Inheritance diagram for camitk::vtkInteractorStylePick:
+ Collaboration diagram for camitk::vtkInteractorStylePick:

Public Member Functions

void OnLeftButtonDown () override
 
void OnLeftButtonUp () override
 
void OnMouseMove () override
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetAreaPicking (bool b)
 
 vtkTypeMacro (vtkInteractorStylePick, vtkInteractorStyle)
 

Static Public Member Functions

static vtkInteractorStylePickNew ()
 

Protected Member Functions

virtual void Pick ()
 
void RedrawRubberBand ()
 
 vtkInteractorStylePick ()
 
 ~vtkInteractorStylePick () override=default
 

Protected Attributes

bool areaPicking
 
int endPosition [2]
 
int moving
 
vtkSmartPointer< vtkUnsignedCharArray > pixelArray
 
int startPosition [2]
 

Detailed Description

Specific backward compatible interactor for CamiTK RendererWidget Interactor used when we are in picking mode.

Constructor & Destructor Documentation

◆ vtkInteractorStylePick()

camitk::vtkInteractorStylePick::vtkInteractorStylePick ( )
protected

◆ ~vtkInteractorStylePick()

camitk::vtkInteractorStylePick::~vtkInteractorStylePick ( )
overrideprotecteddefault

Member Function Documentation

◆ New()

static vtkInteractorStylePick* camitk::vtkInteractorStylePick::New ( )
static

◆ OnLeftButtonDown()

void camitk::vtkInteractorStylePick::OnLeftButtonDown ( )
override

References areaPicking, endPosition, moving, Pick(), pixelArray, and startPosition.

+ Here is the call graph for this function:

◆ OnLeftButtonUp()

void camitk::vtkInteractorStylePick::OnLeftButtonUp ( )
override

References areaPicking, endPosition, moving, Pick(), and startPosition.

+ Here is the call graph for this function:

◆ OnMouseMove()

void camitk::vtkInteractorStylePick::OnMouseMove ( )
override

References areaPicking, endPosition, moving, Pick(), RedrawRubberBand(), and startPosition.

+ Here is the call graph for this function:

◆ Pick()

void camitk::vtkInteractorStylePick::Pick ( )
protectedvirtual

References endPosition, and startPosition.

Referenced by OnLeftButtonDown(), OnLeftButtonUp(), and OnMouseMove().

+ Here is the caller graph for this function:

◆ PrintSelf()

void camitk::vtkInteractorStylePick::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ RedrawRubberBand()

void camitk::vtkInteractorStylePick::RedrawRubberBand ( )
protected

References endPosition, pixelArray, and startPosition.

Referenced by OnMouseMove().

+ Here is the caller graph for this function:

◆ SetAreaPicking()

void camitk::vtkInteractorStylePick::SetAreaPicking ( bool  b)

References areaPicking.

◆ vtkTypeMacro()

camitk::vtkInteractorStylePick::vtkTypeMacro ( vtkInteractorStylePick  ,
vtkInteractorStyle   
)

Member Data Documentation

◆ areaPicking

bool camitk::vtkInteractorStylePick::areaPicking
protected

◆ endPosition

int camitk::vtkInteractorStylePick::endPosition[2]
protected

◆ moving

int camitk::vtkInteractorStylePick::moving
protected

◆ pixelArray

vtkSmartPointer<vtkUnsignedCharArray> camitk::vtkInteractorStylePick::pixelArray
protected

◆ startPosition

int camitk::vtkInteractorStylePick::startPosition[2]
protected

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