Aviatrix3D
2.1.0

org.j3d.aviatrix3d.picking
Interface SinglePickTarget

All Superinterfaces:
PickTarget
All Known Implementing Classes:
Box, Cone, Cylinder, Pixmap, Shape3D, SharedNode, SharedNode2D, Sphere, Spring, Torus

public interface SinglePickTarget
extends PickTarget

A picking target that contains a single child pickable target.

Examples of this would be SharedNode and Shape3D.

Implementor Guidelines

There is no requirement that the picking and rendering subgraphs look the same. There may be no pickable child even when there is a renderable child.

Version:
$Revision: 1.1 $
Author:
Justin Couch

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()
          Return the child that is pickable of from this target.
 
Methods inherited from interface org.j3d.aviatrix3d.picking.PickTarget
checkPickMask, getPickableBounds, getPickTargetType
 

Method Detail

getPickableChild

PickTarget getPickableChild()
Return the child that is pickable of from this target. If there is none then return null.

Returns:
The child pickable object or null

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org