VTK  9.3.0
vtkParametricRoman.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
31#ifndef vtkParametricRoman_h
32#define vtkParametricRoman_h
33
34#include "vtkCommonComputationalGeometryModule.h" // For export macro
36
37VTK_ABI_NAMESPACE_BEGIN
38class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricRoman : public vtkParametricFunction
39{
40
41public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
48 int GetDimension() override { return 2; }
49
61
63
66 vtkSetMacro(Radius, double);
67 vtkGetMacro(Radius, double);
69
78 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
79
93 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
94
95protected:
98
99 // Variables
100 double Radius;
101
102private:
103 vtkParametricRoman(const vtkParametricRoman&) = delete;
104 void operator=(const vtkParametricRoman&) = delete;
105};
106
107VTK_ABI_NAMESPACE_END
108#endif
a simple class to control print indentation
Definition vtkIndent.h:38
abstract interface for parametric functions
Generate Steiner's Roman Surface.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkParametricRoman * New()
Construct Steiner's Roman Surface with the following parameters: MinimumU = 0, MaximumU = Pi,...
~vtkParametricRoman() 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.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Steiner's Roman Surface.
int GetDimension() override
Return the parametric dimension of the class.