Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Imaging/vtkTriangularTexture.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00049 #ifndef __vtkTriangularTexture_h
00050 #define __vtkTriangularTexture_h
00051
00052 #include "vtkImageSource.h"
00053
00054 class VTK_IMAGING_EXPORT vtkTriangularTexture : public vtkImageSource
00055 {
00056 public:
00057 vtkTypeRevisionMacro(vtkTriangularTexture,vtkImageSource);
00058 void PrintSelf(ostream& os, vtkIndent indent);
00059
00062 static vtkTriangularTexture *New();
00063
00065
00066 vtkSetMacro(ScaleFactor,float);
00067 vtkGetMacro(ScaleFactor,float);
00069
00071
00072 vtkSetMacro(XSize,int);
00073 vtkGetMacro(XSize,int);
00075
00077
00078 vtkSetMacro(YSize,int);
00079 vtkGetMacro(YSize,int);
00081
00083
00085 vtkSetClampMacro(TexturePattern,int,1,3);
00086 vtkGetMacro(TexturePattern,int);
00088
00089 protected:
00090 vtkTriangularTexture();
00091 ~vtkTriangularTexture() {};
00092
00093 virtual void ExecuteInformation();
00094 virtual void ExecuteData(vtkDataObject *data);
00095
00096 int XSize;
00097 int YSize;
00098 float ScaleFactor;
00099
00100 int TexturePattern;
00101 private:
00102 vtkTriangularTexture(const vtkTriangularTexture&);
00103 void operator=(const vtkTriangularTexture&);
00104 };
00105
00106 #endif
00107
00108