OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimPdalFileReader.h
Go to the documentation of this file.
1 //**************************************************************************************************
2 //
3 // OSSIM (http://trac.osgeo.org/ossim/)
4 //
5 // License: LGPL -- See LICENSE.txt file in the top level directory for more details.
6 //
7 //**************************************************************************************************
8 // $Id: ossimPdalFileReader.h 23352 2015-05-29 17:38:12Z okramer $
9 
10 #ifndef ossimPdalFileReader_HEADER
11 #define ossimPdalFileReader_HEADER 1
12 
13 #include "ossimPdalReader.h"
15 #include <pdal/pdal.hpp>
16 
17 class ossimPointRecord;
18 class Stage;
19 
20 #define USE_FULL_POINT_CLOUD_BUFFERING
21 
23 {
24 public:
25 
28 
30  virtual ~ossimPdalFileReader();
31 
33  virtual bool open(const ossimFilename& fname);
34 
41  virtual void getFileBlock(ossim_uint32 offset,
42  ossimPointBlock& block,
43  ossim_uint32 maxNumPoints=0xFFFFFFFF) const;
44 
45  virtual ossim_uint32 getNumPoints() const;
46 
47 private:
48  virtual void establishMinMax();
49 
50 
52 };
53 
54 #endif /* #ifndef ossimPdalFileReader_HEADER */
virtual bool open(const ossimFilename &imageFile)=0
Method to open input point cloud dataset.
virtual void getFileBlock(ossim_uint32 offset, ossimPointBlock &block, ossim_uint32 maxNumPoints=0xFFFFFFFF) const =0
Fetches up to maxNumPoints points starting at the dataset&#39;s <offset> in the order they appear in the ...
virtual ossim_uint32 getNumPoints() const
Returns number of points in the data file.
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
#define OSSIM_PLUGINS_DLL
virtual void establishMinMax()
Computes min and max records using points in the current PointViewSet.