VTK  9.1.0
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
56class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
57{
58public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
64
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
99 vtkSetMacro(NumberOfBuildings, int);
100 vtkGetMacro(NumberOfBuildings, int);
102
104
109 vtkSetMacro(BeginBuildingIndex, int);
110 vtkGetMacro(BeginBuildingIndex, int);
111 vtkSetMacro(EndBuildingIndex, int);
112 vtkGetMacro(EndBuildingIndex, int);
114
115protected:
118
120
121 char* FileName;
122 int LOD;
127
128private:
129 vtkCityGMLReader(const vtkCityGMLReader&) = delete;
130 void operator=(const vtkCityGMLReader&) = delete;
131
132 class Implementation;
133 Implementation* Impl;
134};
135
136#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:113
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