VTK
dox/Common/vtkParametricBoy.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkParametricBoy.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even 
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00035 #ifndef __vtkParametricBoy_h
00036 #define __vtkParametricBoy_h
00037 
00038 #include "vtkParametricFunction.h"
00039 
00040 class VTK_COMMON_EXPORT vtkParametricBoy : public vtkParametricFunction
00041 {
00042 public:
00043 
00044   vtkTypeMacro(vtkParametricBoy,vtkParametricFunction);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046   
00051   static vtkParametricBoy *New();
00052 
00054   virtual int GetDimension() {return 2;}
00055 
00057 
00059   vtkSetMacro(ZScale,double);
00060   vtkGetMacro(ZScale,double);
00062 
00068   virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
00069 
00078   virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
00079 
00080 protected:
00081   vtkParametricBoy();
00082   ~vtkParametricBoy();
00083 
00084   // Variables
00085   double ZScale;
00086 
00087 private:
00088   vtkParametricBoy(const vtkParametricBoy&);  // Not implemented.
00089   void operator=(const vtkParametricBoy&);  // Not implemented.
00090 };
00091 
00092 #endif