Helios++
Helios software for LiDAR simulations
SceneLoadingSpecification Class Reference

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 (ScenePart *sp)
 Apply the scene loading specification to given scene part. More...
 

Public Attributes

std::vector< RotateFilterrotations
 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< ScaleFilterscales
 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< TranslateFiltertranslations
 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.
 

Detailed Description

Manually specify scene transformation filters to apply when loading a scene.

Author
Alberto M. Esmoris Pena
Version
1.0

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.

Member Function Documentation

◆ apply()

void SceneLoadingSpecification::apply ( ScenePart sp)

Apply the scene loading specification to given scene part.

Parameters
spScene part to apply scene loading specification over

Member Data Documentation

◆ rotations

std::vector<RotateFilter> SceneLoadingSpecification::rotations

Rotations to be applied.

See also
RotateFilter

◆ scales

std::vector<ScaleFilter> SceneLoadingSpecification::scales

Scales to be applied.

See also
ScaleFilter

◆ translations

std::vector<TranslateFilter> SceneLoadingSpecification::translations

Translations to be applied.

See also
TranslateFilter

The documentation for this class was generated from the following files: