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
00037 #ifndef __vtkTriangularTexture_h
00038 #define __vtkTriangularTexture_h
00039
00040 #include "vtkImageSource.h"
00041
00042 class VTK_IMAGING_EXPORT vtkTriangularTexture : public vtkImageSource
00043 {
00044 public:
00045 vtkTypeRevisionMacro(vtkTriangularTexture,vtkImageSource);
00046 void PrintSelf(ostream& os, vtkIndent indent);
00047
00050 static vtkTriangularTexture *New();
00051
00053
00054 vtkSetMacro(ScaleFactor,float);
00055 vtkGetMacro(ScaleFactor,float);
00057
00059
00060 vtkSetMacro(XSize,int);
00061 vtkGetMacro(XSize,int);
00063
00065
00066 vtkSetMacro(YSize,int);
00067 vtkGetMacro(YSize,int);
00069
00071
00073 vtkSetClampMacro(TexturePattern,int,1,3);
00074 vtkGetMacro(TexturePattern,int);
00076
00077 protected:
00078 vtkTriangularTexture();
00079 ~vtkTriangularTexture() {};
00080
00081 virtual void ExecuteInformation();
00082 virtual void ExecuteData(vtkDataObject *data);
00083
00084 int XSize;
00085 int YSize;
00086 float ScaleFactor;
00087
00088 int TexturePattern;
00089 private:
00090 vtkTriangularTexture(const vtkTriangularTexture&);
00091 void operator=(const vtkTriangularTexture&);
00092 };
00093
00094 #endif
00095
00096