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; } \
virtual void apply(const Shape &)
Definition: Shape:131
T * clone(const T *t, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
Definition: Object:246
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition: CopyOp:40
#define NULL
Definition: Export:59
virtual void apply(Shape &)
Definition: Shape:109
T * cloneType(const T *t)
Definition: Object:288
Base class/standard interface for objects which require IO support, cloning and reference counting...
Definition: Object:56
META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.
Use when subclassing from Object to make it more convenient to define the standard pure virtual methods which are required for all Object subclasses.