3 #include <util/HeliosException.h>
4 #include <filems/write/core/BaseMeasurementWriter.h>
5 #include <filems/factory/SyncFileMeasurementWriterFactory.h>
6 #include <scanner/Measurement.h>
12 namespace helios {
namespace filems {
16 using std::shared_ptr;
67 WriterType
const &type,
72 double const minIntensity,
73 double const deltaIntensity
Class representing a measurement.
Definition: Measurement.h:13
Class to handle writing of measurements to generate HELIOS++ output virtual point clouds....
Definition: BaseMeasurementWriter.h:31
glm::dvec3 shift
The pointer to the shift vector to be applied to measurements.
Definition: BaseMeasurementWriter.h:54
shared_ptr< SyncFileWriter< WriteArgs ... > > sfw
Synchronous file writer.
Definition: HeliosWriter.h:33
double lasScale
Scale factor specification to be used when LAS output format specified.
Definition: HeliosWriter.h:56
bool zipOutput
Flag specifying if detector output must be zipped (true) or not (false)
Definition: HeliosWriter.h:50
Class to handle writing of measurements to generate HELIOS++ output virtual point clouds.
Definition: MeasurementWriter.h:28
MeasurementWriter()
Definition: MeasurementWriter.h:41
void writeMeasurement(Measurement const &m)
Write a measurement.
Definition: MeasurementWriter.cpp:8
void writeMeasurementUnsafe(Measurement const &m) const
Like filems::MeasurementWriter::writeMeasurement but faster because there is no validation.
Definition: MeasurementWriter.h:58
shared_ptr< SyncFileWriter< Measurement const &, glm::dvec3 const & > > makeWriter(WriterType const &type, string const &path, bool const zipOutput, double const lasScale, glm::dvec3 shift, double const minIntensity, double const deltaIntensity) const override
Make a single measurement SyncFileWriter.
Definition: MeasurementWriter.h:66
static shared_ptr< SyncFileWriter< Measurement const &, glm::dvec3 const & > > makeWriter(WriterType const type, const string &path, bool const compress=false, double const scaleFactor=0.0001, glm::dvec3 const offset=glm::dvec3(0, 0, 0), double const minIntensity=0.0, double const deltaIntensity=1000000.0)
Synchronous file writer factory.
Definition: SyncFileMeasurementWriterFactory.h:86
Abstract class defining common behavior for all synchronous file writers.
Definition: SyncFileWriter.h:18