VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/ComputationalGeometry/vtkParametricConicSpiral.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkParametricConicSpiral.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 =========================================================================*/
00034 #ifndef vtkParametricConicSpiral_h
00035 #define vtkParametricConicSpiral_h
00036 
00037 #include "vtkCommonComputationalGeometryModule.h" // For export macro
00038 #include "vtkParametricFunction.h"
00039 
00040 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricConicSpiral : public vtkParametricFunction
00041 {
00042 public:
00043   vtkTypeMacro(vtkParametricConicSpiral,vtkParametricFunction);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00050   static vtkParametricConicSpiral *New();
00051 
00053   virtual int GetDimension() {return 2;}
00054 
00056 
00057   vtkSetMacro(A,double);
00058   vtkGetMacro(A,double);
00060 
00062 
00064   vtkSetMacro(B,double);
00065   vtkGetMacro(B,double);
00067 
00069 
00071   vtkSetMacro(C,double);
00072   vtkGetMacro(C,double);
00074 
00076 
00078   vtkSetMacro(N,double);
00079   vtkGetMacro(N,double);
00081 
00087   virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
00088 
00097   virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
00098 
00099 protected:
00100   vtkParametricConicSpiral();
00101   ~vtkParametricConicSpiral();
00102 
00103   // Variables
00104   double A;
00105   double B;
00106   double C;
00107   double N;
00108 
00109 private:
00110   vtkParametricConicSpiral(const vtkParametricConicSpiral&);  // Not implemented.
00111   void operator=(const vtkParametricConicSpiral&);  // Not implemented.
00112 };
00113 
00114 #endif