org.ogre4j
Interface IBone

All Superinterfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, INativeObject, INode, IRenderable, ISceneCtlAllocatedObject
All Known Subinterfaces:
ITagPoint
All Known Implementing Classes:
Bone, TagPoint

public interface IBone
extends INativeObject, INode


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ogre4j.INode
INode.IChildNodeIterator, INode.IChildNodeMap, INode.IChildUpdateSet, INode.IConstChildNodeIterator, INode.IListener, INode.IQueuedUpdates
 
Nested classes/interfaces inherited from interface org.ogre4j.IRenderable
IRenderable.ICustomParameterMap, IRenderable.IRenderSystemData, IRenderable.IVisitor
 
Method Summary
 IQuaternion _getBindingPoseInverseOrientation()
          Gets the inverted binding pose orientation.
 IVector3 _getBindingPoseInversePosition()
          Gets the inverted binding pose position.
 IVector3 _getBindingPoseInverseScale()
          Gets the inverted binding pose scale.
 void _getOffsetTransform(IMatrix4 m)
          Gets the transform which takes bone space to current from the binding pose.
 IBone createChild(int handle, IVector3 translate, IQuaternion rotate)
          Creates a new as a child of this bone.
 int getHandle()
          Gets the numeric handle for this bone (unique within the skeleton).
 boolean isManuallyControlled()
          Getter for mManuallyControlled Flag
 void needUpdate(boolean forceParentUpdate)
          To be called in the event of transform changes to this node that require it's recalculation.
 void reset()
          Resets the position and orientation of this to the original binding position.
 void setBindingPose()
          Sets the current position / orientation to be the 'binding pose' ie the layout in which bones were originally bound to a mesh.
 void setManuallyControlled(boolean manuallyControlled)
          Sets whether or not this bone is manually controlled.
 
Methods inherited from interface org.ogre4j.INode
_getDerivedOrientation, _getDerivedPosition, _getDerivedScale, _getFullTransform, _update, addChild, cancelUpdate, createChild, createChild, getChild, getChild, getChildIterator_const, getChildIterator, getInheritOrientation, getInheritScale, getInitialOrientation, getInitialPosition, getInitialScale, getLights, getListener, getLocalAxes, getMaterial, getName, getOrientation, getParent, getPosition, getRenderOperation, getScale, getSquaredViewDepth, getWorldTransforms, numChildren, pitch, removeAllChildren, removeChild, removeChild, removeChild, requestUpdate, resetOrientation, resetToInitialState, roll, rotate, rotate, scale, scale, setInheritOrientation, setInheritScale, setInitialState, setListener, setOrientation, setOrientation, setPosition, setPosition, setScale, setScale, translate, translate, translate, translate, yaw
 
Methods inherited from interface org.ogre4j.IRenderable
_updateCustomGpuParameter, getCastsShadows, getCustomParameter, getNumWorldTransforms, getPolygonModeOverrideable, getRenderSystemData, getTechnique, getUseIdentityProjection, getUseIdentityView, getUserAny, postRender, preRender, setCustomParameter, setPolygonModeOverrideable, setRenderSystemData, setUseIdentityProjection, setUseIdentityView, setUserAny
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

createChild

IBone createChild(int handle,
                  IVector3 translate,
                  IQuaternion rotate)
Creates a new as a child of this bone.


getHandle

int getHandle()
Gets the numeric handle for this bone (unique within the skeleton).


setBindingPose

void setBindingPose()
Sets the current position / orientation to be the 'binding pose' ie the layout in which bones were originally bound to a mesh.


reset

void reset()
Resets the position and orientation of this to the original binding position.


setManuallyControlled

void setManuallyControlled(boolean manuallyControlled)
Sets whether or not this bone is manually controlled.


isManuallyControlled

boolean isManuallyControlled()
Getter for mManuallyControlled Flag


_getOffsetTransform

void _getOffsetTransform(IMatrix4 m)
Gets the transform which takes bone space to current from the binding pose.


_getBindingPoseInverseScale

IVector3 _getBindingPoseInverseScale()
Gets the inverted binding pose scale.


_getBindingPoseInversePosition

IVector3 _getBindingPoseInversePosition()
Gets the inverted binding pose position.


_getBindingPoseInverseOrientation

IQuaternion _getBindingPoseInverseOrientation()
Gets the inverted binding pose orientation.


needUpdate

void needUpdate(boolean forceParentUpdate)
Description copied from interface: INode
To be called in the event of transform changes to this node that require it's recalculation.

Specified by:
needUpdate in interface INode


Copyright © 2007 netAllied GmbH. All Rights Reserved.