Package ffx.ui
Class GraphicsAxis
java.lang.Object
org.jogamp.java3d.SceneGraphObject
org.jogamp.java3d.Node
org.jogamp.java3d.Group
ffx.ui.GraphicsAxis
- All Implemented Interfaces:
MouseBehaviorCallback
The GraphicsAxis class encapsulates the 3D Axis that is used to display and control
rotation/translation in the global frame.
- Author:
- Michael J. Schnieders
-
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
Fields inherited from interface ffx.ui.behaviors.MouseBehaviorCallback
ORBIT, PROPERTIES, ROTATE, SELECTION, TRANSLATE, ZOOM
-
Method Summary
Modifier and TypeMethodDescriptionvoid
center()
centervoid
transformChanged
(int type, org.jogamp.java3d.Transform3D viewTransform) transformChangedvoid
transformClicked
(int type, org.jogamp.java3d.Transform3D transform) transformClickedvoid
transformDoubleClicked
(int type, org.jogamp.java3d.Transform3D transform) transformDoubleClickedMethods 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
Methods inherited from class org.jogamp.java3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
-
Field Details
-
matrix
public org.jogamp.vecmath.Matrix3d matrix
-
-
Method Details
-
center
public void center()center -
transformChanged
public void transformChanged(int type, org.jogamp.java3d.Transform3D viewTransform) transformChanged- Specified by:
transformChanged
in interfaceMouseBehaviorCallback
- Parameters:
type
- a int.viewTransform
- aTransform3D
object.
-
transformClicked
public void transformClicked(int type, org.jogamp.java3d.Transform3D transform) transformClicked- Specified by:
transformClicked
in interfaceMouseBehaviorCallback
- Parameters:
type
- a int.transform
- aTransform3D
object.
-
transformDoubleClicked
public void transformDoubleClicked(int type, org.jogamp.java3d.Transform3D transform) transformDoubleClicked- Specified by:
transformDoubleClicked
in interfaceMouseBehaviorCallback
- Parameters:
type
- a int.transform
- aTransform3D
object.
-