VTK
|
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 "vtkDataSetAlgorithm.h" 00055 00056 class vtkImplicitFunction; 00057 00058 class VTK_GRAPHICS_EXPORT vtkImplicitTextureCoords : public vtkDataSetAlgorithm 00059 { 00060 public: 00061 vtkTypeMacro(vtkImplicitTextureCoords,vtkDataSetAlgorithm); 00062 void PrintSelf(ostream& os, vtkIndent indent); 00063 00066 static vtkImplicitTextureCoords *New(); 00067 00069 00070 virtual void SetRFunction(vtkImplicitFunction*); 00071 vtkGetObjectMacro(RFunction,vtkImplicitFunction); 00073 00075 00076 virtual void SetSFunction(vtkImplicitFunction*); 00077 vtkGetObjectMacro(SFunction,vtkImplicitFunction); 00079 00081 00082 virtual void SetTFunction(vtkImplicitFunction*); 00083 vtkGetObjectMacro(TFunction,vtkImplicitFunction); 00085 00087 00089 vtkSetMacro(FlipTexture,int); 00090 vtkGetMacro(FlipTexture,int); 00091 vtkBooleanMacro(FlipTexture,int); 00093 00094 protected: 00095 vtkImplicitTextureCoords(); 00096 ~vtkImplicitTextureCoords(); 00097 00098 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00099 00100 vtkImplicitFunction *RFunction; 00101 vtkImplicitFunction *SFunction; 00102 vtkImplicitFunction *TFunction; 00103 int FlipTexture; 00104 private: 00105 vtkImplicitTextureCoords(const vtkImplicitTextureCoords&); // Not implemented. 00106 void operator=(const vtkImplicitTextureCoords&); // Not implemented. 00107 }; 00108 00109 #endif 00110 00111