VTK
vtkParametricDini.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricDini.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 =========================================================================*/
35 #ifndef vtkParametricDini_h
36 #define vtkParametricDini_h
37 
38 #include "vtkCommonComputationalGeometryModule.h" // For export macro
39 #include "vtkParametricFunction.h"
40 
42 {
43 public:
44 
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
52  static vtkParametricDini *New();
53 
55  virtual int GetDimension() {return 2;}
56 
58 
60  vtkSetMacro(A,double);
61  vtkGetMacro(A,double);
63 
65 
67  vtkSetMacro(B,double);
68  vtkGetMacro(B,double);
70 
76  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
77 
86  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
87 
88 protected:
91 
92  // Variables
93  double A;
94  double B;
95 
96 private:
97  vtkParametricDini(const vtkParametricDini&); // Not implemented.
98  void operator=(const vtkParametricDini&); // Not implemented.
99 };
100 
101 #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
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int GetDimension()
static vtkObject * New()
Generate Dini's surface.