VTK  9.3.0
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
27#ifndef vtkParametricKuen_h
28#define vtkParametricKuen_h
29
30#include "vtkCommonComputationalGeometryModule.h" // For export macro
31#include "vtkMath.h" // for vtkMath::Pi()
33
34VTK_ABI_NAMESPACE_BEGIN
35class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKuen : public vtkParametricFunction
36{
37public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
51
55 int GetDimension() override { return 2; }
56
58
65 vtkSetMacro(DeltaV0, double);
66 vtkGetMacro(DeltaV0, double);
68
77 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
78
83 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
84
85protected:
88
89private:
90 vtkParametricKuen(const vtkParametricKuen&) = delete;
91 void operator=(const vtkParametricKuen&) = delete;
92
93 double DeltaV0;
94};
95
96VTK_ABI_NAMESPACE_END
97#endif
a simple class to control print indentation
Definition vtkIndent.h:38
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....