camera3d.manipulation
Interface TranslatableObject

All Known Implementing Classes:
VcObject

public interface TranslatableObject

Interface to be implemented by objects which should be translated by mouse manipulation.

Version:
22/05/2003
Author:
Carlos da Silva dos Santos, Fábio Roberto de Miranda

Method Summary
 void getLocalToVworld(javax.media.j3d.Transform3D localToVworld)
          Retrieves local to Vworld transform.
 boolean isLive()
          Returns flag indicating whether this object is part of a live scene graph.
 void translate(javax.vecmath.Vector3d translation)
          Translates object to location determined by the Point3d parameter.
 

Method Detail

isLive

public boolean isLive()
Returns flag indicating whether this object is part of a live scene graph.


getLocalToVworld

public void getLocalToVworld(javax.media.j3d.Transform3D localToVworld)
Retrieves local to Vworld transform.

Parameters:
localToVworld - Transform3D into which the object's local to Vworld transformation will be copied.

translate

public void translate(javax.vecmath.Vector3d translation)
Translates object to location determined by the Point3d parameter.

Parameters:
translation - new location of object.


Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.