osgViewer::Scene Class Reference

Scene holds the highe level reference to a single scene graph. More...

Inheritance diagram for osgViewer::Scene:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void setSceneData (osg::Node *node)
osg::NodegetSceneData ()
const osg::NodegetSceneData () const
void setDatabasePager (osgDB::DatabasePager *dp)
osgDB::DatabasePagergetDatabasePager ()
const
osgDB::DatabasePager
getDatabasePager () const

Static Public Member Functions

static ScenegetScene (osg::Node *node)
 Get the Scene object that has the specified node assigned to it.

Protected Member Functions

 Scene ()
virtual ~Scene ()

Static Protected Member Functions

static ScenegetOrCreateScene (osg::Node *node)
 Get the Scene object that has the specified node assigned to it.

Protected Attributes

osg::ref_ptr< osg::Node_sceneData
osg::ref_ptr
< osgDB::DatabasePager
_databasePager

Friends

class View


Detailed Description

Scene holds the highe level reference to a single scene graph.


Constructor & Destructor Documentation

osgViewer::Scene::Scene (  )  [protected]

virtual osgViewer::Scene::~Scene (  )  [protected, virtual]


Member Function Documentation

void osgViewer::Scene::setSceneData ( osg::Node node  ) 

osg::Node* osgViewer::Scene::getSceneData (  ) 

const osg::Node* osgViewer::Scene::getSceneData (  )  const

void osgViewer::Scene::setDatabasePager ( osgDB::DatabasePager dp  ) 

osgDB::DatabasePager* osgViewer::Scene::getDatabasePager (  )  [inline]

const osgDB::DatabasePager* osgViewer::Scene::getDatabasePager (  )  const [inline]

static Scene* osgViewer::Scene::getScene ( osg::Node node  )  [static]

Get the Scene object that has the specified node assigned to it.

return 0 if no Scene has yet been assigned the specified node.

static Scene* osgViewer::Scene::getOrCreateScene ( osg::Node node  )  [static, protected]

Get the Scene object that has the specified node assigned to it.

or return a new Scene if no Scene has yet been assigned the specified node.


Friends And Related Function Documentation

friend class View [friend]


Member Data Documentation

osg::ref_ptr<osg::Node> osgViewer::Scene::_sceneData [protected]

osg::ref_ptr<osgDB::DatabasePager> osgViewer::Scene::_databasePager [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:53 2007 for the OpenSceneGraph by doxygen 1.5.3.