camera3d.manipulation
Class RotAdapterTester

java.lang.Object
  extended bycamera3d.manipulation.RotAdapterTester

public class RotAdapterTester
extends java.lang.Object

A simple test for the RotTGAdapter class. It creates a scene with a color cube which can be rotate with the mouse. Use the "X", "Y" or "Z" key for changing the axis of rotation. The "A" key changes the rotation mode to absolute: rotations will be performed considering the virtual world axis system. The "R" key changes the rotation mode to relative: rotations will be performed considering the object's local coordinate system.

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

Constructor Summary
RotAdapterTester()
          Constructor for the RotAdaptertester object
RotAdapterTester(boolean isStandalone)
          Constructor for the RotAdapterTester object
 
Method Summary
 void cleanup()
          Description of the Method
 javax.media.j3d.Canvas3D getCanvas3D()
          Gets the canvas3D attribute of the TransAdapterTester object
 boolean isStandalone()
          Returns flag indicating whether this object is running inside its own window.
static void main(java.lang.String[] args)
          The main program for the RotAdapterTester class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotAdapterTester

public RotAdapterTester()
Constructor for the RotAdaptertester object


RotAdapterTester

public RotAdapterTester(boolean isStandalone)
Constructor for the RotAdapterTester object

Parameters:
isStandalone - determines whether the tester will run as standalone application.
Method Detail

main

public static void main(java.lang.String[] args)
The main program for the RotAdapterTester class

Parameters:
args - The command line arguments

getCanvas3D

public javax.media.j3d.Canvas3D getCanvas3D()
Gets the canvas3D attribute of the TransAdapterTester object

Returns:
The canvas3D value

isStandalone

public boolean isStandalone()
Returns flag indicating whether this object is running inside its own window.

Returns:
The standalone value

cleanup

public void cleanup()
Description of the Method



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