|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkAbstractPicker vtk.vtkAbstractPropPicker vtk.vtkPicker
vtkPicker - superclass for 3D geometric pickers (uses ray cast). vtkPicker is used to select instances of vtkProp3D by shooting a ray into a graphics window and intersecting with the actor's bounding box. The ray is defined from a point defined in window (or pixel) coordinates, and a point located from the camera's position. vtkPicker may return more than one vtkProp3D, since more than one bounding box may be intersected. vtkPicker returns the list of props that were hit, the pick coordinates in world and untransformed mapper space, and the prop (vtkProp3D) and mapper that are "closest" to the camera. The closest prop is the one whose center point (i.e., center of bounding box) projected on the ray is closest to the camera. JavaBean wrapper for vtkPicker object.
vtkPicker
,
is
,
used
,
for
,
quick
,
geometric
,
picking.
,
If
,
you
,
desire
,
to
,
pick
,
points
,
or
,
cells,
,
use
,
the
,
subclass
,
vtkPointPicker
,
or
,
vtkCellPicker,
,
respectively.
,
Or
,
you
,
may
,
use
,
hardware
,
picking
,
to
,
pick
,
any
,
type
,
of
,
vtkProp
,
-
,
see
,
vtkPropPicker
,
or
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkPicker()
|
protected |
vtkPicker(int dmy)
|
Method Summary | |
vtkActorCollection |
getActors()
Return a collection of all the actors that were intersected. |
java.lang.String |
getClassName()
Return the class name as a string. |
vtkDataSet |
getDataSet()
Get a pointer to the dataset that was picked (if any). |
vtkAbstractMapper3D |
getMapper()
Return mapper that was picked (if any). |
double[] |
getMapperPosition()
Return position in mapper (i.e., non-transformed) coordinates of pick point. |
vtkPoints |
getPickedPositions()
Return a list of the points the the actors returned by GetActors were intersected at. |
vtkProp3DCollection |
getProp3Ds()
Return a collection of all the prop 3D's that were intersected by the pick ray. |
vtkPicker |
getThisPicker()
|
double |
getTolerance()
Specify tolerance for performing pick operation. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
int |
pick(double[] id0,
vtkRenderer id1)
Perform pick operation with selection point provided. |
int |
pick(double id0,
double id1,
double id2,
vtkRenderer id3)
Perform pick operation with selection point provided. |
void |
setTolerance(double id0)
Specify tolerance for performing pick operation. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkAbstractPropPicker |
getActor, getActor2D, getAssembly, getPath, getProp, getProp3D, getPropAssembly, getThisAbstractPropPicker, getVolume, setPath |
Methods inherited from class vtk.vtkAbstractPicker |
addPickList, deletePickList, getPickFromList, getPickList, getPickPosition, getRenderer, getSelectionPoint, getThisAbstractPicker, initializePickList, pickFromListOff, pickFromListOn, setPickFromList |
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkPicker()
protected vtkPicker(int dmy)
Method Detail |
public vtkPicker getThisPicker()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkAbstractPropPicker
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkAbstractPropPicker
public void setTolerance(double id0)
public double getTolerance()
public double[] getMapperPosition()
public vtkAbstractMapper3D getMapper()
public vtkDataSet getDataSet()
public vtkProp3DCollection getProp3Ds()
public vtkActorCollection getActors()
public vtkPoints getPickedPositions()
public int pick(double id0, double id1, double id2, vtkRenderer id3)
pick
in class vtkAbstractPicker
public int pick(double[] id0, vtkRenderer id1)
pick
in class vtkAbstractPicker
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkAbstractPropPicker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |