VTK: Common/ComputationalGeometry/vtkParametricHenneberg.h Source File

| VTK 9.3.1

vtkParametricHenneberg.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
26 #ifndef vtkParametricHenneberg_h
27 #define vtkParametricHenneberg_h
28
29 #include "vtkCommonComputationalGeometryModule.h" // For export macro
30 #include "vtkParametricFunction.h"
31
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricHenneberg : public vtkParametricFunction
34 {
35 public:
36 vtkTypeMacro(vtkParametricHenneberg, vtkParametricFunction);
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
48 static vtkParametricHenneberg* New();
49
53 int GetDimension() override { return 2; }
54
63 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
64
69 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
70
71 protected:
72 vtkParametricHenneberg();
73 ~vtkParametricHenneberg() override;
74
75 private:
76 vtkParametricHenneberg(const vtkParametricHenneberg&) = delete;
77 void operator=(const vtkParametricHenneberg&) = delete;
78 };
79
80 VTK_ABI_NAMESPACE_END
81 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkParametricFunction
abstract interface for parametric functions
Definition: vtkParametricFunction.h:61
vtkParametricHenneberg
Generate Henneberg's minimal surface.
Definition: vtkParametricHenneberg.h:34
vtkParametricHenneberg::GetDimension
int GetDimension() override
Return the parametric dimension of the class.
Definition: vtkParametricHenneberg.h:53
vtkParametricHenneberg::New
static vtkParametricHenneberg * New()
Construct Henneberg's minimal surface with the following parameters: (MinimumU, MaximumU) = (-1....
vtkParametricHenneberg::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.
vtkParametricHenneberg::Evaluate
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Henneberg's minimal surface.
vtkParametricHenneberg::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkParametricHenneberg::vtkParametricHenneberg
vtkParametricHenneberg()
vtkParametricHenneberg::~vtkParametricHenneberg
~vtkParametricHenneberg() override
vtkParametricFunction.h