VTK  9.2.6
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=========================================================================*/
20
21#ifndef vtkCityGMLReader_h
22#define vtkCityGMLReader_h
23
24#include "vtkIOCityGMLModule.h" // For export macro
26
54class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
55{
56public:
59 void PrintSelf(ostream& os, vtkIndent indent) override;
60
62
68
70
74 vtkSetClampMacro(LOD, int, 0, 4);
75 vtkGetMacro(LOD, int);
77
79
83 vtkSetMacro(UseTransparencyAsOpacity, int);
84 vtkGetMacro(UseTransparencyAsOpacity, int);
85 vtkBooleanMacro(UseTransparencyAsOpacity, int);
87
89
97 vtkSetMacro(NumberOfBuildings, int);
98 vtkGetMacro(NumberOfBuildings, int);
100
102
107 vtkSetMacro(BeginBuildingIndex, int);
108 vtkGetMacro(BeginBuildingIndex, int);
109 vtkSetMacro(EndBuildingIndex, int);
110 vtkGetMacro(EndBuildingIndex, int);
112
113protected:
116
118
119 char* FileName;
120 int LOD;
125
126private:
127 vtkCityGMLReader(const vtkCityGMLReader&) = delete;
128 void operator=(const vtkCityGMLReader&) = delete;
129
130 class Implementation;
131 Implementation* Impl;
132};
133
134#endif
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:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.