Package geomss.app
Class Axis
- java.lang.Object
-
- org.jogamp.java3d.SceneGraphObject
-
- org.jogamp.java3d.Node
-
- org.jogamp.java3d.Group
-
- geomss.app.Axis
-
public class Axis extends org.jogamp.java3d.Group
Representation of a set of axes around the coordinates.Each axis is color coordinated and the length can be adjusted.
X axis: Red
Y axis: Green
Z axis: BlueModified by: Joseph A.Huwaldt
- Version:
- June 4, 2023
- Author:
- Jason Taylor, based on the work by Justin Couch
-
-
Field Summary
-
Fields inherited from class org.jogamp.java3d.Group
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
-
Fields inherited from class org.jogamp.java3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
-
-
Constructor Summary
Constructors Constructor Description Axis()
Create a default axis object with each item length 5 from the originAxis(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.jogamp.java3d.Group
addChild, cloneNode, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
-
Methods inherited from class org.jogamp.java3d.Node
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
-
-
-
-
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.- Parameters:
length
- The length to use. Must be positivetransparency
- The amount of transparency in the axis (0=opaque, 1=fully transparent).
-
-