VTK
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 
56 class VTKIOCITYGML_EXPORT vtkCityGMLReader : public vtkMultiBlockDataSetAlgorithm
57 {
58 public:
59  static vtkCityGMLReader *New();
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
67  vtkSetStringMacro(FileName);
68  vtkGetStringMacro(FileName);
70 
72 
76  vtkSetClampMacro(LOD, int, 0, 4);
77  vtkGetMacro(LOD, int);
79 
80 
82 
86  vtkSetMacro(UseTransparencyAsOpacity, int);
87  vtkGetMacro(UseTransparencyAsOpacity, int);
88  vtkBooleanMacro(UseTransparencyAsOpacity, int);
90 
91 protected:
93  ~vtkCityGMLReader() override;
94 
96  vtkInformationVector *) override;
97 
98 
99  char *FileName;
100  int LOD;
102 
103 private:
104  vtkCityGMLReader(const vtkCityGMLReader&) = delete;
105  void operator=(const vtkCityGMLReader&) = delete;
106 
107  class Implementation;
108  Implementation* Impl;
109 };
110 
111 #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.