samporbit.h
Upload User: center1979
Upload Date: 2022-07-26
Package Size: 50633k
Code Size: 1k
Category:

OpenGL program

Development Platform:

Visual C++

  1. // samporbit.h
  2. //
  3. // Copyright (C) 2002-2007, Chris Laurel <claurel@gmail.com>
  4. //
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9. #ifndef _CELENGINE_SAMPORBIT_H_
  10. #define _CELENGINE_SAMPORBIT_H_
  11. #include <string>
  12. #include <celengine/orbit.h>
  13. enum TrajectoryInterpolation
  14. {
  15.     TrajectoryInterpolationLinear,
  16.     TrajectoryInterpolationCubic,
  17. };
  18. enum TrajectoryPrecision
  19. {
  20.     TrajectoryPrecisionSingle,
  21.     TrajectoryPrecisionDouble
  22. };
  23. extern Orbit* LoadSampledTrajectoryDoublePrec(const std::string& name, TrajectoryInterpolation interpolation);
  24. extern Orbit* LoadSampledTrajectorySinglePrec(const std::string& name, TrajectoryInterpolation interpolation);
  25. extern Orbit* LoadXYZVTrajectoryDoublePrec(const std::string& name, TrajectoryInterpolation interpolation);
  26. extern Orbit* LoadXYZVTrajectorySinglePrec(const std::string& name, TrajectoryInterpolation interpolation);
  27. #endif // _CELENGINE_SAMPORBIT_H_