
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_ |
Definition at line 107 of file MeshNode2T.cc.