VTK
|
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle. More...
#include <vtkInteractorStyleRubberBandPick.h>
Public Types | |
typedef vtkInteractorStyleTrackballCamera | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkInteractorStyleRubberBandPick * | NewInstance () 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 vtkObjectBase * | NewInstanceInternal () const |
vtkInteractorStyleRubberBandPick () | |
~vtkInteractorStyleRubberBandPick () | |
virtual void | Pick () |
void | RedrawRubberBand () |
Protected Attributes | |
int | StartPosition [2] |
int | EndPosition [2] |
int | Moving |
vtkUnsignedCharArray * | PixelArray |
int | CurrentMode |
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.
Definition at line 42 of file vtkInteractorStyleRubberBandPick.h.
Reimplemented from vtkInteractorStyleTrackballCamera.
Definition at line 46 of file vtkInteractorStyleRubberBandPick.h.
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.
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.
static vtkInteractorStyleRubberBandPick* vtkInteractorStyleRubberBandPick::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkInteractorStyleTrackballCamera.
virtual vtkObjectBase* vtkInteractorStyleRubberBandPick::NewInstanceInternal | ( | ) | const [protected, virtual] |
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.
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 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.
Definition at line 71 of file vtkInteractorStyleRubberBandPick.h.
int vtkInteractorStyleRubberBandPick::CurrentMode [protected] |
Definition at line 73 of file vtkInteractorStyleRubberBandPick.h.