VTK  9.3.1
vtkParametricEnneper.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 vtkParametricEnneper_h
25 #define vtkParametricEnneper_h
26 
27 #include "vtkCommonComputationalGeometryModule.h" // For export macro
28 #include "vtkParametricFunction.h"
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricEnneper : public vtkParametricFunction
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
46  static vtkParametricEnneper* New();
47 
51  int GetDimension() override { return 2; }
52 
61  void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
62 
76  double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
77 
78 protected:
80  ~vtkParametricEnneper() override;
81 
82 private:
84  void operator=(const vtkParametricEnneper&) = delete;
85 };
86 
87 VTK_ABI_NAMESPACE_END
88 #endif
Generate Enneper's surface.
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.
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...
int GetDimension() override
Return the parametric dimension of the class.