Do you have acces to the api documentation? In the class
PickTranslateBehavior is the Method setupCallback(PickingCallback
callback). So write a class which implements the interface
PickingCallback like
public class Demo implements PickingCallback{
public void transformChanged(int type,
Title: RE: [JAVA3D] Coordinate Tracking
Hi Oliver,
I am new to Java3D stuffCan u elaborate how I register PickingCallback on PickTranslate Behavior. I tried and am not able to register the Callback on the pickTranslateBehavior
Thanx in advance
(Murali)
-Original Message
Hi
You should get the TransformGroup which is above your geometry in
the scene graph. I think you can do this by registering a
PickingCallback with setupCallback in the PickTranslateBehavior.
PickingCallback forces you to implement transformChanged, which is
called whenever a change in the observ
Title: Coordinate Tracking
Hi All,
I used an applet to draw many primitivies using the SetCoordinate method. Now when the user translates the individual object by Picking, How do I get the X,Y,Z coordinates of the newly translated object so that the objects do not go to their original place