vtkTriangularTexture.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00045 #ifndef __vtkTriangularTexture_h
00046 #define __vtkTriangularTexture_h
00047
00048 #include "vtkImageAlgorithm.h"
00049
00050 class VTK_IMAGING_EXPORT vtkTriangularTexture : public vtkImageAlgorithm
00051 {
00052 public:
00053 vtkTypeRevisionMacro(vtkTriangularTexture,vtkImageAlgorithm);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00058 static vtkTriangularTexture *New();
00059
00061
00062 vtkSetMacro(ScaleFactor,double);
00063 vtkGetMacro(ScaleFactor,double);
00065
00067
00068 vtkSetMacro(XSize,int);
00069 vtkGetMacro(XSize,int);
00071
00073
00074 vtkSetMacro(YSize,int);
00075 vtkGetMacro(YSize,int);
00077
00079
00081 vtkSetClampMacro(TexturePattern,int,1,3);
00082 vtkGetMacro(TexturePattern,int);
00084
00085 protected:
00086 vtkTriangularTexture();
00087 ~vtkTriangularTexture() {};
00088
00089 virtual void ExecuteInformation (vtkInformation *, vtkInformationVector *, vtkInformationVector *);
00090 virtual void ExecuteData(vtkDataObject *data);
00091
00092 int XSize;
00093 int YSize;
00094 double ScaleFactor;
00095
00096 int TexturePattern;
00097 private:
00098 vtkTriangularTexture(const vtkTriangularTexture&);
00099 void operator=(const vtkTriangularTexture&);
00100 };
00101
00102 #endif
00103
00104