VTK
vtkParametricFigure8Klein.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricFigure8Klein.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 =========================================================================*/
42 #ifndef vtkParametricFigure8Klein_h
43 #define vtkParametricFigure8Klein_h
44 
45 #include "vtkCommonComputationalGeometryModule.h" // For export macro
46 #include "vtkParametricFunction.h"
47 
49 {
50 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
59 
61 
62  vtkSetMacro(Radius,double);
63  vtkGetMacro(Radius,double);
65 
67  virtual int GetDimension() {return 2;}
68 
74  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
75 
84  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
85 
86 protected:
89 
90  // Variables
91  double Radius;
92 
93 private:
94  vtkParametricFigure8Klein(const vtkParametricFigure8Klein&); // Not implemented.
95  void operator=(const vtkParametricFigure8Klein&); // Not implemented.
96 
97 };
98 
99 #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 figure-8 Klein bottle.
static vtkObject * New()