#include <vtkCellPicker.h>
Inheritance diagram for vtkCellPicker:
vtkCellPicker is used to select a cell by shooting a ray into graphics window and intersecting with actor's defining geometry - specifically its cells. Beside returning coordinates, actor and mapper, vtkCellPicker returns the id of the closest cell within the tolerance along the pick ray, and the dataset that was picked.
Definition at line 44 of file vtkCellPicker.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 | GetCellId () |
virtual int | GetSubId () |
virtual float * | GetPCoords () |
virtual void | GetPCoords (float data[3]) |
Static Public Member Functions | |
vtkCellPicker * | New () |
int | IsTypeOf (const char *type) |
vtkCellPicker * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkCellPicker () | |
~vtkCellPicker () | |
virtual float | IntersectWithLine (float p1[3], float p2[3], float tol, vtkAssemblyPath *path, vtkProp3D *p, vtkAbstractMapper3D *m) |
void | Initialize () |
Protected Attributes | |
vtkIdType | CellId |
int | SubId |
float | PCoords [3] |
|
Reimplemented from vtkPicker. Definition at line 48 of file vtkCellPicker.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 cell. If CellId = -1, nothing was picked. |
|
Get the subId of the picked cell. If SubId = -1, nothing was picked. |
|
Get the parametric coordinates of the picked cell. Only valid if pick was made. |
|
Get the parametric coordinates of the picked cell. Only valid if pick was made. |
|
Reimplemented from vtkPicker.
|
|
Reimplemented from vtkPicker.
|
|
Definition at line 71 of file vtkCellPicker.h. |
|
Definition at line 72 of file vtkCellPicker.h. |
|
Definition at line 73 of file vtkCellPicker.h. |