VTK
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 
00063   vtkSetMacro(B,double);
00064   vtkGetMacro(B,double);
00066 
00068 
00070   vtkSetMacro(C,double);
00071   vtkGetMacro(C,double);
00073 
00075 
00076   vtkSetMacro(N,double);
00077   vtkGetMacro(N,double);
00079 
00085   virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
00086 
00095   virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
00096 
00097 protected:
00098   vtkParametricConicSpiral();
00099   ~vtkParametricConicSpiral();
00100 
00101   // Variables
00102   double A;
00103   double B;
00104   double C;
00105   double N;
00106 
00107 private:
00108   vtkParametricConicSpiral(const vtkParametricConicSpiral&);  // Not implemented.
00109   void operator=(const vtkParametricConicSpiral&);  // Not implemented.
00110 };
00111 
00112 #endif