Aviatrix3D
2.1.0

org.j3d.aviatrix3d.picking
Interface TransformPickTarget

All Superinterfaces:
PickTarget
All Known Implementing Classes:
PixelTransform, TransformGroup

public interface TransformPickTarget
extends PickTarget

A picking target that contains a local transformation service.

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).

Implementor Guidelines

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.

Typically this is combined with the GroupPickTarget to represent transformed sets of children, such as the TransformGroup node.

Version:
$Revision: 1.2 $
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
 void getInverseTransform(javax.vecmath.Matrix4f mat)
          Get the inverse version of the local transform.
 void getTransform(javax.vecmath.Matrix4f mat)
          Get the local transform.
 
Methods inherited from interface org.j3d.aviatrix3d.picking.PickTarget
checkPickMask, getPickableBounds, getPickTargetType
 

Method Detail

getTransform

void getTransform(javax.vecmath.Matrix4f mat)
Get the local transform.

Parameters:
mat - The matrix to copy the transform data to

getInverseTransform

void getInverseTransform(javax.vecmath.Matrix4f mat)
Get the inverse version of the local transform.

Parameters:
mat - The matrix to copy the transform data to

Aviatrix3D
2.1.0

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