VTK  9.7.20260929
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
46
47#ifndef vtkParametricKuen_h
48#define vtkParametricKuen_h
49
50#include "vtkCommonComputationalGeometryModule.h" // For export macro
51#include "vtkMath.h" // for vtkMath::Pi()
53#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
54
55VTK_ABI_NAMESPACE_BEGIN
56class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT VTK_MARSHALAUTO vtkParametricKuen
58{
59public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
73
77 int GetDimension() override { return 2; }
78
80
87 vtkSetMacro(DeltaV0, double);
88 vtkGetMacro(DeltaV0, double);
90
99 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
100
105 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
106
107protected:
110
111private:
112 vtkParametricKuen(const vtkParametricKuen&) = delete;
113 void operator=(const vtkParametricKuen&) = delete;
114
115 double DeltaV0;
116};
117
118VTK_ABI_NAMESPACE_END
119#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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....
#define VTK_MARSHALAUTO