_curve.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*! ========================================================================
  2. ** Extended Template Library
  3. ** Curve Class Implementation
  4. **
  5. ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
  6. **
  7. ** This package is free software; you can redistribute it and/or
  8. ** modify it under the terms of the GNU General Public License as
  9. ** published by the Free Software Foundation; either version 2 of
  10. ** the License, or (at your option) any later version.
  11. **
  12. ** This package is distributed in the hope that it will be useful,
  13. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. ** General Public License for more details.
  16. **
  17. ** === N O T E S ===========================================================
  18. **
  19. ** This is an internal header file, included by other ETL headers.
  20. ** You should not attempt to use it directly.
  21. **
  22. ** ========================================================================= */
  23. #ifndef __ETL__CURVE_H
  24. #define __ETL__CURVE_H
  25. #include "_hermite.h"
  26. #include <vector>
  27. _ETL_BEGIN_NAMESPACE
  28. /*
  29. #ifdef AUTO
  30. #undef AUTO
  31. #endif
  32. #ifdef LINEAR
  33. #undef LINEAR
  34. #endif
  35. #ifdef ABSOLUTE
  36. #undef ABSOLUTE
  37. #endif
  38. #ifdef FAST_TO_SLOW
  39. #undef FAST_TO_SLOW
  40. #endif
  41. template<typename T>
  42. class curve
  43. {
  44. public:
  45. typedef T value_type;
  46. private:
  47. enum interpolate_type
  48. {
  49. AUTO,
  50. LINEAR,
  51. ABSOLUTE,
  52. FAST_TO_SLOW,
  53. };
  54. public:
  55. };
  56. */
  57. _ETL_END_NAMESPACE
  58. #endif