VTK  9.1.0
vtkParametricBohemianDome.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkParametricBohemianDome.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=========================================================================*/
38#ifndef vtkParametricBohemianDome_h
39#define vtkParametricBohemianDome_h
40
41#include "vtkCommonComputationalGeometryModule.h" // For export macro
43
44class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricBohemianDome : public vtkParametricFunction
45{
46public:
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51
54 vtkGetMacro(A, double);
55 vtkSetMacro(A, double);
57
58 vtkGetMacro(B, double);
59 vtkSetMacro(B, double);
60
61 vtkGetMacro(C, double);
62 vtkSetMacro(C, double);
63
64 // (MinimumU, MaximumU) = (-pi, pi),
65 // (MinimumV, MaximumV) = (-pi, pi),
66 // JoinU = 1, JoinV = 1,
67 // TwistU = 0, TwistV = 0;
68 // ClockwiseOrdering = 0,
69 // DerivativesAvailable = 1,
71
75 int GetDimension() override { return 2; }
76
85 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
86
91 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
92
93protected:
96
97 // Variables
98 double A;
99 double B;
100 double C;
101
102private:
104 void operator=(const vtkParametricBohemianDome&) = delete;
105};
106
107#endif
a simple class to control print indentation
Definition: vtkIndent.h:43
Generate a Bohemian dome.
int GetDimension() override
Return the parametric dimension of the class.
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.
~vtkParametricBohemianDome() override
static vtkParametricBohemianDome * New()
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
BohemianDome surface.
abstract interface for parametric functions