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 "vtkCommonComputationalGeometryModule.h" // For export macro
46 #include "vtkParametricFunction.h"
47 
49 {
50 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
58  static vtkParametricKlein *New();
59 
61  virtual int GetDimension() {return 2;}
62 
68  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
69 
78  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
79 
80 protected:
83 
84 private:
85  vtkParametricKlein(const vtkParametricKlein&); // Not implemented.
86  void operator=(const vtkParametricKlein&); // Not implemented.
87 };
88 
89 #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
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:38
static vtkObject * New()