Node that reorients items in the scene. More...
#include <Rotate.hpp>
Public Member Functions | |
| Rotate (const Tag &tag) | |
| virtual void | apply () |
| virtual void | applyTo (Matrix &matrix) |
| virtual void | remove () |
| virtual string | toString () const |
Private Attributes | |
| float | angle |
| Vector | axis |
| Quaternion | quaternion |
Node that reorients items in the scene.
Creates a new Rotate from an XML tag.
| tag | XML tag with "angle" and "axis" values. |
| void apply | ( | ) | [virtual] |
Performs the transformation.
Implements Transformation.
| void remove | ( | ) | [virtual] |
Restores state before transformation was applied.
Implements Transformation.
| string toString | ( | ) | const [virtual] |
Forms a string from the object's attributes.
Reimplemented from Node.
1.6.3