VTK  9.5.2
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
19
20#ifndef vtkPDALReader_h
21#define vtkPDALReader_h
22
23#include <vtkIOPDALModule.h> // For export macro
24
26
27namespace pdal
28{
29class Stage;
30};
31
32VTK_ABI_NAMESPACE_BEGIN
33
34class VTKIOPDAL_EXPORT vtkPDALReader : public vtkPolyDataAlgorithm
35{
36public:
37 vtkPDALReader(const vtkPDALReader&) = delete;
38 void operator=(const vtkPDALReader&) = delete;
39 static vtkPDALReader* New();
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
48
49protected:
51 ~vtkPDALReader() override;
52
56 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
57 vtkInformationVector* outputVector) override;
58
62 void ReadPointRecordData(pdal::Stage& reader, vtkPolyData* pointsPolyData);
63
64 char* FileName;
65};
66
67VTK_ABI_NAMESPACE_END
68#endif // vtkPDALReader_h
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition vtkPolyData.h:72