VTK  9.3.0
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
20#ifndef vtkParametricBohemianDome_h
21#define vtkParametricBohemianDome_h
22
23#include "vtkCommonComputationalGeometryModule.h" // For export macro
25
26VTK_ABI_NAMESPACE_BEGIN
27class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricBohemianDome : public vtkParametricFunction
28{
29public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
37 vtkGetMacro(A, double);
38 vtkSetMacro(A, double);
40
41 vtkGetMacro(B, double);
42 vtkSetMacro(B, double);
43
44 vtkGetMacro(C, double);
45 vtkSetMacro(C, double);
46
47 // (MinimumU, MaximumU) = (-pi, pi),
48 // (MinimumV, MaximumV) = (-pi, pi),
49 // JoinU = 1, JoinV = 1,
50 // TwistU = 0, TwistV = 0;
51 // ClockwiseOrdering = 0,
52 // DerivativesAvailable = 1,
54
58 int GetDimension() override { return 2; }
59
68 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
69
74 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
75
76protected:
79
80 // Variables
81 double A;
82 double B;
83 double C;
84
85private:
87 void operator=(const vtkParametricBohemianDome&) = delete;
88};
89
90VTK_ABI_NAMESPACE_END
91#endif
a simple class to control print indentation
Definition vtkIndent.h:29
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