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

public final class GraphicsAxis extends org.jogamp.java3d.Group implements 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
    Modifier and Type
    Field
    Description
    org.jogamp.vecmath.Matrix3d
     

    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 Type
    Method
    Description
    void
    center
    void
    transformChanged(int type, org.jogamp.java3d.Transform3D viewTransform)
    transformChanged
    void
    transformClicked(int type, org.jogamp.java3d.Transform3D transform)
    transformClicked
    void
    transformDoubleClicked(int type, org.jogamp.java3d.Transform3D transform)
    transformDoubleClicked

    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

    Methods inherited from class org.jogamp.java3d.SceneGraphObject

    clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 interface MouseBehaviorCallback
      Parameters:
      type - a int.
      viewTransform - a Transform3D object.
    • transformClicked

      public void transformClicked(int type, org.jogamp.java3d.Transform3D transform)
      transformClicked
      Specified by:
      transformClicked in interface MouseBehaviorCallback
      Parameters:
      type - a int.
      transform - a Transform3D object.
    • transformDoubleClicked

      public void transformDoubleClicked(int type, org.jogamp.java3d.Transform3D transform)
      transformDoubleClicked
      Specified by:
      transformDoubleClicked in interface MouseBehaviorCallback
      Parameters:
      type - a int.
      transform - a Transform3D object.