org.ogre4j
Interface IBillboardChain

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, IAnimableObject, IMovableObject, INativeObject, IRenderable, ISceneObjAllocatedObject, IShadowCaster
All Known Subinterfaces:
IRibbonTrail
All Known Implementing Classes:
BillboardChain, RibbonTrail

public interface IBillboardChain
extends INativeObject, IMovableObject, IRenderable


Nested Class Summary
static interface IBillboardChain.IChainSegment
           
static interface IBillboardChain.IChainSegmentList
           
static interface IBillboardChain.IElement
           
static interface 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 _notifyCurrentCamera(ICamera cam)
          Internal method to notify the object of the camera to be used for the next rendering operation.
 void _updateRenderQueue(IRenderQueue a1)
          Internal method by which the movable object must add subclass instances to the rendering queue.
 void addChainElement(int chainIndex, IBillboardChain.IElement billboardChainElement)
          Add an element to the 'head' of a chain.
 void clearAllChains()
          Remove all elements from all chains (but leave the chains themselves intact).
 void clearChain(int chainIndex)
          Remove all elements of a given chain (but leave the chain intact).
 IAxisAlignedBox getBoundingBox()
          Retrieves the local axis-aligned bounding box for this object.
 float getBoundingRadius()
          Retrieves the radius of the origin-centered bounding sphere for this object.
 IBillboardChain.IElement getChainElement(int chainIndex, int elementIndex)
          Get the detail of a chain element.
 boolean getDynamic()
          Gets whether or not the buffers created for this object are suitable for dynamic alteration.
 ILightList getLights()
          Gets a list of lights, ordered relative to how close they are to this renderable.
 IMaterialPtr getMaterial()
          Retrieves a weak reference to the material this renderable object uses.
 java.lang.String getMaterialName()
           
 int getMaxChainElements()
          Get the maximum number of chain elements per chain
 java.lang.String getMovableType()
          Returns the type name of this object.
 int getNumberOfChains()
          Get the number of chain segments (this class can render multiple chains at once using the same material).
 int getNumChainElements(int chainIndex)
          Returns the number of chain elements.
 FloatPointer getOtherTextureCoordRange()
          Get the range of the texture coordinates generated across the width of the chain elements.
 void getRenderOperation(IRenderOperation a1)
          Gets the render operation required to send this object to the frame buffer.
 float getSquaredViewDepth(ICamera cam)
          Returns the camera-relative squared depth of this renderable.
 BillboardChain.TexCoordDirection getTextureCoordDirection()
          Gets the direction in which texture coords specified on each element are deemed to run.
 boolean getUseTextureCoords()
          Gets whether texture coordinate information should be included in the final buffers generated.
 boolean getUseVertexColours()
          Gets whether vertex colour information should be included in the final buffers generated.
 void getWorldTransforms(IMatrix4 a1)
          Gets the world transform matrix / matrices for this renderable object.
 void removeChainElement(int chainIndex)
          Remove an element from the 'tail' of a chain.
 void setDynamic(boolean dyn)
          Sets whether or not the buffers created for this object are suitable for dynamic alteration.
 void setMaterialName(java.lang.String name)
           
 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 setOtherTextureCoordRange(float start, float end)
          Set the range of the texture coordinates generated across the width of the chain elements.
 void setTextureCoordDirection(BillboardChain.TexCoordDirection dir)
          Sets the direction in which texture coords specified on each element are deemed to run along the length of the chain.
 void setUseTextureCoords(boolean use)
          Sets whether texture coordinate information should be included in the final buffers generated.
 void setUseVertexColours(boolean use)
          Sets whether vertex colour information should be included in the final buffers generated.
 void updateChainElement(int chainIndex, int elementIndex, IBillboardChain.IElement billboardChainElement)
          Update the details of an existing chain element.
 void visitRenderables(IRenderable.IVisitor visitor, boolean debugRenderables)
          Method to allow a caller to abstractly iterate over the instances that this will add to the render queue when asked, if any.
 
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
 

Method Detail

setMaxChainElements

void setMaxChainElements(int maxElements)
Set the maximum number of chain elements per chain


getMaxChainElements

int getMaxChainElements()
Get the maximum number of chain elements per chain


setNumberOfChains

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


getNumberOfChains

int getNumberOfChains()
Get the number of chain segments (this class can render multiple chains at once using the same material).


setUseTextureCoords

void setUseTextureCoords(boolean use)
Sets whether texture coordinate information should be included in the final buffers generated.


getUseTextureCoords

boolean getUseTextureCoords()
Gets whether texture coordinate information should be included in the final buffers generated.


