VTK  9.3.1
vtkPDALReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkPDALReader_h
18 #define vtkPDALReader_h
19 
20 #include <vtkIOPDALModule.h> // For export macro
21 
22 #include <vtkPolyDataAlgorithm.h>
23 
24 namespace pdal
25 {
26 class Stage;
27 };
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 
31 class VTKIOPDAL_EXPORT vtkPDALReader : public vtkPolyDataAlgorithm
32 {
33 public:
34  vtkPDALReader(const vtkPDALReader&) = delete;
35  void operator=(const vtkPDALReader&) = delete;
36  static vtkPDALReader* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  vtkSetFilePathMacro(FileName);
44  vtkGetFilePathMacro(FileName);
45 
46 protected:
47  vtkPDALReader();
48  ~vtkPDALReader() override;
49 
53  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
54  vtkInformationVector* outputVector) override;
55 
59  void ReadPointRecordData(pdal::Stage& reader, vtkPolyData* pointsPolyData);
60 
61  char* FileName;
62 };
63 
64 VTK_ABI_NAMESPACE_END
65 #endif // vtkPDALReader_h
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
Reads LIDAR data using the PDAL library.
Definition: vtkPDALReader.h:31
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.