org.ogre4j
Interface IRibbonTrail

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, IAnimableObject, IBillboardChain, IMovableObject, IMovableObject.IListener, INativeObject, IRenderable, ISceneObjAllocatedObject, IShadowCaster
All Known Implementing Classes:
RibbonTrail

public interface IRibbonTrail
extends INativeObject, IBillboardChain, IMovableObject.IListener


Nested Class Summary
static interface IRibbonTrail.IColourValueList
           
static interface IRibbonTrail.IIndexVector
           
static interface IRibbonTrail.INodeIterator
           
static interface IRibbonTrail.INodeList
           
static interface IRibbonTrail.INodeToChainSegmentMap
           
static interface IRibbonTrail.IRealList
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IBillboardChain
IBillboardChain.IChainSegment, IBillboardChain.IChainSegmentList, IBillboardChain.IElement, IBillboardChain.IElementList
 
Nested classes/interfaces inherited from interface org.ogre4j.IMovableObject
IMovableObject.IListener
 
Nested classes/interfaces inherited from interface org.ogre4j.IShadowCaster
IShadowCaster.IShadowRenderableList, IShadowCaster.IShadowRenderableListIterator
 
Nested classes/interfaces inherited from interface org.ogre4j.IAnimableObject
IAnimableObject.IAnimableDictionaryMap
 
Nested classes/interfaces inherited from interface org.ogre4j.IRenderable
IRenderable.ICustomParameterMap, IRenderable.IRenderSystemData, IRenderable.IVisitor
 
Method Summary
 void _timeUpdate(float time)
           
 void addNode(INode n)
          Add a node to be tracked.
 void clearChain(int chainIndex)
          Remove all elements of a given chain (but leave the chain intact).
 int getChainIndexForNode(INode n)
          Get the chain index for a given being tracked.
 IColourValue getColourChange(int chainIndex)
          Get the per-second fading amount
 IColourValue getInitialColour(int chainIndex)
          Get the starting ribbon colour.
 float getInitialWidth(int chainIndex)
          Get the starting ribbon width in world units.
 java.lang.String getMovableType()
          Overridden from
 void getNodeIterator(IRibbonTrail.INodeIterator returnValue)
          Get an iterator over the nodes which are being tracked.
 float getTrailLength()
          Get the length of the trail.
 float getWidthChange(int chainIndex)
          Get the change in ribbon width per second.
 void nodeDestroyed(INode node)
           
 void nodeUpdated(INode node)
           
 void removeNode(INode n)
          Remove tracking on a given node.
 void setColourChange(int chainIndex, float r, float g, float b, float a)
          Enables / disables fading the trail using colour.
 void setColourChange(int chainIndex, IColourValue valuePerSecond)
          Enables / disables fading the trail using colour.
 void setInitialColour(int chainIndex, float r, float g, float b, float a)
          Set the starting ribbon colour.
 void setInitialColour(int chainIndex, IColourValue col)
          Set the starting ribbon colour for a given segment.
 void setInitialWidth(int chainIndex, float width)
          Set the starting ribbon width in world units.
 void setMaxChainElements(int maxElements)
          Set the maximum number of chain elements per chain
 void setNumberOfChains(int numChains)
          Set the number of chain segments (this class can render multiple chains at once using the same material).
 void setTrailLength(float len)
          Set the length of the trail.
 void setWidthChange(int chainIndex, float widthDeltaPerSecond)
          Set the change in ribbon width per second.
 
Methods inherited from interface org.ogre4j.IBillboardChain
_notifyCurrentCamera, _updateRenderQueue, addChainElement, clearAllChains, getBoundingBox, getBoundingRadius, getChainElement, getDynamic, getLights, getMaterial, getMaterialName, getMaxChainElements, getNumberOfChains, getNumChainElements, getOtherTextureCoordRange, getRenderOperation, getSquaredViewDepth, getTextureCoordDirection, getUseTextureCoords, getUseVertexColours, getWorldTransforms, removeChainElement, setDynamic, setMaterialName, setOtherTextureCoordRange, setTextureCoordDirection, setUseTextureCoords, setUseVertexColours, updateChainElement, visitRenderables
 
