VTK  9.1.0
vtkParametricHenneberg.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricHenneberg.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
45 #ifndef vtkParametricHenneberg_h
46 #define vtkParametricHenneberg_h
47 
48 #include "vtkCommonComputationalGeometryModule.h" // For export macro
49 #include "vtkParametricFunction.h"
50 
51 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricHenneberg : public vtkParametricFunction
52 {
53 public:
55  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
67 
71  int GetDimension() override { return 2; }
72 
81  void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
82 
87  double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
88 
89 protected:
92 
93 private:
95  void operator=(const vtkParametricHenneberg&) = delete;
96 };
97 
98 #endif
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract interface for parametric functions
Generate Henneberg's minimal surface.
int GetDimension() override
Return the parametric dimension of the class.
static vtkParametricHenneberg * New()
Construct Henneberg's minimal surface with the following parameters: (MinimumU, MaximumU) = (-1....
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.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Henneberg's minimal surface.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkParametricHenneberg() override