#include <osg/Object>
#include <osg/StateSet>
#include <osg/BoundingSphere>
#include <osg/NodeCallback>
#include <string>
#include <vector>
Namespaces | |
namespace | osg |
Classes | |
class | osg::Node |
struct | osg::Node::ComputeBoundingSphereCallback |
Defines | |
#define | OSG_NODE 1 |
#define | META_Node(library, name) |
Typedefs | |
typedef std::vector< Node * > | osg::NodePath |
typedef std::vector< NodePath > | osg::NodePathList |
typedef std::vector< Matrix > | osg::MatrixList |
#define META_Node | ( | 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* className() const { return #name; } \ virtual const char* libraryName() const { return #library; } \ virtual void accept(osg::NodeVisitor& nv) { if (nv.validNodeMask(*this)) { nv.pushOntoNodePath(this); nv.apply(*this); nv.popFromNodePath(); } } \
#define OSG_NODE 1 |