Rotate Class Reference
[Basic]

Node that reorients items in the scene. More...

#include <Rotate.hpp>

Inheritance diagram for Rotate:
Transformation Node Applicable

List of all members.

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

Detailed Description

Node that reorients items in the scene.


Constructor & Destructor Documentation

Rotate ( const Tag tag  ) 

Creates a new Rotate from an XML tag.

Parameters:
tag XML tag with "angle" and "axis" values.

Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:36 2010 for Gander by  doxygen 1.6.3