#include <SceneBuilderFactories.h>
Inherits Transformator.
Inheritance diagram for Scaler:
Public Member Functions | |
Scaler (std::map< std::string, Object * > &objects) | |
virtual bool | transform (const std::string &type, std::stringstream &line) |
Definition at line 696 of file SceneBuilderFactories.h.
Scaler::Scaler | ( | std::map< std::string, Object * > & | objects | ) | [inline] |
Constructor
Definition at line 701 of file SceneBuilderFactories.h.
bool Scaler::transform | ( | const std::string & | type, | |
std::stringstream & | line | |||
) | [virtual] |
Scale given object based on type and data
type | Statement type | |
line | Line with data |
Implements Transformator.
Definition at line 716 of file SceneBuilderFactories.cpp.
References Transformator::mObjects, and PhysicalObject::scale().