VTK  9.7.20260929
vtkParametricConicSpiral.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
41
42#ifndef vtkParametricConicSpiral_h
43#define vtkParametricConicSpiral_h
44
45#include "vtkCommonComputationalGeometryModule.h" // For export macro
47#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
48
49VTK_ABI_NAMESPACE_BEGIN
50class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT VTK_MARSHALAUTO vtkParametricConicSpiral
52{
53public:
55 void PrintSelf(ostream& os, vtkIndent indent) override;
56
68
72 int GetDimension() override { return 2; }
73
75
79 vtkSetMacro(A, double);
80 vtkGetMacro(A, double);
82
84
89 vtkSetMacro(B, double);
90 vtkGetMacro(B, double);
92
94
99 vtkSetMacro(C, double);
100 vtkGetMacro(C, double);
102
104
109 vtkSetMacro(N, double);
110 vtkGetMacro(N, double);
112
121 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
122
136 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
137
138protected:
141
142 // Variables
143 double A;
144 double B;
145 double C;
146 double N;
147
148private:
150 void operator=(const vtkParametricConicSpiral&) = delete;
151};
152
153VTK_ABI_NAMESPACE_END
154#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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.
#define VTK_MARSHALAUTO