UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::graphic::Node Class Reference

#include <ugdk/graphic/node.h>

Public Types

typedef std::vector< Node * > NodeSet
 

Public Member Functions

 Node (Drawable *drawable=NULL, Modifier *modifier=NULL)
 
 ~Node ()
 
void Update (double dt)
 Pushes the modifier to the VideoManager, renders.
 
void Render () const
 
void RenderLight () const
 
void set_drawable (Drawable *drawable)
 
void set_light (Light *light)
 
void set_active (const bool active)
 
void set_zindex (const double zindex)
 
Modifiermodifier ()
 
const Modifiermodifier () const
 
Drawabledrawable ()
 
const Drawabledrawable () const
 
Lightlight ()
 
const Lightlight () const
 
bool active () const
 
double zindex () const
 
void AddChild (Node *new_child)
 
void RemoveChild (Node *child)
 
void SortChildren ()
 

Static Public Member Functions

static bool CompareByZIndex (const Node *a, const Node *b)
 

Member Typedef Documentation

typedef std::vector<Node*> ugdk::graphic::Node::NodeSet

Constructor & Destructor Documentation

ugdk::graphic::Node::Node ( Drawable drawable = NULL,
Modifier modifier = NULL 
)
inline
Node< T, DIMENSIONS >::~Node ( )

Member Function Documentation

bool ugdk::graphic::Node::active ( ) const
inline
void ugdk::graphic::Node::AddChild ( Node new_child)
inline
bool Node< T, DIMENSIONS >::CompareByZIndex ( const Node a,
const Node b 
)
static
Drawable* ugdk::graphic::Node::drawable ( )
inline
const Drawable* ugdk::graphic::Node::drawable ( ) const
inline
Light* ugdk::graphic::Node::light ( )
inline
const Light* ugdk::graphic::Node::light ( ) const
inline
Modifier* ugdk::graphic::Node::modifier ( )
inline
const Modifier* ugdk::graphic::Node::modifier ( ) const
inline
void Node< T, DIMENSIONS >::RemoveChild ( Node child)
void Node< T, DIMENSIONS >::Render ( ) const
void Node< T, DIMENSIONS >::RenderLight ( ) const
void ugdk::graphic::Node::set_active ( const bool  active)
inline
void ugdk::graphic::Node::set_drawable ( Drawable drawable)
inline
void ugdk::graphic::Node::set_light ( Light light)
inline
void Node< T, DIMENSIONS >::set_zindex ( const double  zindex)
void Node< T, DIMENSIONS >::SortChildren ( )
void Node< T, DIMENSIONS >::Update ( double  dt)

Pushes the modifier to the VideoManager, renders.

double ugdk::graphic::Node::zindex ( ) const
inline

The documentation for this class was generated from the following files: