org.ogre4j
Interface ISimpleRenderable

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, IAnimableObject, IMovableObject, INativeObject, IRenderable, ISceneObjAllocatedObject, IShadowCaster
All Known Subinterfaces:
IInstancedGeometry.IGeometryBucket, IRectangle2D, IWireBoundingBox
All Known Implementing Classes:
InstancedGeometry.GeometryBucket, Rectangle2D, SimpleRenderable, WireBoundingBox

public interface ISimpleRenderable
extends INativeObject, IMovableObject, IRenderable


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
 void _notifyCurrentCamera(ICamera cam)
          Internal method to notify the object of the camera to be used for the next rendering operation.
 void _updateRenderQueue(IRenderQueue queue)
          Internal method by which the movable object must add subclass instances to the rendering queue.
 IAxisAlignedBox getBoundingBox()
          Retrieves the local axis-aligned bounding box for this object.
 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 getMovableType()
          Overridden from
 void getRenderOperation(IRenderOperation op)
          Gets the render operation required to send this object to the frame buffer.
 void getWorldTransforms(IMatrix4 xform)
          Gets the world transform matrix / matrices for this renderable object.
 void setBoundingBox(IAxisAlignedBox box)
           
 void setMaterial(java.lang.String matName)
           
 void setRenderOperation(IRenderOperation rend)
           
 void setWorldTransform(IMatrix4 xform)
           
 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, getBoundingRadius, 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, getSquaredViewDepth, getTechnique, getUseIdentityProjection, getUseIdentityView, getUserAny, postRender, preRender, setCustomParameter, setPolygonModeOverrideable, setRenderSystemData, setUseIdentityProjection, setUseIdentityView, setUserAny
 

Method Detail

setMaterial

void setMaterial(java.lang.String matName)

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

setRenderOperation

void setRenderOperation(IRenderOperation rend)

getRenderOperation

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

Specified by:
getRenderOperation in interface IRenderable

setWorldTransform

void setWorldTransform(IMatrix4 xform)

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

_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

setBoundingBox

void setBoundingBox(IAxisAlignedBox box)

getBoundingBox

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

Specified by:
getBoundingBox in interface IMovableObject

_updateRenderQueue

void _updateRenderQueue(IRenderQueue queue)
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

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

getMovableType

java.lang.String getMovableType()
Overridden from

Specified by:
getMovableType in interface IMovableObject

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


Copyright © 2007 netAllied GmbH. All Rights Reserved.