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