ray-cast cell picker for the reslice cursor
More...
#include <vtkResliceCursorPicker.h>
Inherits vtkPicker.
ray-cast cell picker for the reslice cursor
This class is is used by the vtkResliceCursorWidget to pick reslice axes drawn by a vtkResliceCursorActor. The class returns the axes picked if any, whether one has picked the center. It takes as input an instance of vtkResliceCursorPolyDataAlgorithm. This is all done internally by vtkResliceCursorWidget and as such users are not expected to use this class directly, unless they are overriding the behaviour of vtkResliceCursorWidget.
- See Also
- vtkResliceCursor vtkResliceCursorWidget
- Events:
- vtkCommand::StartPickEvent
Definition at line 45 of file vtkResliceCursorPicker.h.
vtkResliceCursorPicker::vtkResliceCursorPicker |
( |
| ) |
|
|
protected |
vtkResliceCursorPicker::~vtkResliceCursorPicker |
( |
| ) |
|
|
protected |
static int vtkResliceCursorPicker::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkResliceCursorPicker::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkResliceCursorPicker::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkResliceCursorPicker::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual int vtkResliceCursorPicker::Pick |
( |
double |
selectionX, |
|
|
double |
selectionY, |
|
|
double |
selectionZ, |
|
|
vtkRenderer * |
renderer |
|
) |
| |
|
virtual |
Perform pick operation with selection point provided. Normally the first two values are the (x,y) pixel coordinates for the pick, and the third value is z=0. The return value will be non-zero if something was successfully picked.
virtual int vtkResliceCursorPicker::GetPickedAxis1 |
( |
| ) |
|
|
virtual |
virtual int vtkResliceCursorPicker::GetPickedAxis2 |
( |
| ) |
|
|
virtual |
virtual int vtkResliceCursorPicker::GetPickedCenter |
( |
| ) |
|
|
virtual |
Set the reslice cursor algorithm. One must be set
Set the reslice cursor algorithm. One must be set
virtual void vtkResliceCursorPicker::SetTransformMatrix |
( |
vtkMatrix4x4 * |
| ) |
|
|
virtual |
void vtkResliceCursorPicker::Pick |
( |
double |
displayPos[2], |
|
|
double |
world[3], |
|
|
vtkRenderer * |
ren |
|
) |
| |
Overloaded pick method that returns the picked coordinates of the current resliced plane in world coordinates when given a display position
virtual int vtkResliceCursorPicker::IntersectPolyDataWithLine |
( |
double |
p1[3], |
|
|
double |
p2[3], |
|
|
vtkPolyData * |
, |
|
|
double |
tol |
|
) |
| |
|
protectedvirtual |
virtual int vtkResliceCursorPicker::IntersectPointWithLine |
( |
double |
p1[3], |
|
|
double |
p2[3], |
|
|
double |
X[3], |
|
|
double |
tol |
|
) |
| |
|
protectedvirtual |
void vtkResliceCursorPicker::TransformPlane |
( |
| ) |
|
|
protected |
void vtkResliceCursorPicker::TransformPoint |
( |
double |
pIn[4], |
|
|
double |
pOut[4] |
|
) |
| |
|
protected |
void vtkResliceCursorPicker::InverseTransformPoint |
( |
double |
pIn[4], |
|
|
double |
pOut[4] |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: