Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkTriangularTexture.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTriangularTexture.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00033 #ifndef __vtkTriangularTexture_h
00034 #define __vtkTriangularTexture_h
00035 
00036 #include "vtkImageAlgorithm.h"
00037 
00038 class VTK_IMAGING_EXPORT vtkTriangularTexture : public vtkImageAlgorithm
00039 {
00040 public:
00041   vtkTypeRevisionMacro(vtkTriangularTexture,vtkImageAlgorithm);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00046   static vtkTriangularTexture *New();
00047 
00049 
00050   vtkSetMacro(ScaleFactor,double);
00051   vtkGetMacro(ScaleFactor,double);
00053 
00055 
00056   vtkSetMacro(XSize,int);
00057   vtkGetMacro(XSize,int);
00059 
00061 
00062   vtkSetMacro(YSize,int);
00063   vtkGetMacro(YSize,int);
00065 
00067 
00069   vtkSetClampMacro(TexturePattern,int,1,3);
00070   vtkGetMacro(TexturePattern,int);
00072 
00073 protected:
00074   vtkTriangularTexture();
00075   ~vtkTriangularTexture() {};
00076 
00077   virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
00078   virtual void ExecuteData(vtkDataObject *data);
00079 
00080   int XSize;
00081   int YSize;
00082   double ScaleFactor;
00083 
00084   int TexturePattern;
00085 private:
00086   vtkTriangularTexture(const vtkTriangularTexture&);  // Not implemented.
00087   void operator=(const vtkTriangularTexture&);  // Not implemented.
00088 };
00089 
00090 #endif
00091 
00092 

Generated on Mon Jan 21 23:07:30 2008 for VTK by  doxygen 1.4.3-20050530