12 #ifndef __LIDAR_TXT_POINT_READER_H__ 13 #define __LIDAR_TXT_POINT_READER_H__ 18 LT_BEGIN_LIDAR_NAMESPACE
42 void init(
const char *path,
const char *format,
43 size_t header,
bool doFullInit);
55 void init(
IO *io,
const char *format,
56 size_t header,
bool doFullInit);
71 size_t header,
bool doFullInit);
85 size_t header,
bool doFullInit);
193 LT_END_LIDAR_NAMESPACE
194 #endif // __LIDAR_TXT_POINT_READER_H__ double getTotalWork(const Bounds &bounds, double fraction) const
Get the amount of work needed to decode bounds.
TXTPointReader reads LiDAR-based Text files.
const char * getFileFormatString(void) const
Get the file type and version.
void loadMetadata(Metadata &metadata, bool sanitize) const
Load the point clouds metadata.
IO is the base class for binary input and output.
static void parseQuantization(const char *format, PointInfo &fieldInfo)
Update the quantization values of a PointInfo.
PointIterator is the base class for accessing the point cloud.
PointInfo is a group of ChannelInfo objects.
Metadata is a container for storing metadata about the point cloud.
PointIterator * createIterator(const Bounds &bounds, double fraction, const PointInfo &pointInfo, ProgressDelegate *delegate) const
Get a PointIterator for a given bounds.
Bounds is a 3-dimensional bounding box.
void init(const char *path, const char *format, size_t header, bool doFullInit)
Initialize with filename and format string.
void initBoundsAndNumPoints(void)
Setup the bounds and number of points.
ProgressDelegate is the base class for progress and interrupt reporting.
PointReader is the base class for reading LiDAR file formats.
void setBoundsAndNumPoints(bool doFullInit)
static void parseFormat(const char *format, PointInfo &fieldInfo)
Build a ChannelInfo array form a format string.