00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImplicitTextureCoords.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 =========================================================================*/ 00068 #ifndef __vtkImplicitTextureCoords_h 00069 #define __vtkImplicitTextureCoords_h 00070 00071 #include "vtkDataSetToDataSetFilter.h" 00072 00073 class vtkImplicitFunction; 00074 00075 class VTK_GRAPHICS_EXPORT vtkImplicitTextureCoords : public vtkDataSetToDataSetFilter 00076 { 00077 public: 00078 vtkTypeRevisionMacro(vtkImplicitTextureCoords,vtkDataSetToDataSetFilter); 00079 void PrintSelf(ostream& os, vtkIndent indent); 00080 00083 static vtkImplicitTextureCoords *New(); 00084 00086 00087 virtual void SetRFunction(vtkImplicitFunction*); 00088 vtkGetObjectMacro(RFunction,vtkImplicitFunction); 00090 00092 00093 virtual void SetSFunction(vtkImplicitFunction*); 00094 vtkGetObjectMacro(SFunction,vtkImplicitFunction); 00096 00098 00099 virtual void SetTFunction(vtkImplicitFunction*); 00100 vtkGetObjectMacro(TFunction,vtkImplicitFunction); 00102 00104 00106 vtkSetMacro(FlipTexture,int); 00107 vtkGetMacro(FlipTexture,int); 00108 vtkBooleanMacro(FlipTexture,int); 00110 00111 protected: 00112 vtkImplicitTextureCoords(); 00113 ~vtkImplicitTextureCoords(); 00114 00115 void Execute(); 00116 00117 vtkImplicitFunction *RFunction; 00118 vtkImplicitFunction *SFunction; 00119 vtkImplicitFunction *TFunction; 00120 int FlipTexture; 00121 private: 00122 vtkImplicitTextureCoords(const vtkImplicitTextureCoords&); // Not implemented. 00123 void operator=(const vtkImplicitTextureCoords&); // Not implemented. 00124 }; 00125 00126 #endif 00127 00128