camera3d
Class Axis

java.lang.Object
  extended bycamera3d.Axis

public class Axis
extends java.lang.Object

An axis system (XYZ) representation.

Version:
1.0
Author:
Fábio Roberto de Miranda

Constructor Summary
Axis()
           
 
Method Summary
 javax.media.j3d.BranchGroup getRootGroup()
          Returns root branch group under which is attached axis geometry.
 double getSize()
          Returns the length of the axis representation (the three axis have the same length).
static void main(java.lang.String[] args)
          Tests the Axis class by creating a simple virtual universe and adding an Axis to it.
 void setSize(double size)
          Sets the length of the axis representation (the three axis have the same length).
 void setVisible(boolean visible)
          Controls visibility of the axis representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axis

public Axis()
Method Detail

getRootGroup

public javax.media.j3d.BranchGroup getRootGroup()
Returns root branch group under which is attached axis geometry.


setVisible

public void setVisible(boolean visible)
Controls visibility of the axis representation.


main

public static void main(java.lang.String[] args)
Tests the Axis class by creating a simple virtual universe and adding an Axis to it.


setSize

public void setSize(double size)
Sets the length of the axis representation (the three axis have the same length).


getSize

public double getSize()
Returns the length of the axis representation (the three axis have the same length).



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