VTK  9.4.20241112
vtkParametricKlein.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
50#ifndef vtkParametricKlein_h
51#define vtkParametricKlein_h
52
53#include "vtkCommonComputationalGeometryModule.h" // For export macro
55
56VTK_ABI_NAMESPACE_BEGIN
57class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKlein : public vtkParametricFunction
58{
59public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
73
77 int GetDimension() override { return 2; }
78
87 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
88
102 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
103
104protected:
107
108private:
109 vtkParametricKlein(const vtkParametricKlein&) = delete;
110 void operator=(const vtkParametricKlein&) = delete;
111};
112
113VTK_ABI_NAMESPACE_END
114#endif
a simple class to control print indentation
Definition vtkIndent.h:108
abstract interface for parametric functions
Generates a "classical" representation of a 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.
~vtkParametricKlein() override
static vtkParametricKlein * New()
Construct a Klein Bottle with the following parameters: MinimumU = 0, MaximumU = 2*Pi,...
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
A Klein bottle.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetDimension() override
Initialise the parameters for the Klein bottle.