VTK  9.3.0
vtkParametricDini.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
23#ifndef vtkParametricDini_h
24#define vtkParametricDini_h
25
26#include "vtkCommonComputationalGeometryModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
30class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricDini : public vtkParametricFunction
31{
32public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
47
51 int GetDimension() override { return 2; }
52
54
59 vtkSetMacro(A, double);
60 vtkGetMacro(A, double);
62
64
69 vtkSetMacro(B, double);
70 vtkGetMacro(B, double);
72
81 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
82
96 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
97
98protected:
101
102 // Variables
103 double A;
104 double B;
105
106private:
107 vtkParametricDini(const vtkParametricDini&) = delete;
108 void operator=(const vtkParametricDini&) = delete;
109};
110
111VTK_ABI_NAMESPACE_END
112#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Generate Dini's surface.
int GetDimension() override
Return the parametric dimension of the class.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Dini's surface.
static vtkParametricDini * New()
Construct Dini's surface with the following parameters: MinimumU = 0, MaximumU = 4*Pi,...
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.
~vtkParametricDini() override
abstract interface for parametric functions