Scaler Class Reference

#include <SceneBuilderFactories.h>

Inherits Transformator.

Inheritance diagram for Scaler:

Inheritance graph
[legend]
Collaboration diagram for Scaler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Scaler (std::map< std::string, Object * > &objects)
virtual bool transform (const std::string &type, std::stringstream &line)

Detailed Description

Scale object

Author:
Alex Busenius

Definition at line 696 of file SceneBuilderFactories.h.


Constructor & Destructor Documentation

Scaler::Scaler ( std::map< std::string, Object * > &  objects  )  [inline]

Constructor

Definition at line 701 of file SceneBuilderFactories.h.


Member Function Documentation

bool Scaler::transform ( const std::string &  type,
std::stringstream &  line 
) [virtual]

Scale given object based on type and data

Parameters:
type Statement type
line Line with data
Returns:
If transformation was made

Implements Transformator.

Definition at line 716 of file SceneBuilderFactories.cpp.

References Transformator::mObjects, and PhysicalObject::scale().


The documentation for this class was generated from the following files:
Generated on Fri Feb 1 00:02:28 2008 for Grayfall by  doxygen 1.5.1