Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 =========================================================================*/
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&);  // Not implemented.
00099   void operator=(const vtkTriangularTexture&);  // Not implemented.
00100 };
00101 
00102 #endif
00103 
00104