00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkParametricCrossCap.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 __vtkParametricCrossCap_h 00036 #define __vtkParametricCrossCap_h 00037 00038 #include "vtkParametricFunction.h" 00039 00040 class VTK_COMMON_EXPORT vtkParametricCrossCap : public vtkParametricFunction 00041 { 00042 public: 00043 00044 vtkTypeMacro(vtkParametricCrossCap,vtkParametricFunction); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00051 static vtkParametricCrossCap *New(); 00052 00054 virtual int GetDimension() {return 2;} 00055 00061 virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9]); 00062 00071 virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]); 00072 00073 protected: 00074 vtkParametricCrossCap(); 00075 ~vtkParametricCrossCap(); 00076 00077 private: 00078 vtkParametricCrossCap(const vtkParametricCrossCap&); // Not implemented. 00079 void operator=(const vtkParametricCrossCap&); // Not implemented. 00080 }; 00081 00082 #endif