com.jme.scene.shape
Class AxisRods
java.lang.Object
com.jme.scene.Spatial
com.jme.scene.Node
com.jme.scene.shape.AxisRods
- All Implemented Interfaces:
- Savable, java.io.Serializable
public class AxisRods
- extends Node
Three coloured arrows, one pointing along each axis.
- Version:
- $Revision: 4396 $, $Date: 2009-06-14 13:01:14 +0100 (Sun, 14 Jun 2009) $
- Author:
- Joshua Slack
- See Also:
- Serialized Form
Fields inherited from class com.jme.scene.Spatial |
cullHint, frustrumIntersects, geometricalControllers, isCollidable, lightCombineMode, localRotation, localScale, localTranslation, LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, lockedMode, name, normalsMode, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
Constructor Summary |
AxisRods()
|
AxisRods(java.lang.String name)
|
AxisRods(java.lang.String name,
boolean rightHanded,
float baseScale)
|
AxisRods(java.lang.String name,
boolean rightHanded,
float length,
float width)
|
Methods inherited from class com.jme.scene.Node |
applyRenderState, attachChild, attachChildAt, childChange, detachAllChildren, detachChild, detachChildAt, detachChildNamed, draw, findCollisions, findPick, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, hasCollision, lockBounds, lockMeshes, lockShadows, lockTransforms, sortLights, swapChildren, unlockBounds, unlockMeshes, unlockShadows, unlockTransforms, updateWorldBound, updateWorldData, updateWorldVectors |
Methods inherited from class com.jme.scene.Spatial |
addController, calculateCollisions, calculatePick, clearControllers, clearRenderState, clearRenderState, getClassTag, getController, getControllerCount, getControllers, getCullHint, getLastFrustumIntersection, getLightCombineMode, getLocalCullHint, getLocalLightCombineMode, getLocalNormalsMode, getLocalRenderQueueMode, getLocalRotation, getLocalScale, getLocalTextureCombineMode, getLocalToWorldMatrix, getLocalTranslation, getLocks, getName, getNormalsMode, getParent, getRenderQueueMode, getRenderState, getRenderState, getTextureCombineMode, getUserData, getWorldBound, getWorldRotation, getWorldScale, getWorldTranslation, getZOrder, hasAncestor, isCollidable, localToWorld, lock, lock, lockBranch, lockMeshes, lookAt, onDraw, propagateBoundToRoot, propagateStatesFromRoot, removeController, removeController, removeFromParent, removeUserData, rotateUpTo, setCullHint, setIsCollidable, setLastFrustumIntersection, setLightCombineMode, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalTranslation, setLocalTranslation, setLocks, setLocks, setName, setNormalsMode, setParent, setRenderQueueMode, setRenderState, setTextureCombineMode, setUserData, setZOrder, setZOrder, toString, unlock, unlock, unlockBranch, unlockMeshes, updateGeometricState, updateRenderState, updateRenderState, updateWorldRotation, updateWorldScale, updateWorldTranslation, updateWorldVectors, worldToLocal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AxisRods
public AxisRods()
AxisRods
public AxisRods(java.lang.String name)
AxisRods
public AxisRods(java.lang.String name,
boolean rightHanded,
float baseScale)
AxisRods
public AxisRods(java.lang.String name,
boolean rightHanded,
float length,
float width)
getLength
public float getLength()
getWidth
public float getWidth()
read
public void read(JMEImporter e)
throws java.io.IOException
- Specified by:
read
in interface Savable
- Overrides:
read
in class Node
- Throws:
java.io.IOException
setLength
public void setLength(float length)
- Deprecated. use
updateGeometry(float, float, boolean)
.
setModelBound
public void setModelBound(BoundingVolume bound)
- Description copied from class:
Spatial
setModelBound
sets the bounding object for this Spatial.
- Overrides:
setModelBound
in class Node
- Parameters:
bound
- the bounding object for this spatial.
setWidth
public void setWidth(float width)
- Deprecated. use
updateGeometry(float, float, boolean)
.
updateGeometry
public void updateGeometry(float length,
float width,
boolean rightHanded)
updateModelBound
public void updateModelBound()
- Description copied from class:
Spatial
updateBound
recalculates the bounding object for this
Spatial.
- Overrides:
updateModelBound
in class Node
write
public void write(JMEExporter e)
throws java.io.IOException
- Specified by:
write
in interface Savable
- Overrides:
write
in class Node
- Throws:
java.io.IOException