19 #ifndef OST_GFX_NODE_HH
20 #define OST_GFX_NODE_HH
28 #include <boost/enable_shared_from_this.hpp>
39 namespace ost {
namespace gfx {
127 boost::weak_ptr<GfxNode> parent_;
virtual void ContextSwitch()
virtual int GetType() const
void Rename(const String &name)
GfxNode(const String &name)
void Remove(GfxNodeP node)
GfxNodeVector & GetChildren()
void Remove(const String &name)
const GfxNodeVector & GetChildren() const
bool IsAttachedToScene() const
whether the node (or one of it's parents) has been added to the scene
bool IsNameAvailable(const String &name) const
returns true if no scene node of the given name is a child of this node.
virtual void RenderGL(RenderPass pass)
size_t GetChildCount() const
virtual void DeepSwap(GfxNode &n)
gfx::GfxNodeP GetParent() const
virtual void RenderPov(PovState &pov)
virtual void Export(Exporter *ex)
virtual void Apply(GfxNodeVisitor &v, GfxNodeVisitor::Stack st)
virtual GfxNodeP Copy() const
std::stack< GfxNode * > Stack
#define DLLEXPORT_OST_GFX
boost::shared_ptr< GfxNode > GfxNodeP
std::vector< GfxNodeP > GfxNodeVector
boost::shared_ptr< GfxObj > GfxObjP