The interface class ITime_step_assignment
maps absolute time to time steps (or key frames).
More...
#include <itime_mapping.h>
Inherits mi::base::Interface_declare< 0x9202feb1, ... >.
|
virtual mi::Uint64 | get_nb_time_steps () const =0 |
| The number of time steps (or key frames) a distributed large-scale dataset shall provide. More...
|
|
virtual void | set_nb_time_steps (mi::Uint64 steps)=0 |
| The number of time steps (or key frames) a distributed large-scale dataset shall provide. More...
|
|
virtual mi::Uint64 | get_time_step (mi::Float64 current, mi::Float64 start, mi::Float64 end) const =0 |
| Maps an absolute point in time to a time step. More...
|
|
The interface class ITime_step_assignment
maps absolute time to time steps (or key frames).
The attribute defines how many time steps shall be imported for a large-scale dataset in the scene. The attribute also allows deriving various/custom mapping techniques.
◆ get_nb_time_steps()
virtual mi::Uint64 nv::index::ITime_step_assignment::get_nb_time_steps |
( |
| ) |
const |
|
pure virtual |
The number of time steps (or key frames) a distributed large-scale dataset shall provide.
- Returns
- Returns the number of time steps.
◆ get_time_step()
virtual mi::Uint64 nv::index::ITime_step_assignment::get_time_step |
( |
mi::Float64 |
current, |
|
|
mi::Float64 |
start, |
|
|
mi::Float64 |
end |
|
) |
| const |
|
pure virtual |
Maps an absolute point in time to a time step.
- Parameters
-
[in] | current | The absolute point in time that maps to a time stamp. |
[in] | start | The start time of the global time interval. |
[in] | end | The end time of the global time interval. |
- Returns
- Returns the time step for the given time stamp.
◆ set_nb_time_steps()
virtual void nv::index::ITime_step_assignment::set_nb_time_steps |
( |
mi::Uint64 |
steps | ) |
|
|
pure virtual |
The number of time steps (or key frames) a distributed large-scale dataset shall provide.
- Parameters
-
[in] | steps | The number of time steps. |
The documentation for this class was generated from the following file: