VTK  9.1.0
vtkParametricKuen.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricKuen.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 =========================================================================*/
56 #ifndef vtkParametricKuen_h
57 #define vtkParametricKuen_h
58 
59 #include "vtkCommonComputationalGeometryModule.h" // For export macro
60 #include "vtkMath.h" // for vtkMath::Pi()
61 #include "vtkParametricFunction.h"
62 
63 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKuen : public vtkParametricFunction
64 {
65 public:
67  void PrintSelf(ostream& os, vtkIndent indent) override;
68 
79 
83  int GetDimension() override { return 2; }
84 
86 
93  vtkSetMacro(DeltaV0, double);
94  vtkGetMacro(DeltaV0, double);
96 
105  void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
106 
111  double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
112 
113 protected:
115  ~vtkParametricKuen() override;
116 
117 private:
118  vtkParametricKuen(const vtkParametricKuen&) = delete;
119  void operator=(const vtkParametricKuen&) = delete;
120 
121  double DeltaV0;
122 };
123 
124 #endif
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract interface for parametric functions
Generate Kuens' surface.
static vtkParametricKuen * New()
Construct Kuen's surface with the following parameters: (MinimumU, MaximumU) = (-4....
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Kuen's surface.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetDimension() override
Return the parametric dimension of the class.
~vtkParametricKuen() override
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.