Helios++
Helios software for LiDAR simulations
|
Manually specify scene transformation filters to apply when loading a scene. More...
#include <SceneLoadingSpecification.h>
Public Member Functions | |
SceneLoadingSpecification ()=default | |
Build default scene loading specification. | |
void | apply (std::shared_ptr< ScenePart > sp) |
Apply the scene loading specification to given scene part. More... | |
Public Attributes | |
std::vector< RotateFilter > | rotations |
Rotations to be applied. More... | |
std::vector< std::string > | rotationsId |
Specify the id of the scene part to apply the rotation over. Specifying an empty string means it will be applied to all scene parts. | |
std::vector< ScaleFilter > | scales |
Scales to be applied. More... | |
std::vector< std::string > | scalesId |
Specify the id of the scene part to apply scaling over. Specifying an empty string means it will be applied to all scene parts. | |
std::vector< TranslateFilter > | translations |
Translations to be applied. More... | |
std::vector< std::string > | translationsId |
Specify the id of the scene part to apply translation over. Specifying an empty string means it will be applied to all scene parts. | |
Manually specify scene transformation filters to apply when loading a scene.
SceneLoadingSpecification class is not a substitute for XML specified filters but a different approach to filter specification. It was designed with pyhelios scripting in mind.
void SceneLoadingSpecification::apply | ( | std::shared_ptr< ScenePart > | sp | ) |
Apply the scene loading specification to given scene part.
sp | Scene part to apply scene loading specification over |
std::vector<RotateFilter> SceneLoadingSpecification::rotations |
Rotations to be applied.
std::vector<ScaleFilter> SceneLoadingSpecification::scales |
Scales to be applied.
std::vector<TranslateFilter> SceneLoadingSpecification::translations |
Translations to be applied.