VTK  9.1.0
vtkParametricDini.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkParametricDini.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=========================================================================*/
51#ifndef vtkParametricDini_h
52#define vtkParametricDini_h
53
54#include "vtkCommonComputationalGeometryModule.h" // For export macro
56
57class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricDini : public vtkParametricFunction
58{
59public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
74
78 int GetDimension() override { return 2; }
79
81
86 vtkSetMacro(A, double);
87 vtkGetMacro(A, double);
89
91
96 vtkSetMacro(B, double);
97 vtkGetMacro(B, double);
99
108 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
109
123 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
124
125protected:
128
129 // Variables
130 double A;
131 double B;
132
133private:
134 vtkParametricDini(const vtkParametricDini&) = delete;
135 void operator=(const vtkParametricDini&) = delete;
136};
137
138#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Generate Dini's surface.
int GetDimension() override
Return the parametric dimension of the class.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Dini's surface.
static vtkParametricDini * New()
Construct Dini's surface with the following parameters: MinimumU = 0, MaximumU = 4*Pi,...
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.
~vtkParametricDini() override
abstract interface for parametric functions