#include <OgreSimpleRenderable.h>
Inheritance diagram for Ogre::SimpleRenderable:

Public Methods | |
| SimpleRenderable () | |
| Real ** | getVertexCache () |
| ushort ** | getIndexCache () |
| Real ** | getNormalCache () |
| RGBA ** | getDiffuseCache () |
| RGBA ** | getSpecularCache () |
| Real ** | getTexCoordCache (unsigned short cn) |
| void | setMaterial (const String &matName) |
| virtual Material * | getMaterial (void) const |
| Retrieves a pointer to the material this renderable object uses. More... | |
| virtual void | setRenderOperation (const RenderOperation &rend) |
| virtual void | getRenderOperation (RenderOperation &rend) |
| Gets the render operation required to send this object to the frame buffer. More... | |
| RenderOperation & | getRenderOperation () |
| void | setWorldTransform (const Matrix4 &xform) |
| virtual void | getWorldTransforms (Matrix4 *xform) |
| Gets the world transform matrix / matrices for this renderable object. More... | |
| virtual SceneNode * | getParentNode (void) |
| Returns the node to which this object is attached. More... | |
| virtual void | _notifyAttached (SceneNode *parent) |
| Internal method called to notify the object that it has been attached to a node. More... | |
| virtual void | _notifyCurrentCamera (Camera *cam) |
| Internal method to notify the object of the camera to be used for the next rendering operation. More... | |
| void | setBoundingBox (const AxisAlignedBox &box) |
| virtual const AxisAlignedBox & | getBoundingBox (void) const |
| Retrieves the local axis-aligned bounding box for this object. More... | |
| virtual void | _updateRenderQueue (RenderQueue *queue) |
| Internal method by which the movable object must add Renderable subclass instances to the rendering queue. More... | |
| virtual | ~SimpleRenderable () |
| virtual const String & | getName (void) const |
| Overridden from MovableObject. More... | |
| virtual const String | getMovableType (void) const |
| Overridden from MovableObject. More... | |
| virtual bool | isAttached (void) const |
| Returns true if this object is attached to a SceneNode. More... | |
| virtual void | setVisible (bool visible) |
| Tells this object whether to be visible or not, if it has a renderable component. More... | |
| virtual bool | isVisible (void) const |
| Returns whether or not this object is supposed to be visible or not. More... | |
| virtual void | setUserObject (UserDefinedObject *obj) |
| Call this to associate your own custom user object instance with this MovableObject. More... | |
| virtual UserDefinedObject * | getUserObject (void) |
| Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject. More... | |
| virtual void | setRenderQueueGroup (RenderQueueGroupID queueID) |
| Sets the render queue group this entity will be rendered through. More... | |
| virtual RenderQueueGroupID | getRenderQueueGroup (void) |
| Gets the queue group for this entity, see setRenderQueueGroup for full details. More... | |
| virtual unsigned short | getNumWorldTransforms (void) |
| Returns the number of world transform matrices this renderable requires. More... | |
| virtual bool | useIdentityProjection (void) |
| Returns whether or not to use an 'identity' projection. More... | |
| virtual bool | useIdentityView (void) |
| Returns whether or not to use an 'identity' projection. More... | |
| virtual Real | getSquaredViewDepth (const Camera *cam) const=0 |
| Returns the camera-relative squared depth of this renderable. More... | |
| virtual SceneDetailLevel | getRenderDetail () |
| Returns the preferred rasterisation mode of this renderable. More... | |
Protected Attributes | |
| RenderOperation | mRendOp |
| Matrix4 | m_matWorldTransform |
| AxisAlignedBox | mBox |
| String | m_strMatName |
| Material * | m_pMaterial |
| Real * | m_pVertexCache |
| ushort * | m_pIndexCache |
| Real * | m_pNormalCache |
| RGBA * | m_pDiffuseCache |
| RGBA * | m_pSpecularCache |
| Real * | m_pTexCache [OGRE_MAX_TEXTURE_COORD_SETS] |
| SceneManager * | m_pParentSceneManager |
| The scene manager for the current frame. More... | |
| Camera * | m_pCamera |
| The camera for the current frame. More... | |
| String | m_strName |
| The name of the object. More... | |
| SceneNode * | mParentNode |
| node to which this object is attached. More... | |
| bool | mVisible |
| Is this object visible? More... | |
| UserDefinedObject * | mUserObject |
| User defined object which is linked to this object. More... | |
| RenderQueueGroupID | mRenderQueueID |
| The render queue to use when rendering this object. More... | |
Static Protected Attributes | |
| uint | ms_uGenNameCount = 0 |
| Static member used to automatically generate names for SimpleRendaerable objects. More... | |
|
|
|
|
|
|
|
|
Internal method called to notify the object that it has been attached to a node.
Reimplemented from Ogre::MovableObject. |
|
|
Internal method to notify the object of the camera to be used for the next rendering operation.
Implements Ogre::MovableObject. |
|
|
Internal method by which the movable object must add Renderable subclass instances to the rendering queue.
Implements Ogre::MovableObject. |
|
|
Retrieves the local axis-aligned bounding box for this object.
Implements Ogre::MovableObject. |
|
|
|
|
|
|
|
|
Retrieves a pointer to the material this renderable object uses.
Implements Ogre::Renderable. |
|
|
Overridden from MovableObject.
Implements Ogre::MovableObject. |
|
|
Overridden from MovableObject.
Implements Ogre::MovableObject. |
|
|
|
|
|
Returns the number of world transform matrices this renderable requires.
Reimplemented in Ogre::SubEntity. |
|
|
Returns the node to which this object is attached.
Reimplemented from Ogre::MovableObject. |
|
|
Returns the preferred rasterisation mode of this renderable.
Reimplemented in Ogre::SubEntity. |
|
|
|
|
|
Gets the render operation required to send this object to the frame buffer.
Implements Ogre::Renderable. |
|
|
Gets the queue group for this entity, see setRenderQueueGroup for full details.
|
|
|
|
|
|
Returns the camera-relative squared depth of this renderable.
Implemented in Ogre::BillboardSet. |
|
|
|
|
|
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject.
|
|
|
|
|
|
Gets the world transform matrix / matrices for this renderable object.
Implements Ogre::Renderable. Reimplemented in Ogre::WireBoundingBox. |
|
|
Returns true if this object is attached to a SceneNode.
|
|
|
Returns whether or not this object is supposed to be visible or not.
|
|
|
|
|
|
|
|
|
|
|
|
Sets the render queue group this entity will be rendered through.
|
|
|
Call this to associate your own custom user object instance with this MovableObject.
|
|
|
Tells this object whether to be visible or not, if it has a renderable component.
Reimplemented in Ogre::Light. |
|
|
|
|
|
Returns whether or not to use an 'identity' projection.
Reimplemented in Ogre::GuiElement. |
|
|
Returns whether or not to use an 'identity' projection.
Reimplemented in Ogre::GuiElement. |
|
|
|
|
|
The camera for the current frame.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The scene manager for the current frame.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The name of the object.
|
|
|
|
|
|
node to which this object is attached.
|
|
|
The render queue to use when rendering this object.
|
|
|
|
|
|
Static member used to automatically generate names for SimpleRendaerable objects.
|
|
|
User defined object which is linked to this object.
|
|
|
Is this object visible?
|
Copyright © 2002 by The OGRE Team