VTK
vtkParametricKlein.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricKlein.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 __vtkParametricKlein_h
43 #define __vtkParametricKlein_h
44 
45 #include "vtkParametricFunction.h"
46 
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
57  static vtkParametricKlein *New();
58 
60  virtual int GetDimension() {return 2;}
61 
67  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
68 
77  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
78 
79 protected:
82 
83 private:
84  vtkParametricKlein(const vtkParametricKlein&); // Not implemented.
85  void operator=(const vtkParametricKlein&); // Not implemented.
86 };
87 
88 #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
Generates a "classical" representation of a Klein bottle.
virtual int GetDimension()
Initialise the parameters for the Klein bottle.
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
static vtkObject * New()