VTK
vtkParametricRoman.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricRoman.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 vtkParametricRoman_h
34 #define vtkParametricRoman_h
35 
36 #include "vtkCommonComputationalGeometryModule.h" // For export macro
37 #include "vtkParametricFunction.h"
38 
40 {
41 
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47  virtual int GetDimension() {return 2;}
48 
53  static vtkParametricRoman *New();
54 
56 
57  vtkSetMacro(Radius,double);
58  vtkGetMacro(Radius,double);
60 
66  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
67 
76  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
77 
78 
79 protected:
82 
83  // Variables
84  double Radius;
85 
86 private:
87  vtkParametricRoman(const vtkParametricRoman&); // Not implemented.
88  void operator=(const vtkParametricRoman&); // Not implemented.
89 };
90 
91 #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
Generate Steiner's Roman Surface.
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
virtual int GetDimension()
static vtkObject * New()