VTK  9.4.20241222
vtkLASReader.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#ifndef vtkLASReader_h
20#define vtkLASReader_h
21
22#include <vtkIOLASModule.h> // For export macro
23
25
26namespace liblas
27{
28class Header;
29class Reader;
30};
31
32VTK_ABI_NAMESPACE_BEGIN
33
34class VTKIOLAS_EXPORT vtkLASReader : public vtkPolyDataAlgorithm
35{
36public:
37 vtkLASReader(const vtkLASReader&) = delete;
38 void operator=(const vtkLASReader&) = delete;
39 static vtkLASReader* New();
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
48
49protected:
51 ~vtkLASReader() override;
52
56 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
57 vtkInformationVector* outputVector) override;
58
62 void ReadPointRecordData(liblas::Reader& reader, vtkPolyData* pointsPolyData);
63
64 char* FileName;
65};
66
67VTK_ABI_NAMESPACE_END
68#endif // vtkLASReader_h
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
void operator=(const vtkLASReader &)=delete
vtkSetFilePathMacro(FileName)
Accessor for name of the file that will be opened.
vtkGetFilePathMacro(FileName)
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Core implementation of the data set reader.
static vtkLASReader * New()
char * FileName
void ReadPointRecordData(liblas::Reader &reader, vtkPolyData *pointsPolyData)
Read point record data i.e.
vtkLASReader(const vtkLASReader &)=delete
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkLASReader() override
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips