VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkParametricConicSpiral.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricConicSpiral.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
34 #ifndef __vtkParametricConicSpiral_h
35 #define __vtkParametricConicSpiral_h
36 
37 #include "vtkCommonComputationalGeometryModule.h" // For export macro
38 #include "vtkParametricFunction.h"
39 
40 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricConicSpiral : public vtkParametricFunction
41 {
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
50  static vtkParametricConicSpiral *New();
51 
53  virtual int GetDimension() {return 2;}
54 
56 
57  vtkSetMacro(A,double);
58  vtkGetMacro(A,double);
60 
62 
63  vtkSetMacro(B,double);
64  vtkGetMacro(B,double);
66 
68 
70  vtkSetMacro(C,double);
71  vtkGetMacro(C,double);
73 
75 
76  vtkSetMacro(N,double);
77  vtkGetMacro(N,double);
79 
85  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
86 
95  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
96 
97 protected:
100 
101  // Variables
102  double A;
103  double B;
104  double C;
105  double N;
106 
107 private:
108  vtkParametricConicSpiral(const vtkParametricConicSpiral&); // Not implemented.
109  void operator=(const vtkParametricConicSpiral&); // Not implemented.
110 };
111 
112 #endif
Generate conic spiral surfaces that resemble sea-shells.
virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9])=0
virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9])=0
void PrintSelf(ostream &os, vtkIndent indent)
abstract interface for parametric functions