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
31#ifndef vtkParametricKlein_h
32#define vtkParametricKlein_h
33
34#include "vtkCommonComputationalGeometryModule.h" // For export macro
36
37VTK_ABI_NAMESPACE_BEGIN
38class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKlein : public vtkParametricFunction
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
54
58 int GetDimension() override { return 2; }
59
68 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
69
83 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
84
85protected:
88
89private:
91 void operator=(const vtkParametricKlein&) = delete;
92};
93
94VTK_ABI_NAMESPACE_END
95#endif
a simple class to control print indentation
Definition vtkIndent.h:29
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.