12 #ifndef __LIDAR_SIMPLE_POINT_WRITER_H__
13 #define __LIDAR_SIMPLE_POINT_WRITER_H__
17 LT_BEGIN_LIDAR_NAMESPACE
92 double fraction)
const;
98 LT_END_LIDAR_NAMESPACE
99 #endif // __LIDAR_SIMPLE_POINT_WRITER_H__
PointWriter is the base for writing LiDAR files.
const double * getScale(void) const
Get the quantization scale.
const double * getOffset(void) const
Get the quantization offset.
virtual double getTotalWork(const Bounds &bounds, double fraction) const
Get the amount of work needed to write the file.
Bounds is a 3-dimensional bounding box.
ProgressDelegate is the base class for progress and interrupt reporting.
virtual void writeBegin(const PointInfo &pointInfo)=0
Begin writing the file.
PointInfo is a group of ChannelInfo objects.
SimplePointWriter handles some of the bookkeeping of writing a file.
void setQuantization(const double scale[3], const double offset[3])
Set the quantization.
PointSource::count_type count_type
PointData is a group of ChannelData objects.
virtual void writeEnd(PointSource::count_type numPoints, const Bounds &bounds)=0
Finish writing the file.
count_type write(const Bounds &bounds, double fraction, const PointInfo &pointInfo, ProgressDelegate *delegate)
virtual void writePoints(const PointData &points, size_t numPoints, ProgressDelegate *delegate)=0
Write a set of points.