GfxNode Class Reference

#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 GfxNodeVectorGetChildren () const
GfxNodeVectorGetChildren ()

Detailed Description

Definition at line 43 of file gfx_node.hh.


Constructor & Destructor Documentation

GfxNode ( const String name  ) 
virtual ~GfxNode (  )  [virtual]

Member Function Documentation

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.

virtual GfxNodeP Copy (  )  const [virtual]

Reimplemented in GfxObj.

virtual void DeepSwap ( GfxNode n  )  [virtual]

Reimplemented in GfxObj.

virtual void Export ( Exporter ex  )  [virtual]

Reimplemented in Entity, and GfxObj.

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.

virtual void RenderPov ( PovState pov  )  [virtual]

Reimplemented in GfxObj.

void Show (  ) 

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1