VTK: Common/ComputationalGeometry/vtkParametricRoman.h Source File

| VTK 9.3.1

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