VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkParametricDini.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 vtkParametricDini_h 00036 #define vtkParametricDini_h 00037 00038 #include "vtkCommonComputationalGeometryModule.h" // For export macro 00039 #include "vtkParametricFunction.h" 00040 00041 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricDini : public vtkParametricFunction 00042 { 00043 public: 00044 00045 vtkTypeMacro(vtkParametricDini,vtkParametricFunction); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00052 static vtkParametricDini *New(); 00053 00055 virtual int GetDimension() {return 2;} 00056 00058 00060 vtkSetMacro(A,double); 00061 vtkGetMacro(A,double); 00063 00065 00067 vtkSetMacro(B,double); 00068 vtkGetMacro(B,double); 00070 00076 virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]); 00077 00086 virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]); 00087 00088 protected: 00089 vtkParametricDini(); 00090 ~vtkParametricDini(); 00091 00092 // Variables 00093 double A; 00094 double B; 00095 00096 private: 00097 vtkParametricDini(const vtkParametricDini&); // Not implemented. 00098 void operator=(const vtkParametricDini&); // Not implemented. 00099 }; 00100 00101 #endif