VTK  9.3.1
vtkCityGMLReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkCityGMLReader_h
13 #define vtkCityGMLReader_h
14 
15 #include "vtkIOCityGMLModule.h" // For export macro
17 
47 VTK_ABI_NAMESPACE_BEGIN
48 class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
49 {
50 public:
51  static vtkCityGMLReader* New();
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56 
59  vtkSetFilePathMacro(FileName);
60  vtkGetFilePathMacro(FileName);
62 
64 
68  vtkSetClampMacro(LOD, int, 0, 4);
69  vtkGetMacro(LOD, int);
71 
73 
77  vtkSetMacro(UseTransparencyAsOpacity, int);
78  vtkGetMacro(UseTransparencyAsOpacity, int);
79  vtkBooleanMacro(UseTransparencyAsOpacity, int);
81 
83 
91  vtkSetMacro(NumberOfBuildings, int);
92  vtkGetMacro(NumberOfBuildings, int);
94 
96 
101  vtkSetMacro(BeginBuildingIndex, int);
102  vtkGetMacro(BeginBuildingIndex, int);
103  vtkSetMacro(EndBuildingIndex, int);
104  vtkGetMacro(EndBuildingIndex, int);
106 
107 protected:
109  ~vtkCityGMLReader() override;
110 
112 
113  char* FileName;
114  int LOD;
119 
120 private:
121  vtkCityGMLReader(const vtkCityGMLReader&) = delete;
122  void operator=(const vtkCityGMLReader&) = delete;
123 
124  class Implementation;
125  Implementation* Impl;
126 };
127 
128 VTK_ABI_NAMESPACE_END
129 #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:28
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.