MrSID Decode SDK for LiDAR Reference Manual  1.1.2.4045
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 
16 #include "lidar/Stream.h"
17 
18 LT_BEGIN_LIDAR_NAMESPACE
19 
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 protected:
92  struct Handler;
93 
95  size_t m_numHandlers;
96  Handler *m_handler;
97 };
98 
99 LT_END_LIDAR_NAMESPACE
100 #endif // __LIDAR_TXT_POINT_WRITER_H__

LizardTech