VTK
dox/Common/ComputationalGeometry/vtkParametricFigure8Klein.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkParametricFigure8Klein.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 __vtkParametricFigure8Klein_h
00043 #define __vtkParametricFigure8Klein_h
00044 
00045 #include "vtkCommonComputationalGeometryModule.h" // For export macro
00046 #include "vtkParametricFunction.h"
00047 
00048 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricFigure8Klein : public vtkParametricFunction
00049 {
00050 public:
00051   vtkTypeMacro(vtkParametricFigure8Klein,vtkParametricFunction);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00058   static vtkParametricFigure8Klein *New();
00059 
00061 
00062   vtkSetMacro(Radius,double);
00063   vtkGetMacro(Radius,double);
00065 
00067   virtual int GetDimension() {return 2;}
00068 
00074   virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
00075 
00084   virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
00085 
00086 protected:
00087   vtkParametricFigure8Klein();
00088   ~vtkParametricFigure8Klein();
00089 
00090   // Variables
00091   double Radius;
00092 
00093 private:
00094   vtkParametricFigure8Klein(const vtkParametricFigure8Klein&);  // Not implemented.
00095   void operator=(const vtkParametricFigure8Klein&);  // Not implemented.
00096 
00097 };
00098 
00099 #endif