VTK  9.7.1
vtkGLTFTexture.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 
4 #ifndef vtkGLTFTexture_h
5 #define vtkGLTFTexture_h
6 
7 #include "GLTFSampler.h" // For Sampler
8 #include "vtkIOGeometryModule.h" // For export macro
9 #include "vtkObject.h"
10 #include "vtkSetGet.h" // For vtkTypeMacro
11 #include "vtkSmartPointer.h" // For vtkSmartPointer
12 
13 VTK_ABI_NAMESPACE_BEGIN
14 class vtkImageData;
15 class vtkTexture;
16 
17 class VTKIOGEOMETRY_EXPORT vtkGLTFTexture : public vtkObject
18 {
19 public:
20  vtkTypeMacro(vtkGLTFTexture, vtkObject);
21  static vtkGLTFTexture* New();
22  void PrintSelf(ostream& os, vtkIndent indent) override;
25  vtkSmartPointer<vtkTexture> GetVTKTexture();
26 
27 protected:
28  vtkGLTFTexture() = default;
29  ~vtkGLTFTexture() override = default;
30 
31 private:
32  vtkGLTFTexture(const vtkGLTFTexture&) = delete;
33  void operator=(const vtkGLTFTexture&) = delete;
34 };
35 
36 VTK_ABI_NAMESPACE_END
37 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:52
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
GLTFSampler Sampler
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
handles properties associated with a texture map
Definition: vtkTexture.h:58
vtkSmartPointer< vtkImageData > Image
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
This struct describes a glTF sampler object.
Definition: GLTFSampler.h:15