VTK  9.7.20260929
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
40
41#ifndef vtkParametricRoman_h
42#define vtkParametricRoman_h
43
44#include "vtkCommonComputationalGeometryModule.h" // For export macro
46#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
47
48VTK_ABI_NAMESPACE_BEGIN
49class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT VTK_MARSHALAUTO vtkParametricRoman
51{
52
53public:
55 void PrintSelf(ostream& os, vtkIndent indent) override;
56
60 int GetDimension() override { return 2; }
61
73
75
78 vtkSetMacro(Radius, double);
79 vtkGetMacro(Radius, double);
81
90 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
91
105 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
106
107protected:
110
111 // Variables
112 double Radius;
113
114private:
115 vtkParametricRoman(const vtkParametricRoman&) = delete;
116 void operator=(const vtkParametricRoman&) = delete;
117};
118
119VTK_ABI_NAMESPACE_END
120#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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.
#define VTK_MARSHALAUTO