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,
81 SelectionMode theMode );
84 Pick(
double theSelectionX,
86 double theSelectionX2,
87 double theSelectionY2,
88 vtkRenderer *theRenderer,
89 SelectionMode theMode );
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 )