Helios++
Helios software for LiDAR simulations
SceneLoadingSpecification.h
1 #pragma once
2 #include <RotateFilter.h>
3 #include <ScaleFilter.h>
4 #include <TranslateFilter.h>
5 #include <string>
6 
19 public:
20  // *** ATTRIBUTES *** //
21  // ******************** //
26  std::vector<RotateFilter> rotations;
31  std::vector<std::string> rotationsId;
36  std::vector<ScaleFilter> scales;
41  std::vector<std::string> scalesId;
46  std::vector<TranslateFilter> translations;
51  std::vector<std::string> translationsId;
52 
53  // *** CONSTRUCTION / DESTRUCTION *** //
54  // ************************************ //
58  SceneLoadingSpecification() = default;
59  virtual ~SceneLoadingSpecification() = default;
60 
61  // *** A P P L Y *** //
62  // ******************* //
67  void apply(ScenePart *sp);
68 };
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