Methods inherited from interface org.ogre4j.IMovableObject
_getCreator, _getLightList, _getManager, _getParentNodeFullTransform, _notifyAttached, _notifyCreator, _notifyManager, _notifyMoved, addQueryFlags, addVisibilityFlags, detatchFromParent, getCastShadows, getDarkCapBounds, getEdgeList, getLightCapBounds, getListener, getName, getParentNode, getParentSceneNode, getPointExtrusionDistance, getQueryFlags, getRenderingDistance, getRenderQueueGroup, getShadowVolumeRenderableIterator, getTypeFlags, getUserAny, getUserObject, getVisibilityFlags, getVisible, getWorldBoundingBox, getWorldBoundingSphere, hasEdgeList, isAttached, isDebugDisplayEnabled, isInScene, isVisible, queryLights, removeQueryFlags, removeVisibilityFlags, setCastShadows, setDebugDisplayEnabled, setListener, setQueryFlags, setRenderingDistance, setRenderQueueGroup, setUserAny, setUserObject, setVisibilityFlags, setVisible
 
Methods inherited from interface org.ogre4j.IAnimableObject
createAnimableValue, getAnimableValueNames
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 
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.ogre4j.IMovableObject.IListener
objectAttached, objectDestroyed, objectDetached, objectMoved, objectQueryLights, objectRendering
 

Method Detail

addNode

void addNode(INode n)
Add a node to be tracked.


removeNode

void removeNode(INode n)
Remove tracking on a given node.


getNodeIterator

void getNodeIterator(IRibbonTrail.INodeIterator returnValue)
Get an iterator over the nodes which are being tracked.


getChainIndexForNode

int getChainIndexForNode(INode n)
Get the chain index for a given being tracked.


setTrailLength

void setTrailLength(float len)
Set the length of the trail.


getTrailLength

float getTrailLength()
Get the length of the trail.


setMaxChainElements

void setMaxChainElements(int maxElements)
Description copied from interface: IBillboardChain
Set the maximum number of chain elements per chain

Specified by:
setMaxChainElements in interface IBillboardChain

setNumberOfChains

void setNumberOfChains(int numChains)
Description copied from interface: IBillboardChain
Set the number of chain segments (this class can render multiple chains at once using the same material).

Specified by:
setNumberOfChains in interface IBillboardChain

clearChain

void clearChain(int chainIndex)
Description copied from interface: IBillboardChain
Remove all elements of a given chain (but leave the chain intact).

Specified by:
clearChain in interface IBillboardChain

setInitialColour

void setInitialColour(int chainIndex,
                      IColourValue col)
Set the starting ribbon colour for a given segment.


setInitialColour

void setInitialColour(int chainIndex,
                      float r,
                      float g,
                      float b,
                      float a)
Set the starting ribbon colour.


getInitialColour

IColourValue getInitialColour(int chainIndex)
Get the starting ribbon colour.


setColourChange

void setColourChange(int chainIndex,
                     IColourValue valuePerSecond)
Enables / disables fading the trail using colour.


setInitialWidth

void setInitialWidth(int chainIndex,
                     float width)
Set the starting ribbon width in world units.


getInitialWidth

float getInitialWidth(int chainIndex)
Get the starting ribbon width in world units.


setWidthChange

void setWidthChange(int chainIndex,
                    float widthDeltaPerSecond)
Set the change in ribbon width per second.


getWidthChange

float getWidthChange(int chainIndex)
Get the change in ribbon width per second.


setColourChange

void setColourChange(int chainIndex,
                     float r,
                     float g,
                     float b,
                     float a)
Enables / disables fading the trail using colour.


getColourChange

IColourValue getColourChange(int chainIndex)
Get the per-second fading amount


nodeUpdated

void nodeUpdated(INode node)

nodeDestroyed

void nodeDestroyed(INode node)

_timeUpdate

void _timeUpdate(float time)

getMovableType

java.lang.String getMovableType()
Overridden from

Specified by:
getMovableType in interface IBillboardChain
Specified by:
getMovableType in interface IMovableObject


Copyright © 2007 netAllied GmbH. All Rights Reserved.