VTK
dox/Common/ComputationalGeometry/vtkParametricKlein.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkParametricKlein.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 =========================================================================*/
00042 #ifndef __vtkParametricKlein_h
00043 #define __vtkParametricKlein_h
00044 
00045 #include "vtkCommonComputationalGeometryModule.h" // For export macro
00046 #include "vtkParametricFunction.h"
00047 
00048 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKlein : public vtkParametricFunction
00049 {
00050 public:
00051   vtkTypeMacro(vtkParametricKlein,vtkParametricFunction);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00058   static vtkParametricKlein *New();  
00059 
00061   virtual int GetDimension() {return 2;}
00062 
00068   virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
00069 
00078   virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
00079 
00080 protected:
00081   vtkParametricKlein();
00082   ~vtkParametricKlein();
00083 
00084 private:
00085   vtkParametricKlein(const vtkParametricKlein&);  // Not implemented.
00086   void operator=(const vtkParametricKlein&);  // Not implemented.
00087 };
00088 
00089 #endif