Helios++
Helios software for LiDAR simulations
|
Alberto M. Esmoris Pena. More...
#include <HeliosWriter.h>
Public Member Functions | |
HeliosWriter ()=default | |
Default constructor for HELIOS++ writer. | |
virtual void | finish () |
Finish the sync file writer. More... | |
virtual bool | hasWriter () const |
Check whether the HeliosWriter has a non null writer (true) or not (false) More... | |
virtual fs::path | getOutputFilePath () const |
Get the path to the output file. More... | |
virtual string | getOutputPath () const |
bool | isLasOutput () const |
Get the LAS output flag. More... | |
void | setLasOutput (bool const lasOutput) |
Set the LAS output flag. More... | |
bool | isLas10 () const |
Get the LAS 10 specification flag. More... | |
void | setLas10 (bool const las10) |
Set the LAS output flag. More... | |
bool | isZipOutput () const |
Get the zip output flag. More... | |
void | setZipOutput (bool const zipOutput) |
Set the zip output flag. More... | |
double | getLasScale () const |
Obtain the LAS scale of the measurement writer. More... | |
void | setLasScale (double const lasScale) |
Set the LAS scale of the measurement writer. More... | |
Protected Attributes | |
shared_ptr< SyncFileWriter< WriteArgs ... > > | sfw = nullptr |
Synchronous file writer. More... | |
bool | lasOutput = false |
Flag specifying if detector output must be written in LAS format (true) or not (false) More... | |
bool | las10 = false |
Flag specifying if detect output must be writing in LAS 1.0 (LAS 1.4 is written by default) | |
bool | zipOutput = false |
Flag specifying if detector output must be zipped (true) or not (false) | |
double | lasScale = 0.0001 |
Scale factor specification to be used when LAS output format specified. More... | |
Alberto M. Esmoris Pena.
Base class providing the core for writers of different HELIOS++ outputs (measurements, trajectory, full waveform)
|
virtual |
Finish the sync file writer.
Reimplemented in helios::filems::BaseMeasurementWriter< WriteArgs >, helios::filems::BaseMeasurementWriter< Measurement const &, glm::dvec3 const & >, helios::filems::BaseMeasurementWriter< vector< Measurement > const &, glm::dvec3 const & >, helios::filems::BaseFullWaveformWriter< WriteArgs >, helios::filems::BaseFullWaveformWriter< FullWaveform const & >, and helios::filems::BaseFullWaveformWriter< vector< FullWaveform > const & >.
|
inline |
Obtain the LAS scale of the measurement writer.
|
inlinevirtual |
Get the path to the output file.
Reimplemented in helios::filems::TrajectoryWriter, helios::filems::BaseFullWaveformWriter< WriteArgs >, helios::filems::BaseFullWaveformWriter< FullWaveform const & >, and helios::filems::BaseFullWaveformWriter< vector< FullWaveform > const & >.
|
inlinevirtual |
|
inlinevirtual |
Check whether the HeliosWriter has a non null writer (true) or not (false)
|
inline |
Get the LAS 10 specification flag.
|
inline |
Get the LAS output flag.
|
inline |
Get the zip output flag.
|
inline |
Set the LAS output flag.
|
inline |
Set the LAS output flag.
|
inline |
Set the LAS scale of the measurement writer.
|
inline |
Set the zip output flag.
|
protected |
Flag specifying if detector output must be written in LAS format (true) or not (false)
|
protected |
Scale factor specification to be used when LAS output format specified.
|
protected |
Synchronous file writer.