Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
c
d
e
f
h
i
k
l
m
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
i
l
m
n
o
p
r
t
u
Related Functions
b
g
h
o
s
t
Files
File List
File Members
All
_
a
c
g
h
j
n
o
p
s
t
u
v
w
Functions
a
c
g
h
j
n
o
p
s
t
u
v
w
Variables
Typedefs
a
g
n
p
s
t
u
Enumerations
Enumerator
Macros
_
a
g
n
p
s
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
eval.h
1
//
2
// Copyright 2024 Pixar
3
//
4
// Licensed under the terms set forth in the LICENSE.txt file available at
5
// https://openusd.org/license.
6
//
7
8
#ifndef PXR_BASE_TS_EVAL_H
9
#define PXR_BASE_TS_EVAL_H
10
11
#include "
pxr/pxr.h
"
12
#include "pxr/base/ts/api.h"
13
#include "pxr/base/ts/types.h"
14
15
#include <optional>
16
17
PXR_NAMESPACE_OPEN_SCOPE
18
19
struct
Ts_SplineData;
20
21
22
enum
Ts_EvalAspect
23
{
24
Ts_EvalValue,
25
Ts_EvalHeldValue,
26
Ts_EvalDerivative
27
};
28
29
enum
Ts_EvalLocation
30
{
31
Ts_EvalPre,
32
Ts_EvalAtTime,
// AtTime is implemented identically to Post,
33
// but the intent of Post is a limit, while AtTime is exact.
34
Ts_EvalPost
35
};
36
37
38
// Evaluates a spline's value or derivative at a given time. An empty return
39
// value means there is no value or derivative at all.
40
//
41
TS_API
42
std::optional<double>
43
Ts_Eval(
44
const
Ts_SplineData *data,
45
TsTime time,
46
Ts_EvalAspect aspect,
47
Ts_EvalLocation location);
48
49
50
PXR_NAMESPACE_CLOSE_SCOPE
51
52
#endif
pxr.h
pxr
base
ts
eval.h
© Copyright 2024, Pixar Animation Studios. |
Terms of Use
| Generated on Thu Oct 24 2024 22:27:06 by
1.9.6