VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/Texture/vtkImplicitTextureCoords.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImplicitTextureCoords.h
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 =========================================================================*/
00051 #ifndef vtkImplicitTextureCoords_h
00052 #define vtkImplicitTextureCoords_h
00053 
00054 #include "vtkFiltersTextureModule.h" // For export macro
00055 #include "vtkDataSetAlgorithm.h"
00056 
00057 class vtkImplicitFunction;
00058 
00059 class VTKFILTERSTEXTURE_EXPORT vtkImplicitTextureCoords : public vtkDataSetAlgorithm
00060 {
00061 public:
00062   vtkTypeMacro(vtkImplicitTextureCoords,vtkDataSetAlgorithm);
00063   void PrintSelf(ostream& os, vtkIndent indent);
00064 
00067   static vtkImplicitTextureCoords *New();
00068 
00070 
00071   virtual void SetRFunction(vtkImplicitFunction*);
00072   vtkGetObjectMacro(RFunction,vtkImplicitFunction);
00074 
00076 
00077   virtual void SetSFunction(vtkImplicitFunction*);
00078   vtkGetObjectMacro(SFunction,vtkImplicitFunction);
00080 
00082 
00083   virtual void SetTFunction(vtkImplicitFunction*);
00084   vtkGetObjectMacro(TFunction,vtkImplicitFunction);
00086 
00088 
00090   vtkSetMacro(FlipTexture,int);
00091   vtkGetMacro(FlipTexture,int);
00092   vtkBooleanMacro(FlipTexture,int);
00094 
00095 protected:
00096   vtkImplicitTextureCoords();
00097   ~vtkImplicitTextureCoords();
00098 
00099   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00100 
00101   vtkImplicitFunction *RFunction;
00102   vtkImplicitFunction *SFunction;
00103   vtkImplicitFunction *TFunction;
00104   int FlipTexture;
00105 private:
00106   vtkImplicitTextureCoords(const vtkImplicitTextureCoords&);  // Not implemented.
00107   void operator=(const vtkImplicitTextureCoords&);  // Not implemented.
00108 };
00109 
00110 #endif
00111 
00112