VTK
dox/Common/ComputationalGeometry/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 "vtkCommonComputationalGeometryModule.h" // For export macro
00039 #include "vtkParametricFunction.h"
00040 
00041 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricBoy : public vtkParametricFunction
00042 {
00043 public:
00044 
00045   vtkTypeMacro(vtkParametricBoy,vtkParametricFunction);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00052   static vtkParametricBoy *New();
00053 
00055   virtual int GetDimension() {return 2;}
00056 
00058 
00060   vtkSetMacro(ZScale,double);
00061   vtkGetMacro(ZScale,double);
00063 
00069   virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]);
00070 
00079   virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]);
00080 
00081 protected:
00082   vtkParametricBoy();
00083   ~vtkParametricBoy();
00084 
00085   // Variables
00086   double ZScale;
00087 
00088 private:
00089   vtkParametricBoy(const vtkParametricBoy&);  // Not implemented.
00090   void operator=(const vtkParametricBoy&);  // Not implemented.
00091 };
00092 
00093 #endif