VTK  9.3.0
vtkParametricFigure8Klein.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
31#ifndef vtkParametricFigure8Klein_h
32#define vtkParametricFigure8Klein_h
33
34#include "vtkCommonComputationalGeometryModule.h" // For export macro
36
37VTK_ABI_NAMESPACE_BEGIN
38class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricFigure8Klein : public vtkParametricFunction
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
55
57
60 vtkSetMacro(Radius, double);
61 vtkGetMacro(Radius, double);
63
67 int GetDimension() override { return 2; }
68
77 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
78
92 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
93
94protected:
97
98 // Variables
99 double Radius;
100
101private:
103 void operator=(const vtkParametricFigure8Klein&) = delete;
104};
105
106VTK_ABI_NAMESPACE_END
107#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Generate a figure-8 Klein bottle.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
A Figure-8 Klein bottle.
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 vtkParametricFigure8Klein * New()
Construct a figure-8 Klein Bottle with the following parameters: MinimumU = -Pi, MaximumU = Pi,...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkParametricFigure8Klein() override
abstract interface for parametric functions