VTK  9.1.0
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
37
38namespace liblas
39{
40class Header;
41class Reader;
42};
43
44class VTKIOLAS_EXPORT vtkLASReader : public vtkPolyDataAlgorithm
45{
46public:
47 vtkLASReader(const vtkLASReader&) = delete;
48 void operator=(const vtkLASReader&) = delete;
49 static vtkLASReader* New();
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
58
59protected:
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
a simple class to control print indentation
Definition: vtkIndent.h:113
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
Definition: vtkLASReader.h:74
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:195