Redraws all the nodes of a group with different characteristics. More...
#include <Instance.hpp>
Public Member Functions | |
| Instance (const Tag &tag) | |
| virtual void | apply () |
| virtual bool | areChildrenDestroyable () const |
| virtual bool | areChildrenPrintable () const |
| virtual void | associate () |
| virtual void | associateAfter () |
| virtual void | finalize () |
| virtual void | finalizeAfter () |
| virtual void | remove () |
| virtual string | toString () const |
Protected Member Functions | |
| void | assignParents () |
| void | findChildren () |
| void | findGroup () |
| void | findShapes () |
| void | findUniforms () |
| void | restoreShapes () |
| void | restoreUniforms () |
| void | storeShapes () |
| void | storeUniforms () |
Private Attributes | |
| bool | suppress |
| Suppressor | suppressor |
| Group * | group |
| string | of |
| map< Shape *, ShapeSnapshot > | shapes |
| map< Uniform *, UniformSnapshot > | uniforms |
Redraws all the nodes of a group with different characteristics.
| void apply | ( | ) | [virtual] |
Resets all the uniforms to be under this instance.
Implements Applicable.
| void assignParents | ( | ) | [protected] |
Makes sure the instance's children point to it.
| void associate | ( | ) | [virtual] |
Finds the group, its children, and all the uniforms in it.
Reimplemented from Node.
| void associateAfter | ( | ) | [virtual] |
Stores the programs of the uniforms so they can be reset later.
Reimplemented from Node.
| void finalize | ( | ) | [virtual] |
Resets all the uniforms to be under this instance.
Reimplemented from Node.
| void finalizeAfter | ( | ) | [virtual] |
Stores the locations of the uniforms so they can be reset later.
Reimplemented from Node.
| void findChildren | ( | ) | [protected] |
Adds the group's children to the instance's children.
| void findGroup | ( | ) | [protected] |
Finds the group named by of.
| NodeException | if the group cannot be found. |
| void findShapes | ( | ) | [protected] |
Finds all the shapes in the group.
| void findUniforms | ( | ) | [protected] |
Finds all the uniforms in the group.
| void restoreShapes | ( | ) | [protected] |
Resets the shapes to their stored snapshots.
| void restoreUniforms | ( | ) | [protected] |
Resets the uniforms to their stored snapshots.
| void storeShapes | ( | ) | [protected] |
Saves snapshots of the shapes.
| void storeUniforms | ( | ) | [protected] |
Saves snapshots of the uniforms.
| string toString | ( | ) | const [virtual] |
Reimplemented from Node.
1.6.3