#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.
|
namespace | osgTerrain |
| The osgTerrain library is a NodeKit that provides geospecifc terrain rendering support.
|
namespace | osg |
| The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
|
|
#define | OSG_NODE 1 |
#define | META_Node(library, name) |
| META_Node macro define the standard clone, isSameKindAs, className and accept methods.
|
|
typedef std::vector< Node * > | osg::NodePath |
| A vector of Nodes pointers which is used to describe the path from a root node to a descendant.
|
typedef std::vector< NodePath > | osg::NodePathList |
| A vector of NodePath, typically used to describe all the paths from a node to the potential root nodes it has.
|
typedef std::vector< Matrix > | osg::MatrixList |
| A vector of NodePath, typically used to describe all the paths from a node to the potential root nodes it has.
|
◆ META_Node
#define META_Node |
( |
| library, |
|
|
| name ) |
Value: virtual osg::Object* cloneType()
const {
return new name (); } \
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; } \
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
virtual void apply(Drawable &drawable)
void pushOntoNodePath(Node *node)
Method called by osg::Node::accept() method before a call to the NodeVisitor::apply(....
Definition NodeVisitor:287
bool validNodeMask(const osg::Node &node) const
Method to called by Node and its subclass' Node::accept() method, if the result is true it is used to...
Definition NodeVisitor:221
void popFromNodePath()
Method called by osg::Node::accept() method after a call to NodeVisitor::apply(..).
Definition NodeVisitor:293
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
#define NULL
Definition Export:55
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.
◆ OSG_NODE