OpenSceneGraph
3.5.1
|
#include <osg/Referenced>
#include <osg/CopyOp>
#include <osg/ref_ptr>
#include <osg/Notify>
#include <string>
#include <vector>
Classes | |
class | osg::Object |
Base class/standard interface for objects which require IO support, cloning and reference counting. More... | |
class | osg::DummyObject |
DummyObject that can be used as placeholder but otherwise has no other functionality. More... | |
Namespaces | |
osg | |
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes. | |
Macros | |
#define | OSG_OBJECT 1 |
#define | _ADDQUOTES(def) #def |
#define | ADDQUOTES(def) _ADDQUOTES(def) |
#define | META_Object(library, name) |
META_Object macro define the standard clone, isSameKindAs and className methods. More... | |
#define | OSG_INIT_SINGLETON_PROXY(ProxyName, Func) static struct ProxyName{ ProxyName() { Func; } } s_##ProxyName; |
Helper macro that creates a static proxy object to call singleton function on it's construction, ensuring that the singleton gets initialized at startup. More... | |
Functions | |
template<typename T > | |
T * | osg::clone (const T *t, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
template<typename T > | |
T * | osg::clone (const T *t, const std::string &name, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
template<typename T > | |
T * | osg::cloneType (const T *t) |
#define _ADDQUOTES | ( | def | ) | #def |
#define ADDQUOTES | ( | def | ) | _ADDQUOTES(def) |
#define META_Object | ( | library, | |
name | |||
) |
META_Object macro define the standard clone, isSameKindAs and className methods.
Use when subclassing from Object to make it more convenient to define the standard pure virtual clone, isSameKindAs and className methods which are required for all Object subclasses.
#define OSG_INIT_SINGLETON_PROXY | ( | ProxyName, | |
Func | |||
) | static struct ProxyName{ ProxyName() { Func; } } s_##ProxyName; |
Helper macro that creates a static proxy object to call singleton function on it's construction, ensuring that the singleton gets initialized at startup.
#define OSG_OBJECT 1 |
Generated at Wed Nov 11 2015 22:14:22 for the OpenSceneGraph by doxygen 1.8.10. |