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  ~vtkPDALReader() override;
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
pdal
Definition: vtkPDALReader.h:36
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkPDALReader
Reads LIDAR data using the PDAL library.
Definition: vtkPDALReader.h:41
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:64
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkPDALReader::FileName
char * FileName
Definition: vtkPDALReader.h:71
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41