VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkParametricRoman.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 =========================================================================*/ 00033 #ifndef __vtkParametricRoman_h 00034 #define __vtkParametricRoman_h 00035 00036 #include "vtkCommonComputationalGeometryModule.h" // For export macro 00037 #include "vtkParametricFunction.h" 00038 00039 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricRoman : public vtkParametricFunction 00040 { 00041 00042 public: 00043 vtkTypeMacro(vtkParametricRoman,vtkParametricFunction); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 virtual int GetDimension() {return 2;} 00048 00053 static vtkParametricRoman *New(); 00054 00056 00057 vtkSetMacro(Radius,double); 00058 vtkGetMacro(Radius,double); 00060 00066 virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]); 00067 00076 virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]); 00077 00078 00079 protected: 00080 vtkParametricRoman(); 00081 ~vtkParametricRoman(); 00082 00083 // Variables 00084 double Radius; 00085 00086 private: 00087 vtkParametricRoman(const vtkParametricRoman&); // Not implemented. 00088 void operator=(const vtkParametricRoman&); // Not implemented. 00089 }; 00090 00091 #endif