

Classes | |
| struct | glTFChannel |
| struct | glTFSampler |
| struct | glTFTarget |
Public Member Functions | |
| animation () | |
| Default construct. More... | |
| animation (const word &name) | |
| Construct with name. More... | |
| ~animation ()=default | |
| Destructor. More... | |
| void | addTranslation (const label inputId, const label outputId, const label nodeId, const string &interpolation) |
| Add translation. More... | |
| void | write (Ostream &os) const |
| Write. More... | |
Public Member Functions inherited from base | |
| base () | |
| Default construct. More... | |
| base (const word &name) | |
| Construct with name. More... | |
| ~base ()=default | |
| Destructor. More... | |
| label & | id () noexcept |
| Return access to the ID. More... | |
| const word & | name () const noexcept |
| Return const access to the name. More... | |
| void | write (Ostream &os) const |
| Write. More... | |
| void | operator= (const base &gltf) |
Protected Attributes | |
| DynamicList< glTFSampler > | samplers_ |
| Samplers. More... | |
| DynamicList< glTFChannel > | channels_ |
| Channels. More... | |
Protected Attributes inherited from base | |
| word | name_ |
| Name. More... | |
| label | id_ |
| ID. More... | |
glTF animation
Definition at line 61 of file foamGltfAnimation.H.
| animation | ( | ) |
Default construct.
Definition at line 25 of file foamGltfAnimation.C.
Construct with name.
Definition at line 33 of file foamGltfAnimation.C.
|
default |
Destructor.
| void addTranslation | ( | const label | inputId, |
| const label | outputId, | ||
| const label | nodeId, | ||
| const string & | interpolation | ||
| ) |
Add translation.
Definition at line 44 of file foamGltfAnimation.C.
References animation::glTFSampler::input, animation::glTFSampler::interpolation, animation::glTFTarget::node, animation::glTFSampler::output, animation::glTFTarget::path, animation::glTFChannel::samplerId, and animation::glTFChannel::target.
| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 65 of file foamGltfAnimation.C.
References Foam::decrIndent(), forAll, Foam::incrIndent(), Foam::indent(), Foam::nl, and os().
Referenced by Foam::operator<<().


|
protected |
Samplers.
Definition at line 98 of file foamGltfAnimation.H.
|
protected |
Channels.
Definition at line 103 of file foamGltfAnimation.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.