changed how time keyframes are used

This commit is contained in:
Joakim Kilby
2015-07-05 16:41:38 +02:00
parent 93e4a9b526
commit b53efe4f0e
4 changed files with 100 additions and 46 deletions

View File

@@ -86,18 +86,18 @@ public:
* Sets the current time to the specified value in seconds past the J2000 epoch. This
* value can be negative to represent dates before the epoch.
* \param value The number of seconds after the J2000 epoch
* \param requireJump Wether or not the time change is big enough to require a time-jump, defaults to false
* \param requireJump Wether or not the time change is big enough to require a time-jump, defaults to true as most calls to set time will require recomputation of planetary paths etc.
*/
void setTime(double value, bool requireJump = false);
void setTime(double value, bool requireJump = true);
/**
* Sets the current time to the specified value given as a Spice compliant string as
* described in the Spice documentation
* (http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/str2et_c.html)
* \param time The time to be set as a date string
* \param requireJump Wether or not the time change is big enough to require a time-jump, defaults to false
* \param requireJump Wether or not the time change is big enough to require a time-jump, defaults to true as most calls to set time will require recomputation of planetary paths etc.
*/
void setTime(std::string time, bool requireJump = false);
void setTime(std::string time, bool requireJump = true);
/**
* Returns the current time as the number of seconds past the J2000 epoch. If the