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 "vtkParametricFunction.h"
37 
39 {
40 
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46  virtual int GetDimension() {return 2;}
47 
52  static vtkParametricRoman *New();
53 
55 
56  vtkSetMacro(Radius,double);
57  vtkGetMacro(Radius,double);
59 
65  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
66 
75  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
76 
77 
78 protected:
81 
82  // Variables
83  double Radius;
84 
85 private:
86  vtkParametricRoman(const vtkParametricRoman&); // Not implemented.
87  void operator=(const vtkParametricRoman&); // Not implemented.
88 };
89 
90 #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)
abstract interface for parametric functions
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int GetDimension()
#define VTK_COMMON_EXPORT
static vtkObject * New()