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