Aviatrix3D
2.1.0

org.j3d.renderer.aviatrix3d.geom
Class Axis

java.lang.Object
  extended by org.j3d.aviatrix3d.SceneGraphObject
      extended by org.j3d.aviatrix3d.Node
          extended by org.j3d.aviatrix3d.Group
              extended by org.j3d.renderer.aviatrix3d.geom.Axis
All Implemented Interfaces:
GroupPickTarget, PickableObject, PickTarget, Cullable, GroupCullable, TransformHierarchy

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.3 $
Author:
Jason Taylor, based on the work by Justin Couch

Field Summary
 
Fields inherited from class org.j3d.aviatrix3d.Group
childList, cullList, dirtyBoundsCount, lastChild, pickableList, 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, LISTENER_SET_TIMING_ERR_PROP, updateHandler
 
Fields inherited from interface org.j3d.aviatrix3d.picking.PickableObject
COLLIDABLE_OBJECT, GENERAL_OBJECT, PROXIMITY_OBJECT, VISIBLE_OBJECT
 
Fields inherited from interface org.j3d.aviatrix3d.picking.PickTarget
CUSTOM_PICK_TYPE, GROUP_PICK_TYPE, LEAF_PICK_TYPE, SINGLE_PICK_TYPE
 
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.
 
Method Summary
 
Methods inherited from class org.j3d.aviatrix3d.Group
addChild, checkForCyclicChild, checkPickMask, getAllChildren, getChild, getCullableChildren, getCullableParent, getPickableBounds, getPickableChild, getPickableChildren, getPickMask, getPickTargetType, hasMultipleParents, indexOfChild, markBoundsDirty, numChildren, numCullableChildren, numPickableChildren, 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, updateParentBounds
 
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject
dataChanged, getAppUpdateWriteTimingMessage, getBoundsWriteTimingMessage, getDataWriteTimingMessage, getUserData, isLive, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.j3d.aviatrix3d.rendering.GroupCullable
getBounds
 

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

Aviatrix3D
2.1.0

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