Horizon
Loading...
Searching...
No Matches
src
util
msd_animator.hpp
1
#pragma once
2
#include "msd.hpp"
3
4
namespace
horizon {
5
class
MSDAnimator
{
6
public
:
7
bool
step(
double
time);
8
double
get_s()
const
;
9
void
start(
double
init = 0);
10
float
target = 0;
11
bool
is_running()
const
;
12
13
void
set_params(
const
MSD::Params
&p);
14
const
MSD::Params
&get_params()
const
;
15
16
private
:
17
MSD
msd;
18
bool
running =
false
;
19
double
start_time = 0;
20
};
21
}
// namespace horizon
horizon::MSDAnimator
Definition
msd_animator.hpp:5
horizon::MSD
Definition
msd.hpp:4
horizon::MSD::Params
Definition
msd.hpp:13
Generated by
1.9.8