Helios++
Helios software for LiDAR simulations
helios::main::LidarSim Class Reference

Lidar simulation class. More...

#include <LidarSim.h>

Public Member Functions

void init (std::string surveyPath, std::string assetsPath, std::string outputPath, bool writeWaveform=false, bool calcEchowidth=false, int parallelizationStrategy=0, size_t njobs=0, int chunkSize=32, int warehouseFactor=4, bool fullWaveNoise=false, bool splitByChannel=false, bool platformNoiseDisabled=false, bool legNoiseDisabled=false, bool rebuildScene=false, bool lasOutput=false, bool las10=false, bool zipOutput=false, bool fixedIncidenceAngle=false, std::string gpsStartTime="", double lasScale=0.0001, int kdtType=1, size_t kdtJobs=1, size_t kdtGeomJobs=1, size_t sahLossNodes=21)
 Initialize a LiDAR simulation. More...
 

Detailed Description

Lidar simulation class.

It serves as entry point for Helios++ execution

Member Function Documentation

◆ init()

void helios::main::LidarSim::init ( std::string  surveyPath,
std::string  assetsPath,
std::string  outputPath,
bool  writeWaveform = false,
bool  calcEchowidth = false,
int  parallelizationStrategy = 0,
size_t  njobs = 0,
int  chunkSize = 32,
int  warehouseFactor = 4,
bool  fullWaveNoise = false,
bool  splitByChannel = false,
bool  platformNoiseDisabled = false,
bool  legNoiseDisabled = false,
bool  rebuildScene = false,
bool  lasOutput = false,
bool  las10 = false,
bool  zipOutput = false,
bool  fixedIncidenceAngle = false,
std::string  gpsStartTime = "",
double  lasScale = 0.0001,
int  kdtType = 1,
size_t  kdtJobs = 1,
size_t  kdtGeomJobs = 1,
size_t  sahLossNodes = 21 
)

Initialize a LiDAR simulation.

Parameters
surveyPathPath to the survey file
assetsPathPath to the assets directory
outputPathPath to the output directory
writeWaveformWrite wave form flag. True to enable write wave form, false otherwise
calcEchowidthCalc echo width flag. True to enable echo width computation, false otherwise
parallelizationStrategySpecify the parallelization strategy
njobsNumber of concurrent jobs (0 means as many as possible)
chunkSizeChunk size for job distribution in parallel execution context
warehouseFactorFactor defining warehouse size in parallel execution context
fullWaveNoiseFlag to specify full wave noise usage. True to enable full wave noise, false otherwise
platformNoiseDisabledFlag to specify platform noise disabled. True means platform noise is disabled, false means it is enabled
legNoiseDisabledFlag to specify leg noise disabled. True means leg noise is disabled, false means it is enabled
rebuildSceneFlag to specify rebuild scene policy. True means scene will be build even when a previously built scene has been found, false means previously built scene will be used when available
lasOutputFlag to specify LAS output format. True implies using LAS output format, false implies don't
las10Flag to specify that the output format must be LAS v1.0.
zipOutputFlag to specify output zipping. True implies output will be zipped, false means it will not
fixedIncidenceAngleFlag to specify usage of fixed incidence angle. True means fixed incidence angle will be used, false implies it will not
gpsStartTimeSpecify the fixed GPS start time
lasScaleSpecify LAS format scale factor
kdtTypeSpecify the type of KDTree building strategy
kdtJobsSpecify how many threads use to build the KDTree
kdtGeomJobsSpecify how many threads use to build upper nodes of the KDTree
sahLossNodesSpecify the number of nodes used to find the optimal split point when SAH or the number of samples if fast SAH is used

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