Scene Class Reference
[Framework Module]

#include <scene.h>

Inheritance diagram for Scene:

Root Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root > IsoScene

List of all members.

Public Member Functions

 Scene (const char *id)
virtual ~Scene ()
void SetViewport (const Viewport &viewport)
void SetProjection (const Projection &projection)
void SetSorting (bool sorting)
virtual void AddObject (SceneObject *object)
void RemoveObject (SceneObject *object)
void RemoveAllObjects ()
bool HasObject (SceneObject *object)
void RenderObject (SceneObject *object, bool set_projection=true, bool all_features=false)

Protected Member Functions

virtual void Render ()
virtual void SortObjects ()
virtual void CalculatePosition (const vector3 &object_position, vector3 &proj_position)

Protected Attributes

Ref< Rootobjects
uint_t objects_count
Viewport viewport
Projection projection
bool sorting


class SceneServer

Constructor & Destructor Documentation

Scene::Scene ( const char *  id  ) 


Scene::~Scene (  )  [virtual]


Member Function Documentation

void Scene::SetViewport ( const Viewport viewport  )  [inline]

void Scene::SetProjection ( const Projection projection  )  [inline]

void Scene::SetSorting ( bool  sorting  )  [inline]

void Scene::AddObject ( SceneObject object  )  [virtual]

void Scene::RemoveObject ( SceneObject object  ) 

void Scene::RemoveAllObjects (  )  [inline]

bool Scene::HasObject ( SceneObject object  )  [inline]

void Scene::RenderObject ( SceneObject object,
bool  set_projection = true,
bool  all_features = false 

void Scene::Render (  )  [protected, virtual]

void Scene::SortObjects (  )  [protected, virtual]

Reimplemented in IsoScene.

void Scene::CalculatePosition ( const vector3 object_position,
vector3 proj_position 
) [protected, virtual]

Reimplemented in IsoScene.

Friends And Related Function Documentation

friend class SceneServer [friend]

Member Data Documentation

Ref<Root> Scene::objects [protected]

uint_t Scene::objects_count [protected]

Viewport Scene::viewport [protected]

Projection Scene::projection [protected]

bool Scene::sorting [protected]

The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:35 2007 for Dark Oberon by  doxygen 1.5.3