VTK  9.4.20250406
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
41#ifndef vtkParametricRoman_h
42#define vtkParametricRoman_h
43
44#include "vtkCommonComputationalGeometryModule.h" // For export macro
46
47VTK_ABI_NAMESPACE_BEGIN
48class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricRoman : public vtkParametricFunction
49{
50
51public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
58 int GetDimension() override { return 2; }
59
71
73
76 vtkSetMacro(Radius, double);
77 vtkGetMacro(Radius, double);
79
88 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
89
103 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
104
105protected:
108
109 // Variables
110 double Radius;
111
112private:
113 vtkParametricRoman(const vtkParametricRoman&) = delete;
114 void operator=(const vtkParametricRoman&) = delete;
115};
116
117VTK_ABI_NAMESPACE_END
118#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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.