VTK  9.3.0
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
40#ifndef vtkParametricKlein_h
41#define vtkParametricKlein_h
42
43#include "vtkCommonComputationalGeometryModule.h" // For export macro
45
46VTK_ABI_NAMESPACE_BEGIN
47class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKlein : public vtkParametricFunction
48{
49public:
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
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
98private:
100 void operator=(const vtkParametricKlein&) = delete;
101};
102
103VTK_ABI_NAMESPACE_END
104#endif
a simple class to control print indentation
Definition vtkIndent.h:38
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.