10 #include "maths/Rotation.h"
13 #include <ogr_spatialref.h>
23 OGRSpatialReference* sourceCRS;
28 std::map<std::string, ObjectT>
params;
70 std::shared_ptr<Material>
getMaterial(std::string materialName);
Abstract class defining asset loading filters common behavior.
Definition: AbstractGeometryFilter.h:18
std::map< std::string, ObjectT > params
Available parameters.
Definition: AbstractGeometryFilter.h:28
std::vector< std::shared_ptr< Material > > parseMaterials()
Parse materials specified through "matfile", which can be concreted through "matname" parameter....
Definition: AbstractGeometryFilter.cpp:20
ScenePart * primsOut
ScenePart used to build the output. Not strictly necessary for any filter.
Definition: AbstractGeometryFilter.h:38
std::map< std::string, Material > materials
Available materials.
Definition: AbstractGeometryFilter.h:32
virtual ScenePart * run()=0
Abstract method to run the filter and obtain the output.
std::shared_ptr< Material > getMaterial(std::string materialName)
Retrieve requested material by name.
Definition: AbstractGeometryFilter.cpp:5
AbstractGeometryFilter(ScenePart *parts_)
Base constructor for asset loading filters.
Definition: AbstractGeometryFilter.h:47
Class representing a scene part.
Definition: ScenePart.h:20