#include <EmmaRenderableGroup.h>
Inheritance diagram for Emma::RenderableGroup:

Public Types | |
| enum | { NOTRACKING_MASK = 1<<0, TRACKING_MASK = 1<<1 } |
Public Member Functions | |
| RenderableGroup (Fusion::IObject *, RenderManager *r=NULL) | |
| virtual | ~RenderableGroup () |
| virtual Fusion::ResultType | initialize () |
| virtual Fusion::ResultType | finalize () |
| virtual IRenderableGroup * | createRenderableGroup (IInstance *, Fusion::IObject *) |
| Create another RenderableGroup as the child of this RenderableGroup This creates a RenderableGroup object for each Emma object that can contain other Renderable objects. | |
| virtual Fusion::ResultType | attach (IRenderable *, Fusion::IObject *parent) |
| Attach an Emma or Ogre Renderable to this group. | |
| virtual Fusion::ResultType | detach (IRenderable *r) |
| Detach an Emma or Ogre Renderable from this group. | |
| virtual Fusion::ResultType | beginFieldFiring (const char *property, const Fusion::Value &value) |
| When an Emma object changes, this method should be called on the corresponding Emma RenderableGroup object. | |
| virtual Fusion::ResultType | reparentRenderableGroup (IRenderableGroup *, Fusion::IObject *parent) |
| Make this renderable group to be the child of the passed-in renderable group. | |
| virtual Fusion::ResultType | removeRenderableGroup (IRenderableGroup *) |
| Remove this RG from the children list of the passed-in parent renderable group. | |
| virtual bool | localToWorld (const Fusion::Vec3f &localPos, Fusion::Vec3f &worldPos) |
| This returns the passed local coordinate point in screen coordinates. | |
| virtual bool | worldToLocal (const Fusion::Vec3f &worldPos, Fusion::Vec3f &localPos) |
| This returns the passed screen coordinate point in local coordinates. | |
| virtual bool | addChildRenderableGroup (IRenderableGroup *) |
| Add the given RG as child of this RG. | |
| virtual IRenderableGroup * | getParent () |
| Get this RenderableGroup's Parent. | |
| virtual void | setParent (IRenderableGroup *p) |
| Set this RenderableGroup's Parent. | |
| virtual Fusion::IObject * | getObject () |
| Get this Group's associated "Object". | |
| virtual bool | isRoot () |
| Is this a "root" group? | |
| virtual void | setIsRoot (bool flag) |
| Set this as a "root" group. | |
| virtual Fusion::ResultType | processAssets (Ogre::SceneNode *parent) |
| virtual Ogre::SceneNode * | getSceneNode () |
Protected Attributes | |
| Fusion::IObject * | myObject |
| Ogre::SceneNode * | mySceneNode |
| bool | mybPickable |
| IRenderableGroup * | myParent |
| bool | myIsRoot |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Add the given RG as child of this RG.
Implements Emma::IRenderableGroup. |
|
||||||||||||
|
Attach an Emma or Ogre Renderable to this group.
Implements Emma::IRenderableGroup. |
|
||||||||||||
|
When an Emma object changes, this method should be called on the corresponding Emma RenderableGroup object.
Implements Emma::IRenderableGroup. |
|
||||||||||||
|
Create another RenderableGroup as the child of this RenderableGroup This creates a RenderableGroup object for each Emma object that can contain other Renderable objects. For example, an Emma Shape object corresponds to a RenderableGroup and an Emma MeshInline corresponds to a Renderable. Implements Emma::IRenderableGroup. |
|
|
Detach an Emma or Ogre Renderable from this group.
Implements Emma::IRenderableGroup. |
|
|
Implements Emma::IRenderableGroup. |
|
|
Get this Group's associated "Object".
Implements Emma::IRenderableGroup. |
|
|
Get this RenderableGroup's Parent. NOTE this is NOT the same as EmmaNode::getParent()! The Rendering tree has SINGLE parentage, so there can be only one parent. Implements Emma::IRenderableGroup. |
|
|
|
|
|
Implements Emma::IRenderableGroup. |
|
|
Is this a "root" group?
Implements Emma::IRenderableGroup. |
|
||||||||||||
|
This returns the passed local coordinate point in screen coordinates.
Implements Emma::IRenderableGroup. |
|
|
|
|
|
Remove this RG from the children list of the passed-in parent renderable group.
Implements Emma::IRenderableGroup. |
|
||||||||||||
|
Make this renderable group to be the child of the passed-in renderable group.
Implements Emma::IRenderableGroup. |
|
|
Set this as a "root" group.
Implements Emma::IRenderableGroup. |
|
|
Set this RenderableGroup's Parent.
Implements Emma::IRenderableGroup. |
|
||||||||||||
|
This returns the passed screen coordinate point in local coordinates.
Implements Emma::IRenderableGroup. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.3