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 =========================================================================*/ 00055 #ifndef __vtkImplicitTextureCoords_h 00056 #define __vtkImplicitTextureCoords_h 00057 00058 #include "vtkDataSetToDataSetFilter.h" 00059 00060 class vtkImplicitFunction; 00061 00062 class VTK_GRAPHICS_EXPORT vtkImplicitTextureCoords : public vtkDataSetToDataSetFilter 00063 { 00064 public: 00065 vtkTypeRevisionMacro(vtkImplicitTextureCoords,vtkDataSetToDataSetFilter); 00066 void PrintSelf(ostream& os, vtkIndent indent); 00067 00070 static vtkImplicitTextureCoords *New(); 00071 00073 00074 virtual void SetRFunction(vtkImplicitFunction*); 00075 vtkGetObjectMacro(RFunction,vtkImplicitFunction); 00077 00079 00080 virtual void SetSFunction(vtkImplicitFunction*); 00081 vtkGetObjectMacro(SFunction,vtkImplicitFunction); 00083 00085 00086 virtual void SetTFunction(vtkImplicitFunction*); 00087 vtkGetObjectMacro(TFunction,vtkImplicitFunction); 00089 00091 00093 vtkSetMacro(FlipTexture,int); 00094 vtkGetMacro(FlipTexture,int); 00095 vtkBooleanMacro(FlipTexture,int); 00097 00098 protected: 00099 vtkImplicitTextureCoords(); 00100 ~vtkImplicitTextureCoords(); 00101 00102 void Execute(); 00103 00104 vtkImplicitFunction *RFunction; 00105 vtkImplicitFunction *SFunction; 00106 vtkImplicitFunction *TFunction; 00107 int FlipTexture; 00108 private: 00109 vtkImplicitTextureCoords(const vtkImplicitTextureCoords&); // Not implemented. 00110 void operator=(const vtkImplicitTextureCoords&); // Not implemented. 00111 }; 00112 00113 #endif 00114 00115