setTextureCoordDirection

void setTextureCoordDirection(BillboardChain.TexCoordDirection dir)
Sets the direction in which texture coords specified on each element are deemed to run along the length of the chain.


getTextureCoordDirection

BillboardChain.TexCoordDirection getTextureCoordDirection()
Gets the direction in which texture coords specified on each element are deemed to run.


setOtherTextureCoordRange

void setOtherTextureCoordRange(float start,
                               float end)
Set the range of the texture coordinates generated across the width of the chain elements.


getOtherTextureCoordRange

FloatPointer getOtherTextureCoordRange()
Get the range of the texture coordinates generated across the width of the chain elements.


setUseVertexColours

void setUseVertexColours(boolean use)
Sets whether vertex colour information should be included in the final buffers generated.


getUseVertexColours

boolean getUseVertexColours()
Gets whether vertex colour information should be included in the final buffers generated.


setDynamic

void setDynamic(boolean dyn)
Sets whether or not the buffers created for this object are suitable for dynamic alteration.


getDynamic

boolean getDynamic()
Gets whether or not the buffers created for this object are suitable for dynamic alteration.


addChainElement

void addChainElement(int chainIndex,
                     IBillboardChain.IElement billboardChainElement)
Add an element to the 'head' of a chain.


removeChainElement

void removeChainElement(int chainIndex)
Remove an element from the 'tail' of a chain.


updateChainElement

void updateChainElement(int chainIndex,
                        int elementIndex,
                        IBillboardChain.IElement billboardChainElement)
Update the details of an existing chain element.


getChainElement

IBillboardChain.IElement getChainElement(int chainIndex,
                                         int elementIndex)
Get the detail of a chain element.


getNumChainElements

int getNumChainElements(int chainIndex)
Returns the number of chain elements.


clearChain

void clearChain(int chainIndex)
Remove all elements of a given chain (but leave the chain intact).


clearAllChains

void clearAllChains()
Remove all elements from all chains (but leave the chains themselves intact).


getMaterialName

java.lang.String getMaterialName()

setMaterialName

void setMaterialName(java.lang.String name)

_notifyCurrentCamera

void _notifyCurrentCamera(ICamera cam)
Description copied from interface: IMovableObject
Internal method to notify the object of the camera to be used for the next rendering operation.

Specified by:
_notifyCurrentCamera in interface IMovableObject

getSquaredViewDepth

float getSquaredViewDepth(ICamera cam)
Description copied from interface: IRenderable
Returns the camera-relative squared depth of this renderable.

Specified by:
getSquaredViewDepth in interface IRenderable

getBoundingRadius

float getBoundingRadius()
Description copied from interface: IMovableObject
Retrieves the radius of the origin-centered bounding sphere for this object.

Specified by:
getBoundingRadius in interface IMovableObject

getBoundingBox

IAxisAlignedBox getBoundingBox()
Description copied from interface: IMovableObject
Retrieves the local axis-aligned bounding box for this object.

Specified by:
getBoundingBox in interface IMovableObject

getMaterial

IMaterialPtr getMaterial()
Description copied from interface: IRenderable
Retrieves a weak reference to the material this renderable object uses.

Specified by:
getMaterial in interface IRenderable

getMovableType

java.lang.String getMovableType()
Description copied from interface: IMovableObject
Returns the type name of this object.

Specified by:
getMovableType in interface IMovableObject

_updateRenderQueue

void _updateRenderQueue(IRenderQueue a1)
Description copied from interface: IMovableObject
Internal method by which the movable object must add subclass instances to the rendering queue.

Specified by:
_updateRenderQueue in interface IMovableObject

getRenderOperation

void getRenderOperation(IRenderOperation a1)
Description copied from interface: IRenderable
Gets the render operation required to send this object to the frame buffer.

Specified by:
getRenderOperation in interface IRenderable

getWorldTransforms

void getWorldTransforms(IMatrix4 a1)
Description copied from interface: IRenderable
Gets the world transform matrix / matrices for this renderable object.

Specified by:
getWorldTransforms in interface IRenderable

getLights

ILightList getLights()
Description copied from interface: IRenderable
Gets a list of lights, ordered relative to how close they are to this renderable.

Specified by:
getLights in interface IRenderable

visitRenderables

void visitRenderables(IRenderable.IVisitor visitor,
                      boolean debugRenderables)
Description copied from interface: IMovableObject
Method to allow a caller to abstractly iterate over the instances that this will add to the render queue when asked, if any.

Specified by:
visitRenderables in interface IMovableObject


Copyright © 2007 netAllied GmbH. All Rights Reserved.