#include <vtkPointPicker.h>
Inheritance diagram for vtkPointPicker:
vtkPointPicker is used to select a point by shooting a ray into a graphics window and intersecting with actor's defining geometry - specifically its points. Beside returning coordinates, actor, and mapper, vtkPointPicker returns the id of the point projecting closest onto the ray (within the specified tolerance). Ties are broken (i.e., multiple points all projecting within the tolerance along the pick ray) by choosing the point closest to the ray.
Definition at line 52 of file vtkPointPicker.h.
Public Types | |
typedef vtkPicker | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkIdType | GetPointId () |
Static Public Member Functions | |
vtkPointPicker * | New () |
int | IsTypeOf (const char *type) |
vtkPointPicker * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPointPicker () | |
~vtkPointPicker () | |
double | IntersectWithLine (double p1[3], double p2[3], double tol, vtkAssemblyPath *path, vtkProp3D *p, vtkAbstractMapper3D *m) |
void | Initialize () |
Protected Attributes | |
vtkIdType | PointId |
|
Reimplemented from vtkPicker. Definition at line 56 of file vtkPointPicker.h. |
|
|
|
Definition at line 66 of file vtkPointPicker.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkPicker. |
|
Reimplemented from vtkPicker. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPicker. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPicker. |
|
Reimplemented from vtkPicker. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkPicker. |
|
Get the id of the picked point. If PointId = -1, nothing was picked. |
|
Reimplemented from vtkPicker. |
|
Reimplemented from vtkPicker. |
|
Definition at line 68 of file vtkPointPicker.h. |