#include <SceneBuilderFactories.h>
Inherits SceneBuilderFactory.
Inherited by Rotator, Scaler, and Translator.
Inheritance diagram for Transformator:
Public Member Functions | |
Transformator (std::map< std::string, Object * > &objects) | |
virtual bool | transform (const std::string &type, std::stringstream &line)=0 |
Protected Attributes | |
std::map< std::string, Object * > & | mObjects |
Mapping name -> Object. |
Definition at line 620 of file SceneBuilderFactories.h.
Transformator::Transformator | ( | std::map< std::string, Object * > & | objects | ) | [inline] |
Constructor
Definition at line 625 of file SceneBuilderFactories.h.
virtual bool Transformator::transform | ( | const std::string & | type, | |
std::stringstream & | line | |||
) | [pure virtual] |
Transform given object based on type and data
type | Statement type | |
line | Line with data |
Implemented in Translator, Rotator, and Scaler.
std::map<std::string, Object *>& Transformator::mObjects [protected] |
Mapping name -> Object.
Definition at line 640 of file SceneBuilderFactories.h.
Referenced by Scaler::transform(), Rotator::transform(), and Translator::transform().