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 "vtkParametricFunction.h"
39 
41 {
42 public:
43 
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
51  static vtkParametricDini *New();
52 
54  virtual int GetDimension() {return 2;}
55 
57 
58  vtkSetMacro(A,double);
59  vtkGetMacro(A,double);
61 
63 
64  vtkSetMacro(B,double);
65  vtkGetMacro(B,double);
67 
73  virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
74 
83  virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
84 
85 protected:
88 
89  // Variables
90  double A;
91  double B;
92 
93 private:
94  vtkParametricDini(const vtkParametricDini&); // Not implemented.
95  void operator=(const vtkParametricDini&); // Not implemented.
96 };
97 
98 #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
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
virtual int GetDimension()
static vtkObject * New()
Generate Dini's surface.