00001 //*************************************************************************** 00002 #ifndef BSPLINE_H 00003 #define BSPLINE_H 00004 //*************************************************************************** 00005 #include <GL/gl.h> 00006 #include <GL/glu.h> 00007 #include "colormap.h" 00008 //*************************************************************************** 00009 class BSpline 00010 { 00011 private: 00012 int num_pts_per_segment; 00013 float (*B)[4]; 00014 00015 public: 00016 BSpline(int n = 3); 00017 ~BSpline(); 00018 void Draw(float (*cp)[3], int n); 00019 void Draw(float (*cp)[3], int n, double *val, ColorMap *colormap); 00020 }; 00021 //*************************************************************************** 00022 #endif // BSPLINE_H 00023 //***************************************************************************
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001