OpenStructure
|
#include <gfx_node.hh>
Inherits enable_shared_from_this< GfxNode >.
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 |
void Add | ( | GfxObjP | obj | ) |
void Add | ( | GfxNodeP | node | ) |
|
virtual |
Reimplemented in GfxObj.
|
virtual |
Reimplemented in GfxObj, and GfxObjBase.
|
virtual |
size_t GetChildCount | ( | ) | const |
|
inline |
Definition at line 117 of file gfx_node.hh.
|
inline |
Definition at line 118 of file gfx_node.hh.
String GetName | ( | ) | const |
gfx::GfxNodeP GetParent | ( | ) | 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 | ( | GfxObjP | obj | ) |
void Remove | ( | GfxNodeP | node | ) |
void Remove | ( | const String & | name | ) |
void RemoveAll | ( | ) |
void Rename | ( | const String & | name | ) |
|
virtual |
Reimplemented in Quad, Cuboid, GfxObj, and SymmetryNode.
void Show | ( | ) |