VTK
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 =========================================================================*/
30 #ifndef vtkParametricBohemianDome_h
31 #define vtkParametricBohemianDome_h
32 
33 #include "vtkCommonComputationalGeometryModule.h" // For export macro
34 #include "vtkParametricFunction.h"
35 
37 {
38 public:
39 
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  vtkGetMacro(A, double);
46  vtkSetMacro(A, double);
48 
49  vtkGetMacro(B, double);
50  vtkSetMacro(B, double);
51 
52  vtkGetMacro(C, double);
53  vtkSetMacro(C, double);
54 
55  // (MinimumU, MaximumU) = (-pi, pi),
56  // (MinimumV, MaximumV) = (-pi, pi),
57  // JoinU = 1, JoinV = 1,
58  // TwistU = 0, TwistV = 0;
59  // ClockwiseOrdering = 1,
60  // DerivativesAvailable = 1,
62 
64  virtual int GetDimension() {return 2;}
65 
71  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
72 
75  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
76 
77 protected:
80 
81  // Variables
82  double A;
83  double B;
84  double C;
85 
86 private:
87  vtkParametricBohemianDome(const vtkParametricBohemianDome&); // Not implemented.
88  void operator=(const vtkParametricBohemianDome&); // Not implemented.
89 };
90 
91 #endif
virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9])=0
virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9])=0
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT
abstract interface for parametric functions
a simple class to control print indentation
Definition: vtkIndent.h:38
Generate a Bohemian dome.
static vtkObject * New()