VTK  9.3.20240329
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 
45 
46 protected:
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
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Reads LIDAR data using the PDAL library.
Definition: vtkPDALReader.h:32
static vtkPDALReader * New()
vtkGetFilePathMacro(FileName)
void operator=(const vtkPDALReader &)=delete
void ReadPointRecordData(pdal::Stage &reader, vtkPolyData *pointsPolyData)
Read point record data i.e.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Core implementation of the data set reader.
~vtkPDALReader() override
vtkPDALReader(const vtkPDALReader &)=delete
vtkSetFilePathMacro(FileName)
Name of the file that will be opened.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:181