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=========================================================================*/
23
24#ifndef vtkCityGMLReader_h
25#define vtkCityGMLReader_h
26
27#include "vtkIOCityGMLModule.h" // For export macro
29
57class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
58{
59public:
62 void PrintSelf(ostream& os, vtkIndent indent) override;
63
65
71
73
77 vtkSetClampMacro(LOD, int, 0, 4);
78 vtkGetMacro(LOD, int);
80
82
86 vtkSetMacro(UseTransparencyAsOpacity, int);
87 vtkGetMacro(UseTransparencyAsOpacity, int);
88 vtkBooleanMacro(UseTransparencyAsOpacity, int);
90
92
100 vtkSetMacro(NumberOfBuildings, int);
101 vtkGetMacro(NumberOfBuildings, int);
103
105
110 vtkSetMacro(BeginBuildingIndex, int);
111 vtkGetMacro(BeginBuildingIndex, int);
112 vtkSetMacro(EndBuildingIndex, int);
113 vtkGetMacro(EndBuildingIndex, int);
115
116protected:
119
121
122 char* FileName;
123 int LOD;
128
129private:
130 vtkCityGMLReader(const vtkCityGMLReader&) = delete;
131 void operator=(const vtkCityGMLReader&) = delete;
132
133 class Implementation;
134 Implementation* Impl;
135};
136
137#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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.