VTK  9.2.6
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 =========================================================================*/
41 #ifndef vtkParametricBohemianDome_h
42 #define vtkParametricBohemianDome_h
43 
44 #include "vtkCommonComputationalGeometryModule.h" // For export macro
45 #include "vtkParametricFunction.h"
46 
47 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricBohemianDome : public vtkParametricFunction
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
57  vtkGetMacro(A, double);
58  vtkSetMacro(A, double);
60 
61  vtkGetMacro(B, double);
62  vtkSetMacro(B, double);
63 
64  vtkGetMacro(C, double);
65  vtkSetMacro(C, double);
66 
67  // (MinimumU, MaximumU) = (-pi, pi),
68  // (MinimumV, MaximumV) = (-pi, pi),
69  // JoinU = 1, JoinV = 1,
70  // TwistU = 0, TwistV = 0;
71  // ClockwiseOrdering = 0,
72  // DerivativesAvailable = 1,
74 
78  int GetDimension() override { return 2; }
79 
88  void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
89 
94  double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
95 
96 protected:
99 
100  // Variables
101  double A;
102  double B;
103  double C;
104 
105 private:
107  void operator=(const vtkParametricBohemianDome&) = delete;
108 };
109 
110 #endif
a simple class to control print indentation
Definition: vtkIndent.h:49
Generate a Bohemian dome.
int GetDimension() override
Return the parametric dimension of the class.
static vtkParametricBohemianDome * New()
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
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