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