Added className() implementation to help wiht debugging.
This commit is contained in:
parent
26a9e499a4
commit
9404abfef5
@ -51,6 +51,8 @@ class OSGDB_EXPORT DatabasePager : public osg::NodeVisitor::DatabaseRequestHandl
|
|||||||
|
|
||||||
DatabasePager(const DatabasePager& rhs);
|
DatabasePager(const DatabasePager& rhs);
|
||||||
|
|
||||||
|
virtual const char* className() const { return "DatabasePager"; }
|
||||||
|
|
||||||
/** Create a shallow copy on the DatabasePager.*/
|
/** Create a shallow copy on the DatabasePager.*/
|
||||||
virtual DatabasePager* clone() const { return new DatabasePager(*this); }
|
virtual DatabasePager* clone() const { return new DatabasePager(*this); }
|
||||||
|
|
||||||
|
@ -150,6 +150,8 @@ class OSGSHADOW_EXPORT ViewDependentShadowTechnique
|
|||||||
*/
|
*/
|
||||||
struct OSGSHADOW_EXPORT ViewData: public osg::Referenced
|
struct OSGSHADOW_EXPORT ViewData: public osg::Referenced
|
||||||
{
|
{
|
||||||
|
virtual const char* className() const { return "ViewData"; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Method called upon ViewData instance to initialize internal variables
|
Method called upon ViewData instance to initialize internal variables
|
||||||
*/
|
*/
|
||||||
|
@ -30,6 +30,8 @@ class OSGVIEWER_EXPORT Scene : public osg::Referenced
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
virtual const char* className() const { return "Scene"; }
|
||||||
|
|
||||||
void setSceneData(osg::Node* node);
|
void setSceneData(osg::Node* node);
|
||||||
osg::Node* getSceneData();
|
osg::Node* getSceneData();
|
||||||
const osg::Node* getSceneData() const;
|
const osg::Node* getSceneData() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user