#include <gfx_node.hh>
Inherited by GfxObjBase, Primitive, and SymmetryNode.
Public Member Functions | |
GfxNode (const String &name) | |
virtual | ~GfxNode () |
virtual GfxNodeP | Copy () const |
virtual void | DeepSwap (GfxNode &n) |
virtual void | RenderGL (RenderPass pass) |
virtual void | RenderPov (PovState &pov) |
virtual void | Export (Exporter *ex) |
virtual void | Apply (GfxNodeVisitor &v, GfxNodeVisitor::Stack st) |
virtual int | GetType () const |
String | GetName () const |
void | RemoveAll () |
void | Rename (const String &name) |
void | Add (GfxObjP obj) |
bool | IsNameAvailable (const String &name) const |
void | Remove (GfxObjP obj) |
void | Add (GfxNodeP node) |
void | Remove (GfxNodeP node) |
void | Remove (const String &name) |
size_t | GetChildCount () const |
void | Hide () |
void | Show () |
bool | IsVisible () const |
virtual void | ContextSwitch () |
bool | IsAttachedToScene () const |
gfx::GfxNodeP | GetParent () const |
const GfxNodeVector & | GetChildren () const |
GfxNodeVector & | GetChildren () |
Definition at line 43 of file gfx_node.hh.
virtual ~GfxNode | ( | ) | [virtual] |
void Add | ( | GfxNodeP | node | ) |
void Add | ( | GfxObjP | obj | ) |
virtual void Apply | ( | GfxNodeVisitor & | v, | |
GfxNodeVisitor::Stack | st | |||
) | [virtual] |
Reimplemented in GfxObj.
virtual void ContextSwitch | ( | ) | [virtual] |
Reimplemented in GfxObj, and GfxObjBase.
size_t GetChildCount | ( | ) | const |
GfxNodeVector& GetChildren | ( | ) | [inline] |
Definition at line 118 of file gfx_node.hh.
const GfxNodeVector& GetChildren | ( | ) | const [inline] |
Definition at line 117 of file gfx_node.hh.
String GetName | ( | ) | const |
gfx::GfxNodeP GetParent | ( | ) | const |
virtual int GetType | ( | ) | const [virtual] |
Reimplemented in GfxObj.
void Hide | ( | ) |
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.
bool IsVisible | ( | ) | const |
void Remove | ( | const String & | name | ) |
void Remove | ( | GfxNodeP | node | ) |
void Remove | ( | GfxObjP | obj | ) |
void RemoveAll | ( | ) |
void Rename | ( | const String & | name | ) |
virtual void RenderGL | ( | RenderPass | pass | ) | [virtual] |
Reimplemented in GfxObj, Cuboid, Quad, and SymmetryNode.
void Show | ( | ) |