VTK
dox/Common/ComputationalGeometry/vtkParametricDini.h
Go to the documentation of this file.
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 
00059   vtkSetMacro(A,double);
00060   vtkGetMacro(A,double);
00062 
00064 
00065   vtkSetMacro(B,double);
00066   vtkGetMacro(B,double);
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   vtkParametricDini();
00088   ~vtkParametricDini();
00089 
00090   // Variables
00091   double A;
00092   double B;
00093 
00094 private:
00095   vtkParametricDini(const vtkParametricDini&);  // Not implemented.
00096   void operator=(const vtkParametricDini&);  // Not implemented.
00097 };
00098 
00099 #endif