j3d.org Aviatrix3D

org.j3d.renderer.aviatrix3d.geom
Class Axis

java.lang.Object
  extended byorg.j3d.aviatrix3d.SceneGraphObject
      extended byorg.j3d.aviatrix3d.Node
          extended byorg.j3d.aviatrix3d.Group
              extended byorg.j3d.renderer.aviatrix3d.geom.Axis
All Implemented Interfaces:
PickableObject

public class Axis
extends Group

Representation of a set of axis around the coordinates.

Each axis is color coordinated and the length can be adjusted.

X axis: Red
Y axis: Green
Z axis: Blue

Version:
$Revision: 1.2 $
Author:
Jason Taylor, based on the work by Justin Couch

Field Summary
 
Fields inherited from class org.j3d.aviatrix3d.Group
childList, dirtyBoundsCount, lastChild, pickFlags, wkVec1, wkVec2
 
Fields inherited from class org.j3d.aviatrix3d.Node
bounds, implicitBounds, INVALID_BOUNDS, parent
 
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject
alive, updateHandler, WRITE_TIMING_MSG
 
Fields inherited from interface org.j3d.aviatrix3d.PickableObject
COLLIDABLE_OBJECT, GENERAL_OBJECT, PROXIMITY_OBJECT, VISIBLE_OBJECT
 
Constructor Summary
Axis()
          Create a default axis object with each item length 5 from the origin
Axis(float length)
          Create an axis object with the given axis length from the origin.
Axis(float length, float transparency)
          Create an axis object with the given axis length from the origin.
 
Methods inherited from class org.j3d.aviatrix3d.Group
addChild, checkForCyclicChild, getAllChildren, getChild, getPickMask, getRenderableChild, indexOfChild, markBoundsDirty, numChildren, numRenderableChildren, pickBatch, pickSingle, recomputeBounds, removeAllChildren, removeChild, removeChild, requestBoundsUpdate, setBounds, setChild, setLive, setPickMask, setUpdateHandler, updateBounds
 
Methods inherited from class org.j3d.aviatrix3d.Node
boundsChanged, checkForCyclicParent, getBounds, getParent, removeParent, setParent
 
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject
dataChanged, getUserData, isLive, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axis

public Axis()
Create a default axis object with each item length 5 from the origin


Axis

public Axis(float length)
Create an axis object with the given axis length from the origin.

Parameters:
length - The length to use. Must be positive

Axis

public Axis(float length,
            float transparency)
Create an axis object with the given axis length from the origin. The transparency of the axis can be controlled through the use of the second parameter. It follows the standard alpha values. A value of 0 is not visible, a value of 1 is completely visible.

Parameters:
length - The length to use. Must be positive
transparency - The amount of alpha channel in the axis

j3d.org Aviatrix3D

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - j3d.org