Imaging/vtkTriangularTexture.h Source File

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   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkTriangularTexture.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    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&);  // Not implemented.
    00103   void operator=(const vtkTriangularTexture&);  // Not implemented.
    00104 };
    00105
    00106 #endif
    00107
    00108