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=========================================================================*/
31
32#ifndef vtkParametricConicSpiral_h
33#define vtkParametricConicSpiral_h
34
35#include "vtkCommonComputationalGeometryModule.h" // For export macro
37
38class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricConicSpiral : public vtkParametricFunction
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
55
59 int GetDimension() override { return 2; }
60
62
66 vtkSetMacro(A, double);
67 vtkGetMacro(A, double);
69
71
76 vtkSetMacro(B, double);
77 vtkGetMacro(B, double);
79
81
86 vtkSetMacro(C, double);
87 vtkGetMacro(C, double);
89
91
96 vtkSetMacro(N, double);
97 vtkGetMacro(N, double);
99
108 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
109
123 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
124
125protected:
128
129 // Variables
130 double A;
131 double B;
132 double C;
133 double N;
134
135private:
137 void operator=(const vtkParametricConicSpiral&) = delete;
138};
139
140#endif
a simple class to control print indentation
Definition vtkIndent.h:34
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkParametricConicSpiral() override
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.
static vtkParametricConicSpiral * New()
Construct a conic spiral surface with the following parameters: MinimumU = 0, MaximumU = 2Pi,...
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
A conic spiral surface.