MrSID Decode SDK for LiDAR Reference Manual 1.1.4.4709

- Main Page
- Classes
- Files

- File List
- File Members

TXTPointWriter.h
Go to the documentation of this file.
1 /* //////////////////////////////////////////////////////////////////////////
2 // //
3 // This code is Copyright (c) 2008-2010 LizardTech, Inc, 1008 Western //
4 // Avenue, Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
5 // prohibited. Access to and use of this code is permitted only under //
6 // license from LizardTech, Inc. Portions of the code are protected by //
7 // US and foreign patents and other filings. All Rights Reserved. //
8 // //
10 /* PUBLIC */
11
12 #ifndef __LIDAR_TXT_POINT_WRITER_H__
13 #define __LIDAR_TXT_POINT_WRITER_H__
14
15 #include "lidar/SimplePointWriter.h"
16 #include "lidar/Stream.h"
17
18 LT_BEGIN_LIDAR_NAMESPACE
19
26 class TXTPointWriter : public SimplePointWriter
27 {
28 CONCRETE_OBJECT(TXTPointWriter);
29 public:
42 void init(const PointSource *src, const char *path, const char *format);
55 void init(const PointSource *src, IO *io, const char *format);
56
69 void init(const PointSource *src, const char *path, const PointInfo &fieldInfo);
82 void init(const PointSource *src, IO *io, const PointInfo &fieldInfo);
83
84 void writeBegin(const PointInfo &pointInfo);
85 void writePoints(const PointData &points,
86 size_t numPoints,
87 ProgressDelegate *delegate);
88 void writeEnd(PointSource::count_type numPoints,
89 const Bounds &bounds);
90
91 bool supportedChannels(const PointInfo &inputPointInfo,
92 PointInfo &supportedPointInfo) const;
93
94 protected:
95 struct Handler;
96
97 StreamWriter m_stream;
98 size_t m_numHandlers;
99 Handler *m_handler;
100 };
101
102 LT_END_LIDAR_NAMESPACE
103 #endif // __LIDAR_TXT_POINT_WRITER_H__

LizardTech