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=========================================================================*/
48#ifndef vtkParametricBohemianDome_h
49#define vtkParametricBohemianDome_h
50
51#include "vtkCommonComputationalGeometryModule.h" // For export macro
53
54class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricBohemianDome : public vtkParametricFunction
55{
56public:
58 void PrintSelf(ostream& os, vtkIndent indent) override;
59
61
64 vtkGetMacro(A, double);
65 vtkSetMacro(A, double);
67
68 vtkGetMacro(B, double);
69 vtkSetMacro(B, double);
70
71 vtkGetMacro(C, double);
72 vtkSetMacro(C, double);
73
74 // (MinimumU, MaximumU) = (-pi, pi),
75 // (MinimumV, MaximumV) = (-pi, pi),
76 // JoinU = 1, JoinV = 1,
77 // TwistU = 0, TwistV = 0;
78 // ClockwiseOrdering = 0,
79 // DerivativesAvailable = 1,
81
85 int GetDimension() override { return 2; }
86
95 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
96
101 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
102
103protected:
106
107 // Variables
108 double A;
109 double B;
110 double C;
111
112private:
114 void operator=(const vtkParametricBohemianDome&) = delete;
115};
116
117#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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