VTK  9.3.0
vtkImplicitTextureCoords.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
40#ifndef vtkImplicitTextureCoords_h
41#define vtkImplicitTextureCoords_h
42
43#include "vtkDataSetAlgorithm.h"
44#include "vtkFiltersTextureModule.h" // For export macro
45
46VTK_ABI_NAMESPACE_BEGIN
48
49class VTKFILTERSTEXTURE_EXPORT vtkImplicitTextureCoords : public vtkDataSetAlgorithm
50{
51public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
60
62
66 vtkGetObjectMacro(RFunction, vtkImplicitFunction);
68
70
74 vtkGetObjectMacro(SFunction, vtkImplicitFunction);
76
78
82 vtkGetObjectMacro(TFunction, vtkImplicitFunction);
84
86
90 vtkSetMacro(FlipTexture, vtkTypeBool);
91 vtkGetMacro(FlipTexture, vtkTypeBool);
92 vtkBooleanMacro(FlipTexture, vtkTypeBool);
94
95protected:
98
100
105
106private:
108 void operator=(const vtkImplicitTextureCoords&) = delete;
109};
110
111VTK_ABI_NAMESPACE_END
112#endif
Superclass for algorithms that produce output of the same type as input.
abstract interface for implicit functions
generate 1D, 2D, or 3D texture coordinates based on implicit function(s)
~vtkImplicitTextureCoords() override
static vtkImplicitTextureCoords * New()
Create object with texture dimension=2 and no r-s-t implicit functions defined and FlipTexture turned...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetRFunction(vtkImplicitFunction *)
Specify an implicit function to compute the r texture coordinate.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual void SetTFunction(vtkImplicitFunction *)
Specify an implicit function to compute the t texture coordinate.
virtual void SetSFunction(vtkImplicitFunction *)
Specify an implicit function to compute the s texture coordinate.
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition vtkABI.h:64