VTK  9.3.20240419
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 
24 #include <vtkPolyDataAlgorithm.h>
25 
26 namespace liblas
27 {
28 class Header;
29 class Reader;
30 };
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 
34 class VTKIOLAS_EXPORT vtkLASReader : public vtkPolyDataAlgorithm
35 {
36 public:
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 
49 protected:
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 
67 VTK_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)
static vtkLASReader * New()
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Core implementation of the data set reader.
char * FileName
Definition: vtkLASReader.h:64
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
Definition: vtkPolyData.h:181