Helios++
Helios software for LiDAR simulations
DetailedVoxelLoader Class Reference

Loader for deatiled voxel geometries. More...

#include <DetailedVoxelLoader.h>

Inheritance diagram for DetailedVoxelLoader:
Collaboration diagram for DetailedVoxelLoader:

Public Member Functions

 DetailedVoxelLoader ()
 Constructor for detailed voxel loader. More...
 
ScenePartrun () override
 
void loadDv (std::string const &pathString, bool const discardNullPad)
 Load a Detailed Voxels file. More...
 
void loadMaterial ()
 Load specified material for Detailed Voxels. If no material was specified, then none is loaded.
 
void loadLadlut ()
 Load specified ladlut for Detailed Voxels. If no ladlut was specified, then none is loaded.
 
- Public Member Functions inherited from AbstractGeometryFilter
 AbstractGeometryFilter (ScenePart *parts_)
 Base constructor for asset loading filters. More...
 
std::shared_ptr< MaterialgetMaterial (std::string materialName)
 Retrieve requested material by name. More...
 
std::vector< std::shared_ptr< Material > > parseMaterials ()
 Parse materials specified through "matfile", which can be concreted through "matname" parameter. It can also handle random materials when parameter "randomMaterials" is set. More...
 

Additional Inherited Members

- Public Attributes inherited from AbstractGeometryFilter
OGRSpatialReference * sourceCRS
 
std::map< std::string, ObjectT > params
 Available parameters.
 
std::map< std::string, Materialmaterials
 Available materials.
 
ScenePartprimsOut = nullptr
 ScenePart used to build the output. Not strictly necessary for any filter.
 

Detailed Description

Loader for deatiled voxel geometries.

Author
Alberto M. Esmoris Pena
Version
1.0

Constructor & Destructor Documentation

◆ DetailedVoxelLoader()

DetailedVoxelLoader::DetailedVoxelLoader ( )
inline

Constructor for detailed voxel loader.

See also
DetailedVoxel
AbstractGeometryFilter::AbstractGeometryFilter(ScenePart*)

Member Function Documentation

◆ loadDv()

void DetailedVoxelLoader::loadDv ( std::string const &  pathString,
bool const  discardNullPad 
)

Load a Detailed Voxels file.

Parameters
discardNullPadIf true, detailed voxels with PadBVTotal==0 will be discarded (it is useful, for instance, when using transmittive mode)

◆ run()

ScenePart * DetailedVoxelLoader::run ( )
overridevirtual

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