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__ static void parseFormat(const char *format, PointInfo &fieldInfo)
Build a ChannelInfo array form a format string.
void loadMetadata(Metadata &metadata, bool sanitize) const
Load the point clouds metadata.
static void parseQuantization(const char *format, PointInfo &fieldInfo)
Update the quantization values of a PointInfo.
ProgressDelegate is the base class for progress and interrupt reporting.
PointIterator * createIterator(const Bounds &bounds, double fraction, const PointInfo &pointInfo, ProgressDelegate *delegate) const
Get a PointIterator for a given bounds.
Metadata is a container for storing metadata about the point cloud.
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.
const char * getFileFormatString(void) const
Get the file type and version.
Bounds is a 3-dimensional bounding box.
TXTPointReader reads LiDAR-based Text files.
void setBoundsAndNumPoints(bool doFullInit)
double getTotalWork(const Bounds &bounds, double fraction) const
Get the amount of work needed to decode bounds.
IO is the base class for binary input and output.
PointReader is the base class for reading LiDAR file formats.
PointIterator is the base class for accessing the point cloud.
PointInfo is a group of ChannelInfo objects.