org.ogre4j
Interface IInstancedGeometry.IGeometryBucket

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, IAnimableObject, IMovableObject, INativeObject, IRenderable, ISceneObjAllocatedObject, IShadowCaster, ISimpleRenderable
All Known Implementing Classes:
InstancedGeometry.GeometryBucket
Enclosing interface:
IInstancedGeometry

public static interface IInstancedGeometry.IGeometryBucket
extends INativeObject, ISimpleRenderable


Nested Class Summary
 
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
 boolean assign(IInstancedGeometry.IQueuedGeometry qsm)
          Try to assign geometry to this bucket.
 void build()
           
 void dump(Iofstream of)
           
 IAxisAlignedBox getAABB()
           
 float getBoundingRadius()
          Retrieves the radius of the origin-centered bounding sphere for this object.
 boolean getCastsShadows()
          Method which reports whether this renderable would normally cast a shadow.
 java.lang.String getFormatString()
           
 IIndexData getIndexData()
           
 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.
 int getNumWorldTransforms()
          Returns the number of world transform matrices this renderable requires.
 IInstancedGeometry.IMaterialBucket getParent()
           
 float getSquaredViewDepth(ICamera cam)
          Returns the camera-relative squared depth of this renderable.
 ITechnique getTechnique()
          Retrieves a pointer to the this renderable object uses.
 IVertexData getVertexData()
           
 void getWorldTransforms(IMatrix4 xform)
          Gets the world transform matrix / matrices for this renderable object.
 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.ISimpleRenderable
_notifyCurrentCamera, _updateRenderQueue, getBoundingBox, getMovableType, getRenderOperation, setBoundingBox, setMaterial, setRenderOperation, setWorldTransform
 
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, getCustomParameter, getPolygonModeOverrideable, getRenderSystemData, getUseIdentityProjection, getUseIdentityView, getUserAny, postRender, preRender, setCustomParameter, setPolygonModeOverrideable, setRenderSystemData, setUseIdentityProjection, setUseIdentityView, setUserAny
 

Method Detail

getParent

IInstancedGeometry.IMaterialBucket getParent()

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

getVertexData

IVertexData getVertexData()

getIndexData

IIndexData getIndexData()

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
Specified by:
getMaterial in interface ISimpleRenderable

getTechnique

ITechnique getTechnique()
Description copied from interface: IRenderable
Retrieves a pointer to the this renderable object uses.

Specified by:
getTechnique in interface IRenderable

getWorldTransforms

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

Specified by:
getWorldTransforms in interface IRenderable
Specified by:
getWorldTransforms in interface ISimpleRenderable

getNumWorldTransforms

int getNumWorldTransforms()
Description copied from interface: IRenderable
Returns the number of world transform matrices this renderable requires.

Specified by:
getNumWorldTransforms in interface IRenderable

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

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
Specified by:
getLights in interface ISimpleRenderable

getCastsShadows

boolean getCastsShadows()
Description copied from interface: IRenderable
Method which reports whether this renderable would normally cast a shadow.

Specified by:
getCastsShadows in interface IRenderable

getFormatString

java.lang.String getFormatString()

assign

boolean assign(IInstancedGeometry.IQueuedGeometry qsm)
Try to assign geometry to this bucket.


build

void build()

dump

void dump(Iofstream of)

getAABB

IAxisAlignedBox getAABB()

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
Specified by:
visitRenderables in interface ISimpleRenderable


Copyright © 2007 netAllied GmbH. All Rights Reserved.