#include <osg/Referenced>
#include <osg/CopyOp>
#include <osg/ref_ptr>
#include <string>
Namespaces | |
namespace | osg |
Classes | |
class | osg::Object |
Defines | |
#define | OSG_OBJECT 1 |
#define | META_Object(library, name) |
#define META_Object | ( | library, | |||
name | ) |
Value:
virtual osg::Object* cloneType() const { return new name (); } \ virtual osg::Object* clone(const osg::CopyOp& copyop) const { return new name (*this,copyop); } \ virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const name *>(obj)!=NULL; } \ virtual const char* libraryName() const { return #library; }\ virtual const char* className() const { return #name; }
#define OSG_OBJECT 1 |