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 =========================================================================*/
31 #ifndef vtkTriangularTexture_h
32 #define vtkTriangularTexture_h
33 
34 #include "vtkImageAlgorithm.h"
35 #include "vtkImagingHybridModule.h" // For export macro
36 
37 class VTKIMAGINGHYBRID_EXPORT vtkTriangularTexture : public vtkImageAlgorithm
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
47  static vtkTriangularTexture* New();
48 
50 
53  vtkSetMacro(ScaleFactor, double);
54  vtkGetMacro(ScaleFactor, double);
56 
58 
61  vtkSetMacro(XSize, int);
62  vtkGetMacro(XSize, int);
64 
66 
69  vtkSetMacro(YSize, int);
70  vtkGetMacro(YSize, int);
72 
74 
80  vtkSetClampMacro(TexturePattern, int, 1, 3);
81  vtkGetMacro(TexturePattern, int);
83 
84 protected:
86  ~vtkTriangularTexture() override {}
87 
90 
91  int XSize;
92  int YSize;
93  double ScaleFactor;
94 
96 
97 private:
99  void operator=(const vtkTriangularTexture&) = delete;
100 };
101 
102 #endif
vtkTriangularTexture::TexturePattern
int TexturePattern
Definition: vtkTriangularTexture.h:95
vtkX3D::data
Definition: vtkX3D.h:321
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkImageAlgorithm::ExecuteDataWithInformation
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:37
vtkImageAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:64
vtkTriangularTexture::~vtkTriangularTexture
~vtkTriangularTexture() override
Definition: vtkTriangularTexture.h:86
vtkImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkTriangularTexture::YSize
int YSize
Definition: vtkTriangularTexture.h:92
vtkTriangularTexture
generate 2D triangular texture map
Definition: vtkTriangularTexture.h:37
vtkTriangularTexture::ScaleFactor
double ScaleFactor
Definition: vtkTriangularTexture.h:93
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:58
vtkTriangularTexture::XSize
int XSize
Definition: vtkTriangularTexture.h:91