VTK: Filters/Texture/vtkImplicitTextureCoords.h Source File

| VTK 9.3.1

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
49 #ifndef vtkImplicitTextureCoords_h
50 #define vtkImplicitTextureCoords_h
51
52 #include "vtkDataSetAlgorithm.h"
53 #include "vtkFiltersTextureModule.h" // For export macro
54
55 VTK_ABI_NAMESPACE_BEGIN
56 class vtkImplicitFunction;
57
58 class VTKFILTERSTEXTURE_EXPORT vtkImplicitTextureCoords : public vtkDataSetAlgorithm
59 {
60 public:
61 vtkTypeMacro(vtkImplicitTextureCoords, vtkDataSetAlgorithm);
62 void PrintSelf(ostream& os, vtkIndent indent) override;
63
68 static vtkImplicitTextureCoords* New();
69
71
74 virtual void SetRFunction(vtkImplicitFunction*);
75 vtkGetObjectMacro(RFunction, vtkImplicitFunction);
77
79
82 virtual void SetSFunction(vtkImplicitFunction*);
83 vtkGetObjectMacro(SFunction, vtkImplicitFunction);
85
87
90 virtual void SetTFunction(vtkImplicitFunction*);
91 vtkGetObjectMacro(TFunction, vtkImplicitFunction);
93
95
99 vtkSetMacro(FlipTexture, vtkTypeBool);
100 vtkGetMacro(FlipTexture, vtkTypeBool);
101 vtkBooleanMacro(FlipTexture, vtkTypeBool);
103
104 protected:
105 vtkImplicitTextureCoords();
106 ~vtkImplicitTextureCoords() override;
107
108 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
109
110 vtkImplicitFunction* RFunction;
111 vtkImplicitFunction* SFunction;
112 vtkImplicitFunction* TFunction;
113 vtkTypeBool FlipTexture;
114
115 private:
116 vtkImplicitTextureCoords(const vtkImplicitTextureCoords&) = delete;
117 void operator=(const vtkImplicitTextureCoords&) = delete;
118 };
119
120 VTK_ABI_NAMESPACE_END
121 #endif
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:38
vtkImplicitFunction
abstract interface for implicit functions
Definition: vtkImplicitFunction.h:59
vtkImplicitTextureCoords
generate 1D, 2D, or 3D texture coordinates based on implicit function(s)
Definition: vtkImplicitTextureCoords.h:59
vtkImplicitTextureCoords::TFunction
vtkImplicitFunction * TFunction
Definition: vtkImplicitTextureCoords.h:112
vtkImplicitTextureCoords::FlipTexture
vtkTypeBool FlipTexture
Definition: vtkImplicitTextureCoords.h:113
vtkImplicitTextureCoords::New
static vtkImplicitTextureCoords * New()
Create object with texture dimension=2 and no r-s-t implicit functions defined and FlipTexture turned...
vtkImplicitTextureCoords::~vtkImplicitTextureCoords
~vtkImplicitTextureCoords() override
vtkImplicitTextureCoords::SFunction
vtkImplicitFunction * SFunction
Definition: vtkImplicitTextureCoords.h:111
vtkImplicitTextureCoords::RFunction
vtkImplicitFunction * RFunction
Definition: vtkImplicitTextureCoords.h:110
vtkImplicitTextureCoords::vtkImplicitTextureCoords
vtkImplicitTextureCoords()
vtkImplicitTextureCoords::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImplicitTextureCoords::SetRFunction
virtual void SetRFunction(vtkImplicitFunction *)
Specify an implicit function to compute the r texture coordinate.
vtkImplicitTextureCoords::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkImplicitTextureCoords::SetTFunction
virtual void SetTFunction(vtkImplicitFunction *)
Specify an implicit function to compute the t texture coordinate.
vtkImplicitTextureCoords::SetSFunction
virtual void SetSFunction(vtkImplicitFunction *)
Specify an implicit function to compute the s texture coordinate.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:64
vtkDataSetAlgorithm.h