Re: [JAVA3D] Coordinate Tracking

2001-06-28 Thread Oliver Radfelder
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,

Re: [JAVA3D] Coordinate Tracking

2001-06-27 Thread GShankar
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

Re: [JAVA3D] Coordinate Tracking

2001-06-22 Thread Oliver Radfelder
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

[JAVA3D] Coordinate Tracking

2001-06-22 Thread GShankar
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