public class PickInfo extends Object
Locale, 
BranchGroup| Modifier and Type | Class and Description | 
|---|---|
class  | 
PickInfo.IntersectionInfo
The IntersectionInfo object holds extra information about an intersection
 of a PickShape with a Node as part of a PickInfo. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
ALL_GEOM_INFO
Specifies that this PickInfo returns all the closest intersection
 geometry informations. 
 | 
static int | 
CLOSEST_DISTANCE
Specifies that this PickInfo returns the closest intersection distance. 
 | 
static int | 
CLOSEST_GEOM_INFO
Specifies that this PickInfo returns only the closest intersection
 geometry information. 
 | 
static int | 
CLOSEST_INTERSECTION_POINT
Specifies that this PickInfo returns the closest intersection point. 
 | 
static int | 
LOCAL_TO_VWORLD
Specifies that this PickInfo returns the computed local to vworld transform. 
 | 
static int | 
NODE
Specifies that this PickInfo returns the computed intersected Node object. 
 | 
static int | 
PICK_BOUNDS
Specifies a Pick using the bounds of the pickable nodes. 
 | 
static int | 
PICK_GEOMETRY
Specifies a Pick using the geometry of the pickable nodes. 
 | 
static int | 
SCENEGRAPHPATH
Specifies that this PickInfo returns the computed SceneGraphPath object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getClosestDistance()
Retrieves the distance between the start point of the pickShape and the closest intersection point. 
 | 
Point3d | 
getClosestIntersectionPoint()
Retrieves the reference to the closest intersection point in this PickInfo object. 
 | 
PickInfo.IntersectionInfo[] | 
getIntersectionInfos()
Retrieves the reference to the array of intersection results in this PickInfo object. 
 | 
Transform3D | 
getLocalToVWorld()
Retrieves the reference to the LocalToVworld transform of the picked node in this PickInfo object. 
 | 
Node | 
getNode()
Retrieves the reference to the picked node, either a Shape3D or a Morph, in this PickInfo object. 
 | 
SceneGraphPath | 
getSceneGraphPath()
Retrieves the reference to the SceneGraphPath in this PickInfo object. 
 | 
public static final int PICK_BOUNDS
public static final int PICK_GEOMETRY
public static final int SCENEGRAPHPATH
public static final int NODE
public static final int LOCAL_TO_VWORLD
public static final int CLOSEST_INTERSECTION_POINT
public static final int CLOSEST_DISTANCE
public static final int CLOSEST_GEOM_INFO
public static final int ALL_GEOM_INFO
public SceneGraphPath getSceneGraphPath()
Locale, 
BranchGrouppublic Node getNode()
Locale, 
BranchGrouppublic Transform3D getLocalToVWorld()
Locale, 
BranchGrouppublic Point3d getClosestIntersectionPoint()
Locale, 
BranchGrouppublic double getClosestDistance()
Locale, 
BranchGrouppublic PickInfo.IntersectionInfo[] getIntersectionInfos()
Locale, 
BranchGroupCopyright © 2016–2022 SciJava. All rights reserved.