Rectangular picker class.
#include <SVTK_RectPicker.h>
Public Types |
| typedef std::vector< vtkIdType > | TVectorIds |
typedef std::map< vtkActor
*, TVectorIds > | TVectorIdsMap |
Public Member Functions |
| | vtkTypeMacro (SVTK_RectPicker, vtkAbstractPropPicker) |
| | vtkSetMacro (Tolerance, vtkFloatingPointType) |
| | vtkGetMacro (Tolerance, vtkFloatingPointType) |
| | vtkSetMacro (PickPoints, int) |
| | Use these methods to pick points or points and cells.
|
| | vtkGetMacro (PickPoints, int) |
| | vtkBooleanMacro (PickPoints, int) |
| virtual int | Pick (vtkFloatingPointType theSelectionX, vtkFloatingPointType theSelectionY, vtkFloatingPointType theSelectionZ, vtkFloatingPointType theSelectionX2, vtkFloatingPointType theSelectionY2, vtkFloatingPointType theSelectionZ2, vtkRenderer *theRenderer) |
| int | Pick (vtkFloatingPointType theSelection[3], vtkFloatingPointType theSelection2[3], vtkRenderer *theRenderer) |
| const TVectorIdsMap & | GetPointIdsMap () const |
| const TVectorIdsMap & | GetCellIdsMap () const |
Static Public Member Functions |
| static SVTK_RectPicker * | New () |
Protected Member Functions |
| | SVTK_RectPicker () |
| | ~SVTK_RectPicker () |
Protected Attributes |
| vtkFloatingPointType | Tolerance |
| | tolerance for computation (% of window)
|
| int | PickPoints |
| | use the following to control picking mode
|
| vtkFloatingPointType | SelectionPoint2 [3] |
| | second rectangle selection point in window (pixel) coordinates
|
| vtkFloatingPointType | PickPosition2 [3] |
| | second rectangle selection point in world coordinates
|
| TVectorIdsMap | myPointIdsMap |
| TVectorIdsMap | myCellIdsMap |
Private Member Functions |
| virtual int | Pick (vtkFloatingPointType, vtkFloatingPointType, vtkFloatingPointType, vtkRenderer *) |
Member Typedef Documentation
Constructor & Destructor Documentation
| SVTK_RectPicker::SVTK_RectPicker |
( |
| ) |
[protected] |
| SVTK_RectPicker::~SVTK_RectPicker |
( |
| ) |
[protected] |
Member Function Documentation
Specify tolerance for performing pick operation. Tolerance is specified as fraction of rendering window size. (Rendering window size is measured across diagonal.)
| SVTK_RectPicker.vtkBooleanMacro |
( |
PickPoints |
, |
|
|
int |
|
|
) |
| |
Field Documentation