VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkInteractorStyleRubberBandPick Class Reference

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

#include <vtkInteractorStyleRubberBandPick.h>

Inheritance diagram for vtkInteractorStyleRubberBandPick:
[legend]
Collaboration diagram for vtkInteractorStyleRubberBandPick:
[legend]

Public Types

typedef
vtkInteractorStyleTrackballCamera 
Superclass
 
- Public Types inherited from vtkInteractorStyleTrackballCamera
typedef vtkInteractorStyle Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkInteractorStyleRubberBandPickNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void StartSelect ()
 
virtual void OnMouseMove ()
 
virtual void OnLeftButtonDown ()
 
virtual void OnLeftButtonUp ()
 
virtual void OnChar ()
 
- Public Member Functions inherited from vtkInteractorStyleTrackballCamera
vtkInteractorStyleTrackballCameraNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Rotate ()
 
virtual void Spin ()
 
virtual void Pan ()
 
virtual void Dolly ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
virtual void OnMouseWheelForward ()
 
virtual void OnMouseWheelBackward ()
 
virtual void SetMotionFactor (double)
 
virtual double GetMotionFactor ()
 

Static Public Member Functions

static
vtkInteractorStyleRubberBandPick
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkInteractorStyleRubberBandPick
SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorStyleTrackballCamera
static
vtkInteractorStyleTrackballCamera
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkInteractorStyleTrackballCamera
SafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkInteractorStyleRubberBandPick ()
 
 ~vtkInteractorStyleRubberBandPick ()
 
virtual void Pick ()
 
void RedrawRubberBand ()
 
- Protected Member Functions inherited from vtkInteractorStyleTrackballCamera
 vtkInteractorStyleTrackballCamera ()
 
 ~vtkInteractorStyleTrackballCamera ()
 
virtual void Dolly (double factor)
 

Protected Attributes

int StartPosition [2]
 
int EndPosition [2]
 
int Moving
 
vtkUnsignedCharArray * PixelArray
 
int CurrentMode
 
- Protected Attributes inherited from vtkInteractorStyleTrackballCamera
double MotionFactor
 

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 42 of file vtkInteractorStyleRubberBandPick.h.

Member Typedef Documentation

Definition at line 46 of file vtkInteractorStyleRubberBandPick.h.

Constructor & Destructor Documentation

vtkInteractorStyleRubberBandPick::vtkInteractorStyleRubberBandPick ( )
protected
vtkInteractorStyleRubberBandPick::~vtkInteractorStyleRubberBandPick ( )
protected

Member Function Documentation

static vtkInteractorStyleRubberBandPick* vtkInteractorStyleRubberBandPick::New ( )
static
static int vtkInteractorStyleRubberBandPick::IsTypeOf ( const char *  type)
static
virtual int vtkInteractorStyleRubberBandPick::IsA ( const char *  type)
virtual

Reimplemented from vtkInteractorStyleTrackballCamera.

static vtkInteractorStyleRubberBandPick* vtkInteractorStyleRubberBandPick::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkInteractorStyleRubberBandPick::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkInteractorStyleTrackballCamera.

vtkInteractorStyleRubberBandPick* vtkInteractorStyleRubberBandPick::NewInstance ( ) const
void vtkInteractorStyleRubberBandPick::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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

virtual void vtkInteractorStyleRubberBandPick::Pick ( )
protectedvirtual
void vtkInteractorStyleRubberBandPick::RedrawRubberBand ( )
protected

Member Data Documentation

int vtkInteractorStyleRubberBandPick::StartPosition[2]
protected

Definition at line 66 of file vtkInteractorStyleRubberBandPick.h.

int vtkInteractorStyleRubberBandPick::EndPosition[2]
protected

Definition at line 67 of file vtkInteractorStyleRubberBandPick.h.

int vtkInteractorStyleRubberBandPick::Moving
protected

Definition at line 69 of file vtkInteractorStyleRubberBandPick.h.

vtkUnsignedCharArray* vtkInteractorStyleRubberBandPick::PixelArray
protected

Definition at line 71 of file vtkInteractorStyleRubberBandPick.h.

int vtkInteractorStyleRubberBandPick::CurrentMode
protected

Definition at line 73 of file vtkInteractorStyleRubberBandPick.h.


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