VTK  9.0.20200704
vtkLASReader.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 =========================================================================*/
31 #ifndef vtkLASReader_h
32 #define vtkLASReader_h
33 
34 #include <vtkIOLASModule.h> // For export macro
35 
36 #include <vtkPolyDataAlgorithm.h>
37 
38 namespace liblas
39 {
40 class Header;
41 class Reader;
42 };
43 
44 class VTKIOLAS_EXPORT vtkLASReader : public vtkPolyDataAlgorithm
45 {
46 public:
47  vtkLASReader(const vtkLASReader&) = delete;
48  void operator=(const vtkLASReader&) = delete;
49  static vtkLASReader* New();
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
56  vtkSetStringMacro(FileName);
57  vtkGetStringMacro(FileName);
58 
59 protected:
60  vtkLASReader();
61  ~vtkLASReader() override;
62 
66  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
67  vtkInformationVector* outputVector) override;
68 
72  void ReadPointRecordData(liblas::Reader& reader, vtkPolyData* pointsPolyData);
73 
74  char* FileName;
75 };
76 
77 #endif // vtkLASReader_h
vtkLASReader::FileName
char * FileName
Definition: vtkLASReader.h:74
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkLASReader
Definition: vtkLASReader.h:44
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
liblas
Definition: vtkLASReader.h:38
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41