camera3d.manipulation
Interface RotatableObject

All Known Implementing Classes:
VcObject

public interface RotatableObject

Interface to be implemented by objects which should be rotated 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 rotateAbsolute(TransformScope axis, double deltaAngle)
          Rotates object relative to the absolute axis system.
 void rotateLocal(TransformScope axis, double deltaAngle)
          Rotates object relative to its local axis system.
 

Method Detail

isLive

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


rotateLocal

public void rotateLocal(TransformScope axis,
                        double deltaAngle)
Rotates object relative to its local axis system.

Parameters:
axis - axis affected by rotation.
deltaAngle -

rotateAbsolute

public void rotateAbsolute(TransformScope axis,
                           double deltaAngle)
Rotates object relative to the absolute axis system.

Parameters:
axis - axis affected by rotation.
deltaAngle -

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.


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