Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
ACG::SceneGraph::ACG::ColorStack::Node Class Reference

## 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
Node * | pushIndex (unsigned int _idx)
| creates a new node the stack (like glPushName)
Node * | popIndex ()
| 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
Node * | parent_
unsigned int | index_
ColorTranslator * | translator_
std::vector< Node * > | nodes_
unsigned int | startIdx_
unsigned int | endIdx_
unsigned int | colorStartIdx_
unsigned int | colorEndIdx_

## Detailed Description

Definition at line 128 of file MeshNode2T.cc.

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

- ACG/Scenegraph/MeshNode2T.cc