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 
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 
vtkgl::data
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: vtkgl.h:11339
vtkTriangularTexture::~vtkTriangularTexture
~vtkTriangularTexture()
Definition: vtkTriangularTexture.h:76
vtkTriangularTexture::TexturePattern
int TexturePattern
Definition: vtkTriangularTexture.h:85
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkImagingHybridModule.h
vtkTriangularTexture::New
static vtkTriangularTexture * New()
VTKIMAGINGHYBRID_EXPORT
#define VTKIMAGINGHYBRID_EXPORT
Definition: vtkImagingHybridModule.h:15
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkTriangularTexture::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkTriangularTexture::YSize
int YSize
Definition: vtkTriangularTexture.h:82
vtkTriangularTexture
generate 2D triangular texture map
Definition: vtkTriangularTexture.h:40
vtkTriangularTexture::ScaleFactor
double ScaleFactor
Definition: vtkTriangularTexture.h:83
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkTriangularTexture::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTriangularTexture::vtkTriangularTexture
vtkTriangularTexture()
vtkTriangularTexture::XSize
int XSize
Definition: vtkTriangularTexture.h:81
vtkTriangularTexture::ExecuteDataWithInformation
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)