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 =========================================================================*/
24 #ifndef vtkCityGMLReader_h
25 #define vtkCityGMLReader_h
26 
27 #include "vtkIOCityGMLModule.h" // For export macro
29 
57 class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
58 {
59 public:
60  static vtkCityGMLReader* New();
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
65 
68  vtkSetFilePathMacro(FileName);
69  vtkGetFilePathMacro(FileName);
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 
116 protected:
118  ~vtkCityGMLReader() override;
119 
121 
122  char* FileName;
123  int LOD;
128 
129 private:
130  vtkCityGMLReader(const vtkCityGMLReader&) = delete;
131  void operator=(const vtkCityGMLReader&) = delete;
132 
133  class Implementation;
134  Implementation* Impl;
135 };
136 
137 #endif
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
read CityGML data file
Store zero or more vtkInformation instances.