|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupPickTarget
A picking target that contains a collection of zero or more children pickable targets.
This interface is used by programmers that require fairly complex implementation logic at the point of picking (eg a billboarded object that should be pickable from any direction, even though it is represented as a plane facing the current viewpoint location).
There is no requirement that the picking and rendering subgraphs look the same. There may be less pickable children than renderable children, so don't automatically assume that there is.
Field Summary |
---|
Fields inherited from interface org.j3d.aviatrix3d.picking.PickTarget |
---|
CUSTOM_PICK_TYPE, GROUP_PICK_TYPE, LEAF_PICK_TYPE, SINGLE_PICK_TYPE |
Method Summary | |
---|---|
PickTarget |
getPickableChild(int idx)
Return the pickable target instance at the given index. |
PickTarget[] |
getPickableChildren()
Return an array containing all of this group's pickable children. |
int |
numPickableChildren()
Returns the number of valid pickable child targets to process. |
Methods inherited from interface org.j3d.aviatrix3d.picking.PickTarget |
---|
checkPickMask, getPickableBounds, getPickTargetType |
Method Detail |
---|
int numPickableChildren()
PickTarget[] getPickableChildren()
numPickableChildren()
call for how many valid objects are part
of this array.If there are none, this may return either a null or a
valid array, depending on the implementation.
The list may contain null values.
PickTarget getPickableChild(int idx)
idx
- The index of the child to get
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |