|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PickTarget
An internal marker interface that indicates an object that can support pick processing requests.
This is an inward-facing interface used to by the implementation of the
PickingManager
to walk a scene graph of objects traversing them for
picking processing requests. This is a base interface, from which derived
interface types describe particular pickable structures that can be used
to fetch descendent objects.
End users should never call the methods on this or derived interfaces.
There is no requirement to implement a separate set of logic for the picking bounds versus the geometry bounds. The implementation is free to use the object instance for both, yet can also provide a more optimised form if it desires.
Field Summary | |
---|---|
static int |
CUSTOM_PICK_TYPE
Standard type for a custom picking type |
static int |
GROUP_PICK_TYPE
Standard type for a group picking type |
static int |
LEAF_PICK_TYPE
Standard type for a leaf picking type |
static int |
SINGLE_PICK_TYPE
Standard type for a single picking type |
Method Summary | |
---|---|
boolean |
checkPickMask(int mask)
Check the given pick mask against the node's internal pick mask representation. |
BoundingVolume |
getPickableBounds()
Get the bounds of this picking target so that testing can be performed on the object. |
int |
getPickTargetType()
Return the type constant that represents the type of pick target this is. |
Field Detail |
---|
static final int GROUP_PICK_TYPE
static final int SINGLE_PICK_TYPE
static final int LEAF_PICK_TYPE
static final int CUSTOM_PICK_TYPE
Method Detail |
---|
int getPickTargetType()
boolean checkPickMask(int mask)
mask
- The bit mask to check against
BoundingVolume getPickableBounds()
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |