VTK  9.4.20250102
vtkParametricBohemianDome.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
39#ifndef vtkParametricBohemianDome_h
40#define vtkParametricBohemianDome_h
41
42#include "vtkCommonComputationalGeometryModule.h" // For export macro
44
45VTK_ABI_NAMESPACE_BEGIN
46class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricBohemianDome : public vtkParametricFunction
47{
48public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
53
56 vtkGetMacro(A, double);
57 vtkSetMacro(A, double);
59
60 vtkGetMacro(B, double);
61 vtkSetMacro(B, double);
62
63 vtkGetMacro(C, double);
64 vtkSetMacro(C, double);
65
66 // (MinimumU, MaximumU) = (-pi, pi),
67 // (MinimumV, MaximumV) = (-pi, pi),
68 // JoinU = 1, JoinV = 1,
69 // TwistU = 0, TwistV = 0;
70 // ClockwiseOrdering = 0,
71 // DerivativesAvailable = 1,
73
77 int GetDimension() override { return 2; }
78
87 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
88
93 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
94
95protected:
98
99 // Variables
100 double A;
101 double B;
102 double C;
103
104private:
106 void operator=(const vtkParametricBohemianDome&) = delete;
107};
108
109VTK_ABI_NAMESPACE_END
110#endif
a simple class to control print indentation
Definition vtkIndent.h:108
int GetDimension() override
Return the parametric dimension of the class.
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.
~vtkParametricBohemianDome() override
static vtkParametricBohemianDome * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
BohemianDome surface.
abstract interface for parametric functions