VTK  9.0.3
vtkCityGMLReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCityGMLReader.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 =========================================================================*/
21 #ifndef vtkCityGMLReader_h
22 #define vtkCityGMLReader_h
23 
24 #include "vtkIOCityGMLModule.h" // For export macro
26 
56 class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
57 {
58 public:
59  static vtkCityGMLReader* New();
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
67  vtkSetStringMacro(FileName);
68  vtkGetStringMacro(FileName);
70 
72 
76  vtkSetClampMacro(LOD, int, 0, 4);
77  vtkGetMacro(LOD, int);
79 
81 
85  vtkSetMacro(UseTransparencyAsOpacity, int);
86  vtkGetMacro(UseTransparencyAsOpacity, int);
87  vtkBooleanMacro(UseTransparencyAsOpacity, int);
89 
91 
95  vtkSetMacro(NumberOfBuildings, int);
96  vtkGetMacro(NumberOfBuildings, int);
98 
99 protected:
101  ~vtkCityGMLReader() override;
102 
104 
105  char* FileName;
106  int LOD;
109 
110 private:
111  vtkCityGMLReader(const vtkCityGMLReader&) = delete;
112  void operator=(const vtkCityGMLReader&) = delete;
113 
114  class Implementation;
115  Implementation* Impl;
116 };
117 
118 #endif
read CityGML data file
~vtkCityGMLReader() override
static vtkCityGMLReader * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
@ LOD
Definition: vtkX3D.h:58