VTK  9.4.20241123
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
23
24namespace pdal
25{
26class Stage;
27};
28
29VTK_ABI_NAMESPACE_BEGIN
30
31class VTKIOPDAL_EXPORT vtkPDALReader : public vtkPolyDataAlgorithm
32{
33public:
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
46protected:
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
64VTK_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.
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