VTK  9.0.1
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 
53 class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
54 {
55 public:
56  static vtkCityGMLReader* New();
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
61 
64  vtkSetStringMacro(FileName);
65  vtkGetStringMacro(FileName);
67 
69 
73  vtkSetClampMacro(LOD, int, 0, 4);
74  vtkGetMacro(LOD, int);
76 
78 
82  vtkSetMacro(UseTransparencyAsOpacity, int);
83  vtkGetMacro(UseTransparencyAsOpacity, int);
84  vtkBooleanMacro(UseTransparencyAsOpacity, int);
86 
88 
92  vtkSetMacro(NumberOfBuildings, int);
93  vtkGetMacro(NumberOfBuildings, int);
95 
96 protected:
98  ~vtkCityGMLReader() override;
99 
101 
102  char* FileName;
103  int LOD;
106 
107 private:
108  vtkCityGMLReader(const vtkCityGMLReader&) = delete;
109  void operator=(const vtkCityGMLReader&) = delete;
110 
111  class Implementation;
112  Implementation* Impl;
113 };
114 
115 #endif
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
read CityGML data file
Store zero or more vtkInformation instances.