ACG::SceneGraph::ACG::ColorStack::Node Class Reference

Collaboration diagram for ACG::SceneGraph::ACG::ColorStack::Node:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Node (unsigned int _idx, Node *_parent, ColorTranslator *_ct)
bool setMaximumIndex (unsigned int _idx)
 sets the maximum index number used in current node
bool setIndex (unsigned int _idx) const
 sets the current color the given index (like glLoadName)
bool getIndexColor (unsigned int _idx, Vec4uc &_rgba) const
 gets the color instead of setting it directly
NodepushIndex (unsigned int _idx)
 creates a new node the stack (like glPushName)
NodepopIndex ()
 pops the current node from the stack (like glPopName)
void colorToStack (std::vector< unsigned int > &_stack, unsigned int _index)
unsigned int startIndex ()
unsigned int endIndex ()
unsigned int colorIndex ()

Private Attributes

Nodeparent_
unsigned int index_
ColorTranslatortranslator_
std::vector< Node * > nodes_
unsigned int startIdx_
unsigned int endIdx_
unsigned int colorStartIdx_
unsigned int colorEndIdx_

Detailed Description

Definition at line 107 of file MeshNode2T.cc.


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

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .