Aviatrix3D
2.1.0

org.j3d.aviatrix3d
Class PickingUtils

java.lang.Object
  extended by org.j3d.aviatrix3d.PickingUtils

public class PickingUtils
extends java.lang.Object

Utility functionality for picking management.

This class is particularly useful for classes that are implementing the CustomPickTarget interface and need to get through the basic picking questions of whether a specific pick request intersects the given bounds. From there, the class implementation can then decide how to further process the bounds or children.

Version:
$Revision: 2.2 $
Author:
Justin Couch

Constructor Summary
PickingUtils()
          Construct a default instance of the utils
 
Method Summary
 boolean checkIntersection(BoundingVolume volume, PickRequest req)
          Check the given volume for an intersection based on the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickingUtils

public PickingUtils()
Construct a default instance of the utils

Method Detail

checkIntersection

public boolean checkIntersection(BoundingVolume volume,
                                 PickRequest req)
Check the given volume for an intersection based on the request. This will automatically take the request and determine the correct intersection request to make. The picking does not test for the mask flags. It is assumed that the caller will do that before calling this class.

Notes:

Parameters:
volume - The volume to be tested for the pick intersection
req - The request to process the pick intersection testing with

Aviatrix3D
2.1.0

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