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 "vtkParametricFunction.h"
46 
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
58 
60 
61  vtkSetMacro(Radius,double);
62  vtkGetMacro(Radius,double);
64 
66  virtual int GetDimension() {return 2;}
67 
73  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
74 
83  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
84 
85 protected:
88 
89  // Variables
90  double Radius;
91 
92 private:
93  vtkParametricFigure8Klein(const vtkParametricFigure8Klein&); // Not implemented.
94  void operator=(const vtkParametricFigure8Klein&); // Not implemented.
95 
96 };
97 
98 #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)
abstract interface for parametric functions
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
Generate a figure-8 Klein bottle.
static vtkObject * New()