VTK  9.1.0
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
35
36namespace pdal
37{
38class Stage;
39};
40
41class VTKIOPDAL_EXPORT vtkPDALReader : public vtkPolyDataAlgorithm
42{
43public:
44 vtkPDALReader(const vtkPDALReader&) = delete;
45 void operator=(const vtkPDALReader&) = delete;
46 static vtkPDALReader* New();
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
55
56protected:
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
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Reads LIDAR data using the PDAL library.
Definition: vtkPDALReader.h:42
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:195