00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkParametricKlein.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 =========================================================================*/ 00042 #ifndef __vtkParametricKlein_h 00043 #define __vtkParametricKlein_h 00044 00045 #include "vtkParametricFunction.h" 00046 00047 class VTK_COMMON_EXPORT vtkParametricKlein : public vtkParametricFunction 00048 { 00049 public: 00050 vtkTypeRevisionMacro(vtkParametricKlein,vtkParametricFunction); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00057 static vtkParametricKlein *New(); 00058 00060 virtual int GetDimension() {return 2;} 00061 00067 virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]); 00068 00077 virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]); 00078 00079 protected: 00080 vtkParametricKlein(); 00081 ~vtkParametricKlein(); 00082 00083 private: 00084 vtkParametricKlein(const vtkParametricKlein&); // Not implemented. 00085 void operator=(const vtkParametricKlein&); // Not implemented. 00086 }; 00087 00088 #endif