VTK
vtkParametricMobius.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricMobius.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 =========================================================================*/
33 #ifndef __vtkParametricMobius_h
34 #define __vtkParametricMobius_h
35 
36 #include "vtkParametricFunction.h"
37 
39 {
40 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
48  static vtkParametricMobius *New();
49 
51 
52  vtkSetMacro(Radius,double);
53  vtkGetMacro(Radius,double);
55 
57  virtual int GetDimension() {return 2;}
58 
64  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
65 
74  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
75 
76 protected:
79 
80  // Variables
81  double Radius;
82 
83 private:
84  vtkParametricMobius(const vtkParametricMobius&); // Not implemented.
85  void operator=(const vtkParametricMobius&); // Not implemented.
86 };
87 
88 #endif