vtkCellPicker Class Reference
#include <vtkCellPicker.h>
Inheritance diagram for vtkCellPicker:
[legend]Collaboration diagram for vtkCellPicker:
[legend]List of all members.
Detailed Description
select a cell by shooting a ray into graphics window
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.
- See also:
- vtkPicker vtkPointPicker
- Created by:
-
- CVS contributions (if > 5%):
- Schroeder, Will (68%)
- Martin, Ken (15%)
- Miller, Jim (5%)
- CVS logs (CVSweb):
.cxx (/Rendering/vtkCellPicker
.cxx)
.h (/Rendering/vtkCellPicker
.h)
- Examples:
- vtkCellPicker (Examples)
- Tests:
- vtkCellPicker (Tests)
Definition at line 52 of file vtkCellPicker.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkCellPicker::vtkCellPicker |
( |
|
) |
[protected] |
|
Member Function Documentation
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPicker. |
virtual const char* vtkCellPicker::GetClassName |
( |
|
) |
[virtual] |
|
int vtkCellPicker::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
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. |
virtual int vtkCellPicker::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
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. |
void vtkCellPicker::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
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. |
virtual vtkIdType vtkCellPicker::GetCellId |
( |
|
) |
[virtual] |
|
|
Get the id of the picked cell. If CellId = -1, nothing was picked. |
virtual int vtkCellPicker::GetSubId |
( |
|
) |
[virtual] |
|
|
Get the subId of the picked cell. If SubId = -1, nothing was picked. |
virtual double* vtkCellPicker::GetPCoords |
( |
|
) |
[virtual] |
|
|
Get the parametric coordinates of the picked cell. Only valid if pick was made. |
virtual void vtkCellPicker::GetPCoords |
( |
double |
data[3] |
) |
[virtual] |
|
|
Get the parametric coordinates of the picked cell. Only valid if pick was made. |
void vtkCellPicker::Initialize |
( |
|
) |
[protected, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: