Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
camitk::vtkInteractorStylePick Class Reference

Interactor used when we are in picking mode. More...

#include <RendererWidget.h>

Inherits vtkInteractorStyle.

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

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

◆ OnLeftButtonUp()

void camitk::vtkInteractorStylePick::OnLeftButtonUp ( )
override

◆ OnMouseMove()

void camitk::vtkInteractorStylePick::OnMouseMove ( )
override

◆ Pick()

void camitk::vtkInteractorStylePick::Pick ( )
protectedvirtual

◆ PrintSelf()

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

◆ RedrawRubberBand()

void camitk::vtkInteractorStylePick::RedrawRubberBand ( )
protected

References endPosition, pixelArray, and startPosition.

Referenced by OnMouseMove().

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