VTK
vtkPDALReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGDALRasterReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkPDALReader_h
30 #define vtkPDALReader_h
31 
32 #include <vtkIOPDALModule.h> // For export macro
33 
34 #include <vtkPolyDataAlgorithm.h>
35 
36 namespace pdal
37 {
38  class Stage;
39 };
40 
41 class VTKIOPDAL_EXPORT vtkPDALReader: public vtkPolyDataAlgorithm
42 {
43 public:
44  vtkPDALReader(const vtkPDALReader&) = delete;
45  void operator=(const vtkPDALReader&) = delete;
46  static vtkPDALReader* New();
48  virtual void PrintSelf(ostream &os, vtkIndent indent) override;
49 
53  vtkSetStringMacro(FileName);
54  vtkGetStringMacro(FileName);
55 
56 protected:
57  vtkPDALReader();
58  virtual ~vtkPDALReader();
59 
63  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
64  vtkInformationVector* outputVector) override;
65 
69  void ReadPointRecordData(pdal::Stage &reader, vtkPolyData* pointsPolyData);
70 
71  char* FileName;
72 };
73 
74 #endif // vtkPDALReader_h
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
Reads LIDAR data using the PDAL library.
Definition: vtkPDALReader.h:41
Store zero or more vtkInformation instances.