VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkParametricEnneper.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 =========================================================================*/ 00035 #ifndef __vtkParametricEnneper_h 00036 #define __vtkParametricEnneper_h 00037 00038 #include "vtkCommonComputationalGeometryModule.h" // For export macro 00039 #include "vtkParametricFunction.h" 00040 00041 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricEnneper : public vtkParametricFunction 00042 { 00043 public: 00044 00045 vtkTypeMacro(vtkParametricEnneper,vtkParametricFunction); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00052 static vtkParametricEnneper *New(); 00053 00055 virtual int GetDimension() {return 2;} 00056 00062 virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]); 00063 00072 virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]); 00073 00074 protected: 00075 vtkParametricEnneper(); 00076 ~vtkParametricEnneper(); 00077 00078 private: 00079 vtkParametricEnneper(const vtkParametricEnneper&); // Not implemented. 00080 void operator=(const vtkParametricEnneper&); // Not implemented. 00081 }; 00082 00083 #endif