VTK  9.7.20260929
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
49
50#ifndef vtkParametricFigure8Klein_h
51#define vtkParametricFigure8Klein_h
52
53#include "vtkCommonComputationalGeometryModule.h" // For export macro
55#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
56
57VTK_ABI_NAMESPACE_BEGIN
58class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT VTK_MARSHALAUTO vtkParametricFigure8Klein
60{
61public:
63 void PrintSelf(ostream& os, vtkIndent indent) override;
64
76
78
81 vtkSetMacro(Radius, double);
82 vtkGetMacro(Radius, double);
84
88 int GetDimension() override { return 2; }
89
98 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
99
113 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
114
115protected:
118
119 // Variables
120 double Radius;
121
122private:
124 void operator=(const vtkParametricFigure8Klein&) = delete;
125};
126
127VTK_ABI_NAMESPACE_END
128#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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
#define VTK_MARSHALAUTO