osgViewer::Scene Class Reference

Scene holds the higher 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::DatabasePagergetDatabasePager () const
void setImagePager (osgDB::ImagePager *ip)
osgDB::ImagePagergetImagePager ()
const osgDB::ImagePagergetImagePager () 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
osg::ref_ptr< osgDB::ImagePager_imagePager

Friends

class View

Detailed Description

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


Constructor & Destructor Documentation

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

Member Function Documentation

const osgDB::DatabasePager* osgViewer::Scene::getDatabasePager (  )  const [inline]
osgDB::DatabasePager* osgViewer::Scene::getDatabasePager (  )  [inline]
const osgDB::ImagePager* osgViewer::Scene::getImagePager (  )  const [inline]
osgDB::ImagePager* osgViewer::Scene::getImagePager (  )  [inline]
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.

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.

const osg::Node* osgViewer::Scene::getSceneData (  )  const
osg::Node* osgViewer::Scene::getSceneData (  ) 
void osgViewer::Scene::setDatabasePager ( osgDB::DatabasePager dp  ) 
void osgViewer::Scene::setImagePager ( osgDB::ImagePager ip  ) 
void osgViewer::Scene::setSceneData ( osg::Node node  ) 

Friends And Related Function Documentation

friend class View [friend]

Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Tue Jul 20 05:09:55 2010 for the OpenSceneGraph by doxygen 1.6.2-20100208.