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 "vtkParametricFunction.h"
38 
40 {
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
49  static vtkParametricConicSpiral *New();
50 
52  virtual int GetDimension() {return 2;}
53 
55 
56  vtkSetMacro(A,double);
57  vtkGetMacro(A,double);
59 
61 
62  vtkSetMacro(B,double);
63  vtkGetMacro(B,double);
65 
67 
69  vtkSetMacro(C,double);
70  vtkGetMacro(C,double);
72 
74 
75  vtkSetMacro(N,double);
76  vtkGetMacro(N,double);
78 
84  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
85 
94  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
95 
96 protected:
99 
100  // Variables
101  double A;
102  double B;
103  double C;
104  double N;
105 
106 private:
107  vtkParametricConicSpiral(const vtkParametricConicSpiral&); // Not implemented.
108  void operator=(const vtkParametricConicSpiral&); // Not implemented.
109 };
110 
111 #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
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
static vtkObject * New()