vtkInteractorStyleRubberBandPick Class Reference

#include <vtkInteractorStyleRubberBandPick.h>

Inheritance diagram for vtkInteractorStyleRubberBandPick:

Inheritance graph
[legend]
Collaboration diagram for vtkInteractorStyleRubberBandPick:

Collaboration graph
[legend]

List of all members.


Detailed Description

Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.

This interactor style allows the user to draw a rectangle in the render window by hitting 'r' and then using the left mouse button. When the mouse button is released, the attached picker operates on the pixel in the center of the selection rectangle. If the picker happens to be a vtkAreaPicker it will operate on the entire selection rectangle. When the 'p' key is hit the above pick operation occurs on a 1x1 rectangle. In other respects it behaves the same as its parent class.

See also:
vtkAreaPicker
Tests:
vtkInteractorStyleRubberBandPick (Tests)

Definition at line 41 of file vtkInteractorStyleRubberBandPick.h.


Public Types

typedef
vtkInteractorStyleTrackballCamera 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void StartSelect ()
virtual void OnMouseMove ()
virtual void OnLeftButtonDown ()
virtual void OnLeftButtonUp ()
virtual void OnChar ()

Static Public Member Functions

static
vtkInteractorStyleRubberBandPick
New ()
static int IsTypeOf (const char *type)
static
vtkInteractorStyleRubberBandPick
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkInteractorStyleRubberBandPick ()
 ~vtkInteractorStyleRubberBandPick ()
virtual void Pick ()
void RedrawRubberBand ()

Protected Attributes

int StartPosition [2]
int EndPosition [2]
int Moving
vtkUnsignedCharArrayPixelArray
int CurrentMode

Member Typedef Documentation

Reimplemented from vtkInteractorStyleTrackballCamera.

Definition at line 45 of file vtkInteractorStyleRubberBandPick.h.


Constructor & Destructor Documentation

vtkInteractorStyleRubberBandPick::vtkInteractorStyleRubberBandPick (  )  [protected]

vtkInteractorStyleRubberBandPick::~vtkInteractorStyleRubberBandPick (  )  [protected]


Member Function Documentation

static vtkInteractorStyleRubberBandPick* vtkInteractorStyleRubberBandPick::New (  )  [static]

This class must be supplied with a vtkRenderWindowInteractor wrapper or parent. This class should not normally be instantiated by application programmers.

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual const char* vtkInteractorStyleRubberBandPick::GetClassName (  )  [virtual]

Reimplemented from vtkInteractorStyleTrackballCamera.

static int vtkInteractorStyleRubberBandPick::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual int vtkInteractorStyleRubberBandPick::IsA ( const char *  name  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyleTrackballCamera.

static vtkInteractorStyleRubberBandPick* vtkInteractorStyleRubberBandPick::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkInteractorStyleTrackballCamera.

void vtkInteractorStyleRubberBandPick::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkInteractorStyleTrackballCamera.

void vtkInteractorStyleRubberBandPick::StartSelect (  ) 

virtual void vtkInteractorStyleRubberBandPick::OnMouseMove (  )  [virtual]

Event bindings

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkInteractorStyleRubberBandPick::OnLeftButtonDown (  )  [virtual]

Event bindings

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkInteractorStyleRubberBandPick::OnLeftButtonUp (  )  [virtual]

Event bindings

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkInteractorStyleRubberBandPick::OnChar (  )  [virtual]

Event bindings

Reimplemented from vtkInteractorStyle.

virtual void vtkInteractorStyleRubberBandPick::Pick (  )  [protected, virtual]

void vtkInteractorStyleRubberBandPick::RedrawRubberBand (  )  [protected]


Member Data Documentation

Definition at line 65 of file vtkInteractorStyleRubberBandPick.h.

Definition at line 66 of file vtkInteractorStyleRubberBandPick.h.

Definition at line 68 of file vtkInteractorStyleRubberBandPick.h.

Definition at line 70 of file vtkInteractorStyleRubberBandPick.h.

Definition at line 72 of file vtkInteractorStyleRubberBandPick.h.


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

Generated on Wed Jun 3 19:13:30 2009 for VTK by  doxygen 1.5.6