Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle. More...
#include <LVRInteractorStylePolygonPick.hpp>
Classes | |
class | vtkInternal |
Public Member Functions | |
std::vector< vtkVector2i > | GetPolygonPoints () |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | SetLassoTool () |
void | SetPolygonTool () |
void | StartSelect () |
vtkBooleanMacro (DrawPolygonPixels, bool) | |
vtkGetMacro (DrawPolygonPixels, bool) | |
vtkSetMacro (DrawPolygonPixels, bool) | |
vtkTypeMacro (LVRInteractorStylePolygonPick, vtkInteractorStyleTrackballCamera) | |
void | OnMouseMove () override |
void | OnLeftButtonDown () override |
void | OnLeftButtonUp () override |
void | OnChar () override |
void | OnKeyDown () override |
Static Public Member Functions | |
static LVRInteractorStylePolygonPick * | New () |
Protected Member Functions | |
virtual void | DrawPolygon () |
LVRInteractorStylePolygonPick () | |
virtual void | Pick () |
~LVRInteractorStylePolygonPick () override | |
Protected Attributes | |
int | CurrentMode |
bool | DrawPolygonPixels |
int | EndPosition [2] |
bool | firstPoint = true |
bool | lassoToolSelected = true |
int | Moving |
vtkUnsignedCharArray * | PixelArray |
int | StartPosition [2] |
Private Member Functions | |
LVRInteractorStylePolygonPick (const LVRInteractorStylePolygonPick &)=delete | |
void | operator= (const LVRInteractorStylePolygonPick &)=delete |
Private Attributes | |
vtkInternal * | Internal |
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 43 of file LVRInteractorStylePolygonPick.hpp.
|
protected |
Definition at line 90 of file LVRInteractorStylePolygonPick.cpp.
|
overrideprotected |
Definition at line 102 of file LVRInteractorStylePolygonPick.cpp.
|
privatedelete |
|
protectedvirtual |
Definition at line 359 of file LVRInteractorStylePolygonPick.cpp.
std::vector< vtkVector2i > LVRInteractorStylePolygonPick::GetPolygonPoints | ( | ) |
Definition at line 115 of file LVRInteractorStylePolygonPick.cpp.
|
static |
|
override |
Definition at line 121 of file LVRInteractorStylePolygonPick.cpp.
|
override |
Definition at line 406 of file LVRInteractorStylePolygonPick.cpp.
|
override |
Definition at line 156 of file LVRInteractorStylePolygonPick.cpp.
|
override |
Definition at line 257 of file LVRInteractorStylePolygonPick.cpp.
|
override |
Event bindings
Definition at line 206 of file LVRInteractorStylePolygonPick.cpp.
|
privatedelete |
|
protectedvirtual |
Definition at line 299 of file LVRInteractorStylePolygonPick.cpp.
|
override |
Definition at line 389 of file LVRInteractorStylePolygonPick.cpp.
void LVRInteractorStylePolygonPick::SetLassoTool | ( | ) |
Definition at line 400 of file LVRInteractorStylePolygonPick.cpp.
void LVRInteractorStylePolygonPick::SetPolygonTool | ( | ) |
Definition at line 394 of file LVRInteractorStylePolygonPick.cpp.
void LVRInteractorStylePolygonPick::StartSelect | ( | ) |
Definition at line 109 of file LVRInteractorStylePolygonPick.cpp.
LVRInteractorStylePolygonPick::vtkBooleanMacro | ( | DrawPolygonPixels | , |
bool | |||
) |
LVRInteractorStylePolygonPick::vtkGetMacro | ( | DrawPolygonPixels | , |
bool | |||
) |
LVRInteractorStylePolygonPick::vtkSetMacro | ( | DrawPolygonPixels | , |
bool | |||
) |
LVRInteractorStylePolygonPick::vtkTypeMacro | ( | LVRInteractorStylePolygonPick | , |
vtkInteractorStyleTrackballCamera | |||
) |
|
protected |
Definition at line 87 of file LVRInteractorStylePolygonPick.hpp.
|
protected |
Definition at line 88 of file LVRInteractorStylePolygonPick.hpp.
|
protected |
Definition at line 80 of file LVRInteractorStylePolygonPick.hpp.
|
protected |
Definition at line 83 of file LVRInteractorStylePolygonPick.hpp.
|
private |
Definition at line 95 of file LVRInteractorStylePolygonPick.hpp.
|
protected |
Definition at line 89 of file LVRInteractorStylePolygonPick.hpp.
|
protected |
Definition at line 82 of file LVRInteractorStylePolygonPick.hpp.
|
protected |
Definition at line 85 of file LVRInteractorStylePolygonPick.hpp.
|
protected |
Definition at line 79 of file LVRInteractorStylePolygonPick.hpp.