VTK  9.2.6
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=========================================================================*/
39#ifndef vtkParametricKuen_h
40#define vtkParametricKuen_h
41
42#include "vtkCommonComputationalGeometryModule.h" // For export macro
43#include "vtkMath.h" // for vtkMath::Pi()
45
46class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKuen : public vtkParametricFunction
47{
48public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
62
66 int GetDimension() override { return 2; }
67
69
76 vtkSetMacro(DeltaV0, double);
77 vtkGetMacro(DeltaV0, double);
79
88 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
89
94 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
95
96protected:
99
100private:
101 vtkParametricKuen(const vtkParametricKuen&) = delete;
102 void operator=(const vtkParametricKuen&) = delete;
103
104 double DeltaV0;
105};
106
107#endif
a simple class to control print indentation
Definition vtkIndent.h:49
abstract interface for parametric functions
Generate Kuens' surface.
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.
static vtkParametricKuen * New()
Construct Kuen's surface with the following parameters: (MinimumU, MaximumU) = (-4....