Rectangular picker class.
#include <SVTK_AreaPicker.h>
|
| vtkTypeMacro (SVTK_AreaPicker, vtkAbstractPropPicker) |
|
| vtkSetMacro (Tolerance, double) |
|
| vtkGetMacro (Tolerance, double) |
|
| vtkSetMacro (PickPoints, int) |
| Use these methods to pick points or points and cells. More...
|
|
| vtkGetMacro (PickPoints, int) |
|
| vtkBooleanMacro (PickPoints, int) |
|
int | Pick (QVector< QPoint > &thePoints, vtkRenderer *theRenderer, SelectionMode theMode) |
|
int | Pick (double theSelectionX, double theSelectionY, double theSelectionX2, double theSelectionY2, vtkRenderer *theRenderer, SelectionMode theMode) |
|
const TVectorIdsMap & | GetPointIdsMap () const |
|
const TVectorIdsMap & | GetCellIdsMap () const |
|
|
virtual int | Pick (double, double, double, vtkRenderer *) |
|
void | SelectVisiblePoints (QVector< QPoint > &thePoints, vtkRenderer *theRenderer, vtkDataSet *theInput, SVTK_AreaPicker::TVectorIds &theVisibleIds, SVTK_AreaPicker::TVectorIds &theInVisibleIds, double theTolerance, SelectionMode theMode) |
|
void | SelectVisibleCells (QVector< QPoint > &thePoints, vtkRenderer *theRenderer, vtkDataSet *theInput, SVTK_AreaPicker::TVectorIds &theVectorIds, double theTolerance, SelectionMode theMode) |
|
Enumerator |
---|
RectangleMode |
|
PolygonMode |
|
SVTK_AreaPicker::SVTK_AreaPicker |
( |
| ) |
|
|
protected |
SVTK_AreaPicker::~SVTK_AreaPicker |
( |
| ) |
|
|
protected |
bool SVTK_AreaPicker::isPointInPolygon |
( |
const QPoint & |
thePoint, |
|
|
const QVector< QPoint > & |
thePolygon |
|
) |
| |
|
static |
int SVTK_AreaPicker::Pick |
( |
QVector< QPoint > & |
thePoints, |
|
|
vtkRenderer * |
theRenderer, |
|
|
SelectionMode |
theMode |
|
) |
| |
int SVTK_AreaPicker::Pick |
( |
double |
theSelectionX, |
|
|
double |
theSelectionY, |
|
|
double |
theSelectionX2, |
|
|
double |
theSelectionY2, |
|
|
vtkRenderer * |
theRenderer, |
|
|
SelectionMode |
theMode |
|
) |
| |
int SVTK_AreaPicker::Pick |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
vtkRenderer * |
|
|
) |
| |
|
privatevirtual |
void SVTK_AreaPicker::SelectVisibleCells |
( |
QVector< QPoint > & |
thePoints, |
|
|
vtkRenderer * |
theRenderer, |
|
|
vtkDataSet * |
theInput, |
|
|
SVTK_AreaPicker::TVectorIds & |
theVectorIds, |
|
|
double |
theTolerance, |
|
|
SelectionMode |
theMode |
|
) |
| |
|
private |
SVTK_AreaPicker::vtkBooleanMacro |
( |
PickPoints |
, |
|
|
int |
|
|
) |
| |
SVTK_AreaPicker::vtkGetMacro |
( |
Tolerance |
, |
|
|
double |
|
|
) |
| |
SVTK_AreaPicker::vtkSetMacro |
( |
Tolerance |
, |
|
|
double |
|
|
) |
| |
Specify tolerance for performing pick operation. Tolerance is specified as fraction of rendering window size. (Rendering window size is measured across diagonal.)
int SVTK_AreaPicker::mySelection[4] |
|
protected |
int SVTK_AreaPicker::PickPoints |
|
protected |
double SVTK_AreaPicker::Tolerance |
|
protected |
The documentation for this class was generated from the following files: