VTK  9.3.0
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 
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
read CityGML data file
vtkSetFilePathMacro(FileName)
Specify file name of the CityGML data file to read.
~vtkCityGMLReader() override
static vtkCityGMLReader * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGetFilePathMacro(FileName)
Specify file name of the CityGML data file to read.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
@ LOD
Definition: vtkX3D.h:52