VTK  9.5.20250614
vtkParametricKuen.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
47#ifndef vtkParametricKuen_h
48#define vtkParametricKuen_h
49
50#include "vtkCommonComputationalGeometryModule.h" // For export macro
51#include "vtkMath.h" // for vtkMath::Pi()
53
54VTK_ABI_NAMESPACE_BEGIN
55class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKuen : public vtkParametricFunction
56{
57public:
59 void PrintSelf(ostream& os, vtkIndent indent) override;
60
71
75 int GetDimension() override { return 2; }
76
78
85 vtkSetMacro(DeltaV0, double);
86 vtkGetMacro(DeltaV0, double);
88
97 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
98
103 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
104
105protected:
108
109private:
110 vtkParametricKuen(const vtkParametricKuen&) = delete;
111 void operator=(const vtkParametricKuen&) = delete;
112
113 double DeltaV0;
114};
115
116VTK_ABI_NAMESPACE_END
117#endif
a simple class to control print indentation
Definition vtkIndent.h:108
abstract interface for parametric functions
Generate Kuens' surface.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Kuen's surface.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetDimension() override
Return the parametric dimension of the class.
~vtkParametricKuen() 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.
static vtkParametricKuen * New()
Construct Kuen's surface with the following parameters: (MinimumU, MaximumU) = (-4....