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 =========================================================================*/
33 #ifndef vtkTriangularTexture_h
34 #define vtkTriangularTexture_h
35 
36 #include "vtkImagingHybridModule.h" // For export macro
37 #include "vtkImageAlgorithm.h"
38 
40 {
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
47  static vtkTriangularTexture *New();
48 
50 
51  vtkSetMacro(ScaleFactor,double);
52  vtkGetMacro(ScaleFactor,double);
54 
56 
57  vtkSetMacro(XSize,int);
58  vtkGetMacro(XSize,int);
60 
62 
63  vtkSetMacro(YSize,int);
64  vtkGetMacro(YSize,int);
66 
68 
70  vtkSetClampMacro(TexturePattern,int,1,3);
71  vtkGetMacro(TexturePattern,int);
73 
74 protected:
77 
80 
81  int XSize;
82  int YSize;
83  double ScaleFactor;
84 
86 private:
87  vtkTriangularTexture(const vtkTriangularTexture&); // Not implemented.
88  void operator=(const vtkTriangularTexture&); // Not implemented.
89 };
90 
91 #endif
92 
93 
Store vtkAlgorithm input/output information.
generate 2D triangular texture map
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
#define VTKIMAGINGHYBRID_EXPORT
general representation of visualization data
Definition: vtkDataObject.h:64