VTK  9.3.1
vtkTriangularTexture.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
22 #ifndef vtkTriangularTexture_h
23 #define vtkTriangularTexture_h
24 
25 #include "vtkImageAlgorithm.h"
26 #include "vtkImagingHybridModule.h" // For export macro
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKIMAGINGHYBRID_EXPORT vtkTriangularTexture : public vtkImageAlgorithm
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
39  static vtkTriangularTexture* New();
40 
42 
45  vtkSetMacro(ScaleFactor, double);
46  vtkGetMacro(ScaleFactor, double);
48 
50 
53  vtkSetMacro(XSize, int);
54  vtkGetMacro(XSize, int);
56 
58 
61  vtkSetMacro(YSize, int);
62  vtkGetMacro(YSize, int);
64 
66 
72  vtkSetClampMacro(TexturePattern, int, 1, 3);
73  vtkGetMacro(TexturePattern, int);
75 
76 protected:
78  ~vtkTriangularTexture() override = default;
79 
82 
83  int XSize;
84  int YSize;
85  double ScaleFactor;
86 
88 
89 private:
91  void operator=(const vtkTriangularTexture&) = delete;
92 };
93 
94 VTK_ABI_NAMESPACE_END
95 #endif
Store vtkAlgorithm input/output information.
generate 2D triangular texture map
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data
Definition: vtkDataObject.h:54