NVIDIA IndeX API nvidia_logo_transpbg.gif Up
itime_mapping.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_ITIME_MAPPING_H
8#define NVIDIA_INDEX_ITIME_MAPPING_H
9
10#include <mi/base/interface_declare.h>
11#include <mi/dice.h>
12
13#include <mi/base/types.h>
14
15#include <nv/index/iattribute.h>
16
17namespace nv
18{
19namespace index
20{
21
30 public mi::base::Interface_declare<0xaaf6c278,0xf36f,0x4d00,0x83,0xd6,0xff,0x9e,0x4a,0xb3,0x2d,0x57>
31{
32public:
37 virtual mi::Float64 get_tick() = 0;
38
43 virtual mi::Float64 get_start() const = 0;
44
49 virtual mi::Float64 get_end() const = 0;
50};
51
60 public mi::base::Interface_declare<0x9202feb1,0x4c0f,0x442a,0xfd,0x34,0x4d,0x1b,0x30,0x3d,0xa1,0xad,
61 nv::index::IAttribute>
62{
63public:
68 virtual mi::Uint64 get_nb_time_steps() const = 0;
73 virtual void set_nb_time_steps(mi::Uint64 steps) = 0;
74
83 virtual mi::Uint64 get_time_step(
84 mi::Float64 current,
85 mi::Float64 start,
86 mi::Float64 end) const = 0;
87};
88
89}} // namespace index / nv
90
91#endif // NVIDIA_INDEX_ITIME_MAPPING_H
The interface class IClock_pulse_generator generates the time for playing animations.
Definition: itime_mapping.h:31
virtual mi::Float64 get_start() const =0
The start point of the time interval in which a time-dependent visualization is defined.
virtual mi::Float64 get_tick()=0
The point in time.
virtual mi::Float64 get_end() const =0
The end point of the time interval in which a time-dependent visualization is defined.
The interface class ITime_step_assignment maps absolute time to time steps (or key frames).
Definition: itime_mapping.h:62
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.
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.
virtual mi::Uint64 get_nb_time_steps() const =0
The number of time steps (or key frames) a distributed large-scale dataset shall provide.
Base class representing attributes that can be defined in a scene description.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349