28 #ifndef __SVTK_AreaPicker_h
29 #define __SVTK_AreaPicker_h
37 #include <vtkAbstractPropPicker.h>
38 #include <vtkDataSet.h>
45 #pragma warning ( disable:4251 )
70 vtkSetMacro(Tolerance,
double);
71 vtkGetMacro(Tolerance,
double);
74 vtkSetMacro(PickPoints,
int);
75 vtkGetMacro(PickPoints,
int);
76 vtkBooleanMacro(PickPoints,
int);
79 Pick( QVector<QPoint>& thePoints,
80 vtkRenderer *theRenderer,
84 Pick(
double theSelectionX,
86 double theSelectionX2,
87 double theSelectionY2,
88 vtkRenderer *theRenderer,
92 isPointInPolygon( const QPoint& thePoint,const QVector<QPoint>& thePolygon );
98 GetPointIdsMap() const;
101 GetCellIdsMap() const;
128 SelectVisiblePoints( QVector<QPoint>& thePoints,
129 vtkRenderer *theRenderer,
130 vtkDataSet *theInput,
136 SelectVisibleCells( QVector<QPoint>& thePoints,
137 vtkRenderer *theRenderer,
138 vtkDataSet *theInput,
145 #pragma warning ( default:4251 )
#define SVTK_EXPORT
Definition: SVTK.h:37
Rectangular picker class.
Definition: SVTK_AreaPicker.h:55
SelectionMode
Definition: SVTK_AreaPicker.h:58
static SVTK_AreaPicker * New()
std::map< vtkActor *, TVectorIds > TVectorIdsMap
Definition: SVTK_AreaPicker.h:95
vtkTypeMacro(SVTK_AreaPicker, vtkAbstractPropPicker) vtkSetMacro(Tolerance
std::vector< vtkIdType > TVectorIds
Definition: SVTK_AreaPicker.h:94
For more information see VTK documentation.
Definition: SVTK_AreaPicker.h:42