#include <vtkInteractorStyleRubberBandPick.h>
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.
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 |
vtkUnsignedCharArray * | PixelArray |
int | CurrentMode |
Reimplemented from vtkInteractorStyleTrackballCamera.
Definition at line 45 of file vtkInteractorStyleRubberBandPick.h.
vtkInteractorStyleRubberBandPick::vtkInteractorStyleRubberBandPick | ( | ) | [protected] |
vtkInteractorStyleRubberBandPick::~vtkInteractorStyleRubberBandPick | ( | ) | [protected] |
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] |
int vtkInteractorStyleRubberBandPick::StartPosition[2] [protected] |
Definition at line 65 of file vtkInteractorStyleRubberBandPick.h.
int vtkInteractorStyleRubberBandPick::EndPosition[2] [protected] |
Definition at line 66 of file vtkInteractorStyleRubberBandPick.h.
int vtkInteractorStyleRubberBandPick::Moving [protected] |
Definition at line 68 of file vtkInteractorStyleRubberBandPick.h.
Definition at line 70 of file vtkInteractorStyleRubberBandPick.h.
int vtkInteractorStyleRubberBandPick::CurrentMode [protected] |
Definition at line 72 of file vtkInteractorStyleRubberBandPick.h.