VTK
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  virtual void PrintSelf(ostream &os, vtkIndent indent) override;
52 
56  vtkSetStringMacro(FileName);
57  vtkGetStringMacro(FileName);
58 
59 protected:
60  vtkLASReader();
61  virtual ~vtkLASReader();
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
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
char * FileName
Definition: vtkLASReader.h:74
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
Store zero or more vtkInformation instances.