VTK
vtkTriangularTexture.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTriangularTexture.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
34 #ifndef vtkTriangularTexture_h
35 #define vtkTriangularTexture_h
36 
37 #include "vtkImagingHybridModule.h" // For export macro
38 #include "vtkImageAlgorithm.h"
39 
40 class VTKIMAGINGHYBRID_EXPORT vtkTriangularTexture : public vtkImageAlgorithm
41 {
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
50  static vtkTriangularTexture *New();
51 
53 
56  vtkSetMacro(ScaleFactor,double);
57  vtkGetMacro(ScaleFactor,double);
59 
61 
64  vtkSetMacro(XSize,int);
65  vtkGetMacro(XSize,int);
67 
69 
72  vtkSetMacro(YSize,int);
73  vtkGetMacro(YSize,int);
75 
77 
83  vtkSetClampMacro(TexturePattern,int,1,3);
84  vtkGetMacro(TexturePattern,int);
86 
87 protected:
89  ~vtkTriangularTexture() override {}
90 
93 
94  int XSize;
95  int YSize;
96  double ScaleFactor;
97 
99 private:
101  void operator=(const vtkTriangularTexture&) = delete;
102 };
103 
104 #endif
105 
106 
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:39
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:64