#include <OgreRenderTypes.h>
|
| OgreFigure (const std::string &name, const std::string &matname, OgreRenderScene *scene, FigureType type) throw (RenderException) |
|
virtual | ~OgreFigure () |
|
virtual void | fillData (const VertexBuffer *vb, const IndexBuffer *ib, bool deferFill=false, bool doubleSided=false) throw (RenderException) |
|
| OgreBaseFigure (OgreBaseRenderable *obj, Ogre::SceneNode *node, OgreRenderScene *scene) |
|
virtual | ~OgreBaseFigure () |
|
OgreBaseRenderable * | getRenderable () const |
|
virtual const char * | getName () |
|
virtual void | setPosition (const vec3 &v) |
|
virtual void | setRotation (const rotator &r) |
|
virtual void | setScale (const vec3 &v) |
|
virtual void | setMaterial (const char *mat) throw (RenderException) |
|
virtual const char * | getMaterial () const |
|
virtual std::pair< vec3, vec3 > | getAABB () const |
|
virtual void | setParent (Figure *fig) |
|
void | setCameraVisibility (const Camera *cam, bool isVisible) |
|
void | setVisible (bool isVisible) |
|
virtual bool | isVisible () const |
|
virtual bool | isTransparent () const |
|
virtual bool | isOverlay () const |
|
virtual void | setTransparent (bool isTrans) |
|
virtual void | setOverlay (bool isOverlay) |
|
virtual void | setRenderQueue (sval queue) |
|
virtual sval | getRenderQueue () const |
|
virtual vec3 | getPosition (bool isDerived=false) const |
|
virtual vec3 | getScale (bool isDerived=false) const |
|
virtual rotator | getRotation (bool isDerived=false) const |
|
virtual | ~Figure () |
|
virtual void | setTransform (const transform &t) |
| Set position, rotation, and scale for this figure simultaneously. More...
|
|
virtual void | setTransform (const vec3 &trans, const vec3 &scale, const rotator &rot) |
| Set position, rotation, and scale for this figure simultaneously. More...
|
|
virtual transform | getTransform (bool isDerived=false) const |
| Get the figure's position, scale, and rotation transform. More...
|
|
virtual void | setMaterial (const Material *mat) throw (RenderException) |
| Set's the figure's material. More...
|
|
◆ OgreFigure()
◆ ~OgreFigure()
◆ fillData()
Fill the vertex information using the given buffers, `ib' may be NULL for point figure types. If `deferFill' is true then the actual hardware buffers are filled during the next render cycle rather than immediately. In either case data is filled into local memory buffers first then copied to hardware buffers. This implies that calling this method is thread-safe if `deferFill' is true or if its implementation does nothing regardless of arguments. If `doubleSided' is true and the index buffer defined triangles, create backfaces for triangles with correct normals.
Reimplemented from Figure.
◆ type
The documentation for this class was generated from the following files: