VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkInteractorStyleRubberBandPick Class Reference

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

#include <vtkInteractorStyleRubberBandPick.h>

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

List of all members.

Public Types

typedef
vtkInteractorStyleTrackballCamera 
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 ()

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

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

Reimplemented from vtkInteractorStyleTrackballCamera.

Definition at line 46 of file vtkInteractorStyleRubberBandPick.h.


Constructor & Destructor Documentation


Member Function Documentation

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

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyleTrackballCamera.

Reimplemented from vtkInteractorStyleTrackballCamera.

Reimplemented from vtkInteractorStyleTrackballCamera.

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.

Event bindings

Reimplemented from vtkInteractorStyleTrackballCamera.

Event bindings

Reimplemented from vtkInteractorStyleTrackballCamera.

Event bindings

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkInteractorStyleRubberBandPick::OnChar ( ) [virtual]

Event bindings

Reimplemented from vtkInteractorStyle.

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

Member Data Documentation

Definition at line 66 of file vtkInteractorStyleRubberBandPick.h.

Definition at line 67 of file vtkInteractorStyleRubberBandPick.h.

Definition at line 69 of file vtkInteractorStyleRubberBandPick.h.

Definition at line 71 of file vtkInteractorStyleRubberBandPick.h.

Definition at line 73 of file vtkInteractorStyleRubberBandPick.h.


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