VTK  9.2.6
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 =========================================================================*/
54 #ifndef vtkParametricConicSpiral_h
55 #define vtkParametricConicSpiral_h
56 
57 #include "vtkCommonComputationalGeometryModule.h" // For export macro
58 #include "vtkParametricFunction.h"
59 
60 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricConicSpiral : public vtkParametricFunction
61 {
62 public:
64  void PrintSelf(ostream& os, vtkIndent indent) override;
65 
77 
81  int GetDimension() override { return 2; }
82 
84 
88  vtkSetMacro(A, double);
89  vtkGetMacro(A, double);
91 
93 
98  vtkSetMacro(B, double);
99  vtkGetMacro(B, double);
101 
103 
108  vtkSetMacro(C, double);
109  vtkGetMacro(C, double);
111 
113 
118  vtkSetMacro(N, double);
119  vtkGetMacro(N, double);
121 
130  void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
131 
145  double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
146 
147 protected:
150 
151  // Variables
152  double A;
153  double B;
154  double C;
155  double N;
156 
157 private:
159  void operator=(const vtkParametricConicSpiral&) = delete;
160 };
161 
162 #endif
a simple class to control print indentation
Definition: vtkIndent.h:119
Generate conic spiral surfaces that resemble sea-shells.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkParametricConicSpiral() override
static vtkParametricConicSpiral * New()
Construct a conic spiral surface with the following parameters: MinimumU = 0, MaximumU = 2Pi,...
double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override
Calculate a user defined scalar using one or all of uvw, Pt, Duvw.
int GetDimension() override
Return the parametric dimension of the class.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
A conic spiral surface.
abstract interface for parametric functions