|
virtual | ~OgreScene () |
|
virtual math::Color | AmbientLight () const |
| Get the scene ambient light color. More...
|
|
virtual void | Clear () |
| Remove and destroy all objects from the scene graph. This does not completely destroy scene resources, so new objects can be created and added to the scene afterwards. More...
|
|
virtual void | Destroy () |
| Completely destroy the scene an all its resources. Continued use of this scene after its destruction will result in undefined behavior. More...
|
|
virtual RenderEngine * | Engine () const |
| Get the creating render-engine of the scene. More...
|
|
virtual void | Fini () |
|
virtual Ogre::SceneManager * | OgreSceneManager () const |
|
virtual void | PreRender () |
| Prepare scene for rendering. The scene will flushing any scene changes by traversing scene-graph, calling PreRender on all objects. More...
|
|
virtual VisualPtr | RootVisual () const |
| Get root Visual node. All nodes that are desired to be rendered in a scene should be added to this Visual or one of its ancestors in the scene-graph. Nodes created by this Scene will not be added to the scene by default. More...
|
|
virtual void | SetAmbientLight (const math::Color &_color) |
| Set the scene ambient light color. More...
|
|
virtual void | SetBackgroundColor (const math::Color &_color) |
| Set the scene background color. More...
|
|
virtual | ~BaseScene () |
|
virtual math::Color | BackgroundColor () const |
| Get the scene background color. More...
|
|
virtual ArrowVisualPtr | CreateArrowVisual () |
| Create new arrow visual. A unique ID and name will automatically be assigned to the visual. More...
|
|
virtual ArrowVisualPtr | CreateArrowVisual (unsigned int _id) |
| Create new arrow visual with the given ID. A unique name will automatically be assigned to the visual. If the given ID is already in use, NULL will be returned. More...
|
|
virtual ArrowVisualPtr | CreateArrowVisual (const std::string &_name) |
| Create new arrow visual with the given name. A unique ID will automatically be assigned to the visual. If the given name is already in use, NULL will be returned. More...
|
|
virtual ArrowVisualPtr | CreateArrowVisual (unsigned int _id, const std::string &_name) |
| Create new arrow visual with the given name. If either the given ID or name is already in use, NULL will be returned. More...
|
|
virtual AxisVisualPtr | CreateAxisVisual () |
| Create new axis visual. A unique ID and name will automatically be assigned to the visual. More...
|
|
virtual AxisVisualPtr | CreateAxisVisual (unsigned int _id) |
| Create new axis visual with the given ID. A unique name will automatically be assigned to the visual. If the given ID is already in use, NULL will be returned. More...
|
|
virtual AxisVisualPtr | CreateAxisVisual (const std::string &_name) |
| Create new axis visual with the given name. A unique ID will automatically be assigned to the visual. If the given name is already in use, NULL will be returned. More...
|
|
virtual AxisVisualPtr | CreateAxisVisual (unsigned int _id, const std::string &_name) |
| Create new axis visual with the given name. If either the given ID or name is already in use, NULL will be returned. More...
|
|
virtual GeometryPtr | CreateBox () |
| Create new box geometry. More...
|
|
virtual CameraPtr | CreateCamera () |
| Create new camera. A unique ID and name will automatically be assigned to the camera. More...
|
|
virtual CameraPtr | CreateCamera (unsigned int _id) |
| Create new camera with the given ID. A unique name will automatically be assigned to the camera. If the given ID is already in use, NULL will be returned. More...
|
|
virtual CameraPtr | CreateCamera (const std::string &_name) |
| Create new camera with the given name. A unique ID will automatically be assigned to the camera. If the given name is already in use, NULL will be returned. More...
|
|
virtual CameraPtr | CreateCamera (unsigned int _id, const std::string &_name) |
| Create new camera with the given name. If either the given ID or name is already in use, NULL will be returned. More...
|
|
virtual GeometryPtr | CreateCone () |
| Create new cone geometry. More...
|
|
virtual GeometryPtr | CreateCylinder () |
| Create new cylinder geometry. More...
|
|
virtual DirectionalLightPtr | CreateDirectionalLight () |
| Create new directional light. A unique ID and name will automatically be assigned to the light. More...
|
|
virtual DirectionalLightPtr | CreateDirectionalLight (unsigned int _id) |
| Create new directional light with the given ID. A unique name will automatically be assigned to the light. If the given ID is already in use, NULL will be returned. More...
|
|
virtual DirectionalLightPtr | CreateDirectionalLight (const std::string &_name) |
| Create new directional light with the given name. A unique ID will automatically be assigned to the light. If the given name is already in use, NULL will be returned. More...
|
|
virtual DirectionalLightPtr | CreateDirectionalLight (unsigned int _id, const std::string &_name) |
| Create new directional light with the given name. If either the given ID or name is already in use, NULL will be returned. More...
|
|
virtual GridPtr | CreateGrid () |
| Create new grid geometry. More...
|
|
virtual MaterialPtr | CreateMaterial (const std::string &_name="") |
| Create new material with the given name. Created material will have default properties. More...
|
|
virtual MaterialPtr | CreateMaterial (const common::Material &_material) |
| Create new material from the reference common::Material. More...
|
|
virtual MeshPtr | CreateMesh (const std::string &_meshName) |
| Create new mesh geomerty. The rendering::Mesh will be created from a common::Mesh retrieved from common::MeshManager using the given mesh name. If no mesh exists by this name, NULL will be returned. All sub-meshes will be loaded into the created mesh, uncentered. More...
|
|
virtual MeshPtr | CreateMesh (const common::Mesh *_mesh) |
| Create new mesh geomerty. The rendering::Mesh will be created from the given common::Mesh. All sub-meshes will be loaded into this created mesh, uncentered. More...
|
|
virtual MeshPtr | CreateMesh (const MeshDescriptor &_desc) |
| Create new mesh geometry. The rendering::Mesh will be created from the given common::Mesh specified in the MeshDescriptor. Sub-meshes will be loaded and centered according to the descriptor. More...
|
|
virtual GeometryPtr | CreatePlane () |
| Create new plane geometry. More...
|
|
virtual PointLightPtr | CreatePointLight () |
| Create new point light. A unique ID and name will automatically be assigned to the light. More...
|
|
virtual PointLightPtr | CreatePointLight (unsigned int _id) |
| Create new point light with the given ID. A unique name will automatically be assigned to the light. If the given ID is already in use, NULL will be returned. More...
|
|
virtual PointLightPtr | CreatePointLight (const std::string &_name) |
| Create new point light with the given name. A unique ID will automatically be assigned to the light. If the given name is already in use, NULL will be returned. More...
|
|
virtual PointLightPtr | CreatePointLight (unsigned int _id, const std::string &_name) |
| Create new point light with the given name. If either the given ID or name is already in use, NULL will be returned. More...
|
|
virtual RayQueryPtr | CreateRayQuery () |
| Create new ray query. More...
|
|
virtual RenderTexturePtr | CreateRenderTexture () |
| Create new render texture. More...
|
|
virtual RenderWindowPtr | CreateRenderWindow () |
| Create new render window. This feature is render engine dependent. If the engine does not support attaching to a windowing system then it should behave as a a render texture. More...
|
|
virtual GeometryPtr | CreateSphere () |
| Create new sphere geometry. More...
|
|
virtual SpotLightPtr | CreateSpotLight () |
| Create new spotlight. A unique ID and name will automatically be assigned to the light. More...
|
|
virtual SpotLightPtr | CreateSpotLight (unsigned int _id) |
| Create new spotlight with the given ID. A unique name will automatically be assigned to the light. If the given ID is already in use, NULL will be returned. More...
|
|
virtual SpotLightPtr | CreateSpotLight (const std::string &_name) |
| Create new spotlight with the given name. A unique ID will automatically be assigned to the light. If the given name is already in use, NULL will be returned. More...
|
|
virtual SpotLightPtr | CreateSpotLight (unsigned int _id, const std::string &_name) |
| Create new spotlight with the given name. If either the given ID or name is already in use, NULL will be returned. More...
|
|
virtual VisualPtr | CreateVisual () |
| Create new visual. A unique ID and name will automatically be assigned to the visual. More...
|
|
virtual VisualPtr | CreateVisual (unsigned int _id) |
| Create new visual with the given ID. A unique name will automatically be assigned to the visual. If the given ID is already in use, NULL will be returned. More...
|
|
virtual VisualPtr | CreateVisual (const std::string &_name) |
| Create new visual with the given name. A unique ID will automatically be assigned to the visual. If the given name is already in use, NULL will be returned. More...
|
|
virtual VisualPtr | CreateVisual (unsigned int _id, const std::string &_name) |
| Create new visual with the given name. If either the given ID or name is already in use, NULL will be returned. More...
|
|
virtual void | DestroyLight (LightPtr _light) |
| Destroy given light. If the given light is not managed by this scene, no work will be done. All children of the light will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyLightById (unsigned int _id) |
| Destroy light with the given id. If no light exists with the given id, no work will be done. All children of the light will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyLightByIndex (unsigned int _index) |
| Destroy light at the given index. If no light exists at the given index, no work will be done. All children of the light will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyLightByName (const std::string &_name) |
| Destroy light with the given name. If no light exists with the given name, no work will be done. All children of the light will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyLights () |
| Destroy all lights manages by this scene. More...
|
|
virtual void | DestroyNode (NodePtr _node) |
| Destroy given node. If the given node is not managed by this scene, no work will be done. All children of the node will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyNodeById (unsigned int _id) |
| Destroy node with the given id. If no node exists with the given id, no work will be done. All children of the node will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyNodeByIndex (unsigned int _index) |
| Destroy node at the given index. If no node exists at the given index, no work will be done. All children of the node will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyNodeByName (const std::string &_name) |
| Destroy node with the given name. If no node exists with the given name, no work will be done. All children of the node will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyNodes () |
| Destroy all nodes manages by this scene. More...
|
|
virtual void | DestroySensor (SensorPtr _sensor) |
| Destroy given sensor. If the given sensor is not managed by this scene, no work will be done. All children of the sensor will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroySensorById (unsigned int _id) |
| Destroy sensor with the given id. If no sensor exists with the given id, no work will be done. All children of the sensor will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroySensorByIndex (unsigned int _index) |
| Destroy sensor at the given index. If no sensor exists at the given index, no work will be done. All children of the sensor will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroySensorByName (const std::string &_name) |
| Destroy sensor with the given name. If no sensor exists with the given name, no work will be done. All children of the sensor will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroySensors () |
| Destroy all sensors manages by this scene. More...
|
|
virtual void | DestroyVisual (VisualPtr _visual) |
| Destroy given node. If the given node is not managed by this scene, no work will be done. All children of the node will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyVisualById (unsigned int _id) |
| Destroy node with the given id. If no node exists with the given id, no work will be done. All children of the node will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyVisualByIndex (unsigned int _index) |
| Destroy node at the given index. If no node exists at the given index, no work will be done. All children of the node will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyVisualByName (const std::string &_name) |
| Destroy node with the given name. If no node exists with the given name, no work will be done. All children of the node will consequently be detached from the scene graph, but not destroyed. More...
|
|
virtual void | DestroyVisuals () |
| Destroy all nodes manages by this scene. More...
|
|
virtual bool | HasLight (ConstLightPtr _light) const |
| Determine if the given light is managed by this Scene. More...
|
|
virtual bool | HasLightId (unsigned int _id) const |
| Determine if a given light with the given id is managed by this Scene. More...
|
|
virtual bool | HasLightName (const std::string &_name) const |
| Determine if a given light with the given name is managed by this Scene. More...
|
|
virtual bool | HasNode (ConstNodePtr _node) const |
| Determine if the given node is managed by this Scene. More...
|
|
virtual bool | HasNodeId (unsigned int _id) const |
| Determine if a given node with the given id is managed by this Scene. More...
|
|
virtual bool | HasNodeName (const std::string &_name) const |
| Determine if a given node with the given name is managed by this Scene. More...
|
|
virtual bool | HasSensor (ConstSensorPtr _sensor) const |
| Determine if the given sensor is managed by this Scene. More...
|
|
virtual bool | HasSensorId (unsigned int _id) const |
| Determine if a given sensor with the given id is managed by this Scene. More...
|
|
virtual bool | HasSensorName (const std::string &_name) const |
| Determine if a given sensor with the given name is managed by this Scene. More...
|
|
virtual bool | HasVisual (ConstVisualPtr _visual) const |
| Determine if the given node is managed by this Scene. More...
|
|
virtual bool | HasVisualId (unsigned int _id) const |
| Determine if a given node with the given id is managed by this Scene. More...
|
|
virtual bool | HasVisualName (const std::string &_name) const |
| Determine if a given node with the given name is managed by this Scene. More...
|
|
virtual unsigned int | Id () const |
| Get the ID of the scene. More...
|
|
virtual void | Init () |
| Initialize the scene. More...
|
|
virtual bool | IsInitialized () const |
| Determine if the scene is initialized. More...
|
|
virtual bool | IsLoaded () const |
|
virtual LightPtr | LightById (unsigned int _id) const |
| Get light with the given id. If no light exists with the given id, NULL will be returned. More...
|
|
virtual LightPtr | LightByIndex (unsigned int _index) const |
| Get light at the given index. If no light exists at the given index, NULL will be returned. More...
|
|
virtual LightPtr | LightByName (const std::string &_name) const |
| Get light with the given name. If no light exists with the given name, NULL will be returned. More...
|
|
virtual unsigned int | LightCount () const |
| Get the number of lights managed by this scene. Note these lights may not be directly or indirectly attached to the root light. More...
|
|
virtual void | Load () |
| Load scene-specific resources. More...
|
|
virtual MaterialPtr | Material (const std::string &_name) const |
| Get material registered under the given name. If no material is registered under the given name, NULL will be returned. More...
|
|
virtual bool | MaterialRegistered (const std::string &_name) const |
| Determine if a material is registered under the given name. More...
|
|
virtual std::string | Name () const |
| Get the name of the scene. More...
|
|
virtual NodePtr | NodeById (unsigned int _id) const |
| Get node with the given id. If no node exists with the given id, NULL will be returned. More...
|
|
virtual NodePtr | NodeByIndex (unsigned int _index) const |
| Get node at the given index. If no node exists at the given index, NULL will be returned. More...
|
|
virtual NodePtr | NodeByName (const std::string &_name) const |
| Get node with the given name. If no node exists with the given name, NULL will be returned. More...
|
|
virtual unsigned int | NodeCount () const |
| Get the number of nodes managed by this scene. Note these nodes may not be directly or indirectly attached to the root node. More...
|
|
virtual void | RegisterMaterial (const std::string &_name, MaterialPtr _material) |
| Register a new material under the given name. If the name is already in use, no work will be done. More...
|
|
virtual SensorPtr | SensorById (unsigned int _id) const |
| Get sensor with the given id. If no sensor exists with the given id, NULL will be returned. More...
|
|
virtual SensorPtr | SensorByIndex (unsigned int _index) const |
| Get sensor at the given index. If no sensor exists at the given index, NULL will be returned. More...
|
|
virtual SensorPtr | SensorByName (const std::string &_name) const |
| Get sensor with the given name. If no sensor exists with the given name, NULL will be returned. More...
|
|
virtual unsigned int | SensorCount () const |
| Get the number of sensors managed by this scene. Note these sensors may not be directly or indirectly attached to the root sensor. More...
|
|
virtual void | SetAmbientLight (double _r, double _g, double _b, double _a=1.0) |
| Set the scene ambient light color. More...
|
|
virtual void | SetBackgroundColor (double _r, double _g, double _b, double _a=1.0) |
| Set the scene background color. More...
|
|
virtual void | SetSimTime (const common::Time &_time) |
| Set the last simulation update time. More...
|
|
virtual common::Time | SimTime () const |
| Get the last simulation update time. More...
|
|
virtual void | UnregisterMaterial (const std::string &_name) |
| Unregister material registered under the given name. If no material is registered under this name, no work will be done. More...
|
|
virtual void | UnregisterMaterials () |
| Unregister material all registered materials. More...
|
|
virtual VisualPtr | VisualById (unsigned int _id) const |
| Get node with the given id. If no node exists with the given id, NULL will be returned. More...
|
|
virtual VisualPtr | VisualByIndex (unsigned int _index) const |
| Get node at the given index. If no node exists at the given index, NULL will be returned. More...
|
|
virtual VisualPtr | VisualByName (const std::string &_name) const |
| Get node with the given name. If no node exists with the given name, NULL will be returned. More...
|
|
virtual unsigned int | VisualCount () const |
| Get the number of nodes managed by this scene. Note these nodes may not be directly or indirectly attached to the root node. More...
|
|
T | enable_shared_from_this (T... args) |
|
T | ~enable_shared_from_this (T... args) |
|
T | operator= (T... args) |
|
T | shared_from_this (T... args) |
|
virtual | ~Scene () |
| Deconstructor. More...
|
|