VTK: Common/ComputationalGeometry/vtkParametricBoy.h Source File

| VTK 9.3.1

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
33 #ifndef vtkParametricBoy_h
34 #define vtkParametricBoy_h
35
36 #include "vtkCommonComputationalGeometryModule.h" // For export macro
37 #include "vtkParametricFunction.h"
38
39 VTK_ABI_NAMESPACE_BEGIN
40 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricBoy : public vtkParametricFunction
41 {
42 public:
43 vtkTypeMacro(vtkParametricBoy, vtkParametricFunction);
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
56 static vtkParametricBoy* New();
57
61 int GetDimension() override { return 2; }
62
64
68 vtkSetMacro(ZScale, double);
69 vtkGetMacro(ZScale, double);
71
80 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
81
95 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
96
97 protected:
98 vtkParametricBoy();
99 ~vtkParametricBoy() override;
100
101 // Variables
102 double ZScale;
103
104 private:
105 vtkParametricBoy(const vtkParametricBoy&) = delete;
106 void operator=(const vtkParametricBoy&) = delete;
107 };
108
109 VTK_ABI_NAMESPACE_END
110 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkParametricBoy
Generate Boy's surface.
Definition: vtkParametricBoy.h:41
vtkParametricBoy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkParametricBoy::New
static vtkParametricBoy * New()
Construct Boy's surface with the following parameters: MinimumU = 0, MaximumU = Pi,...
vtkParametricBoy::~vtkParametricBoy
~vtkParametricBoy() override
vtkParametricBoy::Evaluate
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Boy's surface.
vtkParametricBoy::EvaluateScalar
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.
vtkParametricBoy::GetDimension
int GetDimension() override
Return the parametric dimension of the class.
Definition: vtkParametricBoy.h:61
vtkParametricBoy::vtkParametricBoy
vtkParametricBoy()
vtkParametricBoy::ZScale
double ZScale
Definition: vtkParametricBoy.h:102
vtkParametricFunction
abstract interface for parametric functions
Definition: vtkParametricFunction.h:61
vtkParametricFunction.h