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
17 #ifndef vtkParametricHenneberg_h
18 #define vtkParametricHenneberg_h
19 
20 #include "vtkCommonComputationalGeometryModule.h" // For export macro
21 #include "vtkParametricFunction.h"
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricHenneberg : public vtkParametricFunction
25 {
26 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
39  static vtkParametricHenneberg* New();
40 
44  int GetDimension() override { return 2; }
45 
54  void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
55 
60  double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
61 
62 protected:
64  ~vtkParametricHenneberg() override;
65 
66 private:
68  void operator=(const vtkParametricHenneberg&) = delete;
69 };
70 
71 VTK_ABI_NAMESPACE_END
72 #endif
int GetDimension() override
Return the parametric dimension of the class.
virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9])=0
Calculate a user defined scalar using one or all of uvw, Pt, Duvw.
virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9])=0
Performs the mapping $f(uvw)->(Pt,Duvw)$f.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generate Henneberg's minimal surface.
abstract interface for parametric functions
a simple class to control print indentation
Definition: vtkIndent.h:28
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...