Developer Documentation

Public Member Functions | Private Attributes | List of all members
ACG::SceneGraph::ACG::ColorStack::Node Class Reference

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

## Private Attributes
Node * | parent_
size_t | index_
ColorTranslator * | translator_
std::vector< Node * > | nodes_
size_t | startIdx_
size_t | endIdx_
size_t | colorStartIdx_
size_t | colorEndIdx_

## Detailed Description

Definition at line 118 of file MeshNode2T_impl.hh.

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

- OpenFlipper/libs_required/ACG/Scenegraph/MeshNode2T_impl.hh