VTK  9.3.20240423
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
47VTK_ABI_NAMESPACE_BEGIN
48class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
49{
50public:
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
107protected:
110
112
113 char* FileName;
114 int LOD;
119
120private:
121 vtkCityGMLReader(const vtkCityGMLReader&) = delete;
122 void operator=(const vtkCityGMLReader&) = delete;
123
124 class Implementation;
125 Implementation* Impl;
126};
127
128VTK_ABI_NAMESPACE_END
129#endif
read CityGML data file
vtkSetFilePathMacro(FileName)
Specify file name of the CityGML data file to read.
static vtkCityGMLReader * New()
~vtkCityGMLReader() override
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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.