VTK  9.7.1
vtkCesiumB3DMReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
10 #ifndef vtkCesiumB3DMReader_h
11 #define vtkCesiumB3DMReader_h
12 
13 #include "vtkIOCesium3DTilesModule.h" // For export macro
15 #include "vtkSmartPointer.h" // For vtkSmartPointer
16 
17 #include <string> // For std::string
18 #include <vector> // For std::vector
19 
20 VTK_ABI_NAMESPACE_BEGIN
21 class vtkImageData;
22 class vtkGLTFReader;
23 
34 class VTKIOCESIUM3DTILES_EXPORT vtkCesiumB3DMReader : public vtkMultiBlockDataSetAlgorithm
35 {
36 public:
37  static vtkCesiumB3DMReader* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  vtkSetFilePathMacro(FileName);
46  vtkGetFilePathMacro(FileName);
48 
50 
53  vtkGetObjectMacro(GLTFReader, vtkGLTFReader);
55 
56 protected:
58  ~vtkCesiumB3DMReader() override;
59 
60  char* FileName = nullptr;
62 
64 
65 private:
67  void operator=(const vtkCesiumB3DMReader&) = delete;
68 };
69 
70 VTK_ABI_NAMESPACE_END
71 #endif
Read a GLTF file.
Definition: vtkGLTFReader.h:73
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()
Read a CesiumB3DM file.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
vtkNew< vtkGLTFReader > GLTFReader