8#ifndef __LIDAR_POINT_WRITER_H__
9#define __LIDAR_POINT_WRITER_H__
13LT_BEGIN_LIDAR_NAMESPACE
68 virtual const double *
getScale(
void)
const = 0;
111 PointInfo &supportedPointInfo)
const = 0;
144LT_END_LIDAR_NAMESPACE
#define ABSTRACT_OBJECT(classname)
Macros for defining boilerplate parts of derived Object classes.
Metadata is a container for storing metadata about the point cloud.
Object is the base class for implementing reference counting.
PointInfo is a group of ChannelInfo objects.
PointSource is the base class of LiDAR point cloud extraction pipeline.
PointWriter is the base for writing LiDAR files.
virtual const double * getScale(void) const =0
Get the quantization scale.
void setMetadata(const Metadata &metadata)
Set the metadata.
const PointSource * getSrc(void) const
Get the input PointSource.
void groomMetadata(const Bounds &bounds, double fraction)
Remove metadata that is inappropriate for the given bounds and fraction.
PointSource::count_type count_type
size_t getChunckSize(void) const
virtual bool supportedChannels(const PointInfo &inputPointInfo, PointInfo &supportedPointInfo) const =0
Remove the unsupported channels.
virtual void setQuantization(const double scale[3], const double offset[3])=0
Set the quantization.
Metadata & getMetadata(void)
Get the Metadata.
virtual count_type write(const Bounds &bounds, double fraction, const PointInfo &pointInfo, ProgressDelegate *delegate)=0
Write out the point cloud.
virtual const double * getOffset(void) const =0
Get the quantization offset.
void setChunckSize(size_t size)
void init(const PointSource *src)
Initalize the object.
ProgressDelegate is the base class for progress and interrupt reporting.
Bounds is a 3-dimensional bounding box.