2 #include <RotateFilter.h> 3 #include <ScaleFilter.h> 4 #include <TranslateFilter.h> void apply(ScenePart *sp)
Apply the scene loading specification to given scene part.
Definition: SceneLoadingSpecification.cpp:5
std::vector< ScaleFilter > scales
Scales to be applied.
Definition: SceneLoadingSpecification.h:36
std::vector< std::string > rotationsId
Specify the id of the scene part to apply the rotation over. Specifying an empty string means it will...
Definition: SceneLoadingSpecification.h:31
std::vector< TranslateFilter > translations
Translations to be applied.
Definition: SceneLoadingSpecification.h:46
std::vector< std::string > translationsId
Specify the id of the scene part to apply translation over. Specifying an empty string means it will ...
Definition: SceneLoadingSpecification.h:51
Manually specify scene transformation filters to apply when loading a scene.
Definition: SceneLoadingSpecification.h:18
SceneLoadingSpecification()=default
Build default scene loading specification.
std::vector< std::string > scalesId
Specify the id of the scene part to apply scaling over. Specifying an empty string means it will be a...
Definition: SceneLoadingSpecification.h:41
Class representing a scene part.
Definition: ScenePart.h:16
std::vector< RotateFilter > rotations
Rotations to be applied.
Definition: SceneLoadingSpecification.h:26