#include <osg/Object>
#include <osg/Vec3>
#include <osg/Quat>
#include <osg/Plane>
#include <osg/Array>
Go to the source code of this file.
#define META_Shape |
( |
|
library, |
|
|
|
name |
|
) |
| |
Value:
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; } \
T * clone(const T *t, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
T * cloneType(const T *t)
virtual void apply(Shape &)
virtual void apply(const Shape &)
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.
Definition at line 35 of file Shape.h.