Scale Class Reference
[Basic]

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

#include <Scale.hpp>

Inheritance diagram for Scale:
Transformation Vector Node Applicable

List of all members.

Public Member Functions

 Scale (const Tag &tag)
virtual void add (const Vector &B)
virtual void apply ()
virtual void applyTo (Matrix &matrix)
virtual void remove ()
virtual bool setAttribute (pair< string, string > attribute)
virtual string toString () const

Static Public Member Functions

static Scalefind (Node *node)

Private Attributes

float value

Detailed Description

Node that resizes items in the scene.


Constructor & Destructor Documentation

Scale ( const Tag tag  ) 

Creates a new Scale from an XML tag.

Parameters:
tag XML tag with "x", "y", and "z" values.

Member Function Documentation

void add ( const Vector B  )  [virtual]

Adds a vector to this scale.

void apply (  )  [virtual]

Performs the transformation.

Implements Transformation.

void remove (  )  [virtual]

Restores state before transformation was applied.

Implements Transformation.

bool setAttribute ( pair< string, string >  attribute  )  [virtual]

Sets "x", "y", or "z".

Reimplemented from Node.

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