VTK  9.7.20261203
vtkAnariTexture.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
15
16#ifndef vtkAnariTexture_h
17#define vtkAnariTexture_h
18
19#include "vtkRenderingAnariCoreModule.h" // For export macro
20#include "vtkTexture.h"
21
22VTK_ABI_NAMESPACE_BEGIN
24
25class VTKRENDERINGANARICORE_EXPORT vtkAnariTexture : public vtkTexture
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
37
42 void Load(vtkRenderer* renderer) override;
43
47 void PostRender(vtkRenderer* renderer) override;
48
49protected:
50 vtkAnariTexture() = default;
51 ~vtkAnariTexture() override = default;
52
53private:
54 vtkAnariTexture(const vtkAnariTexture&) = delete;
55 void operator=(const vtkAnariTexture&) = delete;
56};
57
58#define vtkAnariTexture_OVERRIDE_ATTRIBUTES vtkAnariTexture::CreateOverrideAttributes()
59VTK_ABI_NAMESPACE_END
60#endif
void PostRender(vtkRenderer *renderer) override
Unbind this texture if it is still the bound one.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOverrideAttribute * CreateOverrideAttributes()
Object factory attributes: the same as vtkAnariRenderWindow's, so this override is selected exactly w...
~vtkAnariTexture() override=default
void Load(vtkRenderer *renderer) override
Bind this texture in the renderer's vtkAnariRenderWindow for vtkAnariPolyDataMapper2D to sample.
static vtkAnariTexture * New()
vtkAnariTexture()=default
a simple class to control print indentation
Definition vtkIndent.h:108
Attribute for vtkObjectFactory overrides.
abstract specification for renderers