draw polygon during mouse move
More...
#include <vtkInteractorStyleDrawPolygon.h>
Inherits vtkInteractorStyle.
draw polygon during mouse move
This interactor style allows the user to draw a polygon in the render window using the left mouse button while mouse is moving. When the mouse button is released, a SelectionChangedEvent will be fired.
- Tests:
- vtkInteractorStyleDrawPolygon (Tests)
Definition at line 37 of file vtkInteractorStyleDrawPolygon.h.
vtkInteractorStyleDrawPolygon::vtkInteractorStyleDrawPolygon |
( |
| ) |
|
|
protected |
vtkInteractorStyleDrawPolygon::~vtkInteractorStyleDrawPolygon |
( |
| ) |
|
|
protected |
static int vtkInteractorStyleDrawPolygon::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkInteractorStyleDrawPolygon::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkInteractorStyleDrawPolygon::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkInteractorStyleDrawPolygon::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkInteractorStyleDrawPolygon::OnMouseMove |
( |
| ) |
|
|
virtual |
virtual void vtkInteractorStyleDrawPolygon::OnLeftButtonDown |
( |
| ) |
|
|
virtual |
virtual void vtkInteractorStyleDrawPolygon::OnLeftButtonUp |
( |
| ) |
|
|
virtual |
virtual void vtkInteractorStyleDrawPolygon::SetDrawPolygonPixels |
( |
bool |
| ) |
|
|
virtual |
Whether to draw polygon in screen pixels. Default is ON
virtual bool vtkInteractorStyleDrawPolygon::GetDrawPolygonPixels |
( |
| ) |
|
|
virtual |
Whether to draw polygon in screen pixels. Default is ON
virtual void vtkInteractorStyleDrawPolygon::DrawPolygonPixelsOn |
( |
| ) |
|
|
virtual |
Whether to draw polygon in screen pixels. Default is ON
virtual void vtkInteractorStyleDrawPolygon::DrawPolygonPixelsOff |
( |
| ) |
|
|
virtual |
Whether to draw polygon in screen pixels. Default is ON
std::vector<vtkVector2i> vtkInteractorStyleDrawPolygon::GetPolygonPoints |
( |
| ) |
|
Get the current polygon points in display units
virtual void vtkInteractorStyleDrawPolygon::DrawPolygon |
( |
| ) |
|
|
protectedvirtual |
int vtkInteractorStyleDrawPolygon::StartPosition[2] |
|
protected |
int vtkInteractorStyleDrawPolygon::EndPosition[2] |
|
protected |
int vtkInteractorStyleDrawPolygon::Moving |
|
protected |
bool vtkInteractorStyleDrawPolygon::DrawPolygonPixels |
|
protected |
vtkUnsignedCharArray* vtkInteractorStyleDrawPolygon::PixelArray |
|
protected |
The documentation for this class was generated from the following file: