VTK  9.2.6
vtkCesium3DTilesWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkCesium3DTilesWriter.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=========================================================================*/
25
26#ifndef vtkCesium3DTilesWriter_h
27#define vtkCesium3DTilesWriter_h
28
29#include "vtkIOCesium3DTilesModule.h" // For export macro
30#include "vtkWriter.h"
31
32class VTKIOCESIUM3DTILES_EXPORT vtkCesium3DTilesWriter : public vtkWriter
33{
34public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
38
45
47
53
55
62
64
68 vtkSetVector3Macro(Offset, double);
69 vtkGetVector3Macro(Offset, double);
71
73
77 vtkSetMacro(SaveTextures, bool);
78 vtkGetMacro(SaveTextures, bool);
79 vtkBooleanMacro(SaveTextures, bool);
80 //@
81
83
88 vtkSetMacro(SaveTiles, bool);
89 vtkGetMacro(SaveTiles, bool);
90 vtkBooleanMacro(SaveTiles, bool);
91 //@
92
94
102 vtkSetMacro(MergeTilePolyData, bool);
103 vtkGetMacro(MergeTilePolyData, bool);
104 vtkBooleanMacro(MergeTilePolyData, bool);
105 //@
106
108
116 vtkSetMacro(ContentGLTF, bool);
117 vtkGetMacro(ContentGLTF, bool);
118 vtkBooleanMacro(ContentGLTF, bool);
119 //@
120
122
125 vtkSetMacro(InputType, int);
126 vtkGetMacro(InputType, int);
127 //@
128
130
134 vtkSetMacro(NumberOfFeaturesPerTile, int);
135 vtkGetMacro(NumberOfFeaturesPerTile, int);
136 //@
137
139
144 vtkSetStringMacro(CRS);
145 vtkGetStringMacro(CRS);
147
148protected:
151
152 // Only accepts vtkMultiBlockData
153 int FillInputPortInformation(int port, vtkInformation* info) override;
154
155 // Implementation of Write()
156 void WriteData() override;
157
160 double Offset[3];
167 char* CRS;
168
169private:
171 void operator=(const vtkCesium3DTilesWriter&) = delete;
172};
173
174#endif // vtkCesium3DTilesWriter_h
vtkSetFilePathMacro(DirectoryName)
Accessor for name of the directory where Cesium3DTiles data is written.
vtkGetFilePathMacro(TextureBaseDirectory)
Path used to prefix all texture paths stored as fields in the input data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCesium3DTilesWriter * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkGetFilePathMacro(DirectoryName)
Accessor for name of the directory where Cesium3DTiles data is written.
void WriteData() override
vtkSetFilePathMacro(TextureBaseDirectory)
Path used to prefix all texture paths stored as fields in the input data.
~vtkCesium3DTilesWriter() override
a simple class to control print indentation
Definition vtkIndent.h:34
Store vtkAlgorithm input/output information.