#include <osg/Object>
#include <osg/StateSet>
#include <osg/BoundingSphere>
#include <osg/BoundingBox>
#include <osg/Callback>
#include <string>
#include <vector>
Go to the source code of this file.
#define META_Node |
( |
|
library, |
|
|
|
name |
|
) |
| |
Value:
virtual
bool isSameKindAs(
const osg::Object* obj)
const {
return dynamic_cast<const name *
>(obj)!=
NULL; } \
virtual const char* className() const { return #name; } \
virtual const char* libraryName() const { return #library; } \
bool validNodeMask(const osg::Node &node) const
T * clone(const T *t, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
virtual void apply(Drawable &drawable)
T * cloneType(const T *t)
void pushOntoNodePath(Node *node)
META_Node macro define the standard clone, isSameKindAs, className and accept methods. Use when subclassing from Node to make it more convenient to define the required pure virtual methods.
Definition at line 59 of file Node.h.