VTK
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 
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 
64  vtkSetMacro(B,double);
65  vtkGetMacro(B,double);
67 
69 
71  vtkSetMacro(C,double);
72  vtkGetMacro(C,double);
74 
76 
78  vtkSetMacro(N,double);
79  vtkGetMacro(N,double);
81 
87  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
88 
97  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
98 
99 protected:
102 
103  // Variables
104  double A;
105  double B;
106  double C;
107  double N;
108 
109 private:
110  vtkParametricConicSpiral(const vtkParametricConicSpiral&); // Not implemented.
111  void operator=(const vtkParametricConicSpiral&); // Not implemented.
112 };
113 
114 #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)
#define VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT
abstract interface for parametric functions
a simple class to control print indentation
Definition: vtkIndent.h:38
static vtkObject * New()