VTK  9.3.0
vtkParametricBoy.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
24#ifndef vtkParametricBoy_h
25#define vtkParametricBoy_h
26
27#include "vtkCommonComputationalGeometryModule.h" // For export macro
29
30VTK_ABI_NAMESPACE_BEGIN
31class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricBoy : public vtkParametricFunction
32{
33public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
48
52 int GetDimension() override { return 2; }
53
55
59 vtkSetMacro(ZScale, double);
60 vtkGetMacro(ZScale, double);
62
71 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
72
86 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
87
88protected:
91
92 // Variables
93 double ZScale;
94
95private:
96 vtkParametricBoy(const vtkParametricBoy&) = delete;
97 void operator=(const vtkParametricBoy&) = delete;
98};
99
100VTK_ABI_NAMESPACE_END
101#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Generate Boy's surface.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkParametricBoy() override
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Boy's surface.
static vtkParametricBoy * New()
Construct Boy's surface with the following parameters: MinimumU = 0, MaximumU = Pi,...
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.
int GetDimension() override
Return the parametric dimension of the class.
abstract interface for parametric functions