Public Member Functions | |
accessor () | |
accessor (const word &name) | |
~accessor ()=default | |
label & | bufferViewId () noexcept |
label & | byteOffset () noexcept |
label & | componentType () noexcept |
label & | count () noexcept |
string & | type () noexcept |
template<class Type > | |
void | set (const Field< Type > &fld, bool calcMinMax=true) |
void | write (Ostream &os) const |
template<class Type > | |
Foam::string | getValueType () |
template<class Type > | |
Foam::string | toString (const Type &val) |
![]() | |
base () | |
base (const word &name) | |
~base ()=default | |
label & | id () noexcept |
const word & | name () const noexcept |
void | write (Ostream &os) const |
void | operator= (const base &gltf) |
Static Protected Member Functions | |
template<class Type > | |
static string | getValueType () |
template<class Type > | |
static string | toString (const Type &val) |
Protected Attributes | |
label | bufferViewId_ |
label | byteOffset_ |
label | componentType_ |
label | count_ |
string | type_ |
string | max_ |
string | min_ |
bool | minMax_ |
![]() | |
word | name_ |
label | id_ |
glTF accessor
Definition at line 62 of file foamGltfAccessor.H.
accessor | ( | ) |
Definition at line 25 of file foamGltfAccessor.C.
Definition at line 39 of file foamGltfAccessor.C.
|
default |
|
staticprotected |
|
staticprotected |
|
noexcept |
Definition at line 55 of file foamGltfAccessor.C.
|
noexcept |
Definition at line 61 of file foamGltfAccessor.C.
|
noexcept |
Definition at line 67 of file foamGltfAccessor.C.
|
noexcept |
Definition at line 73 of file foamGltfAccessor.C.
|
noexcept |
Definition at line 79 of file foamGltfAccessor.C.
Definition at line 79 of file foamGltfAccessorTemplates.C.
References fld, Foam::glTF::FLOAT, Foam::glTF::key(), Foam::max(), maxValue, Foam::min(), minValue, and accessor::toString().
void write | ( | Ostream & | os | ) | const |
Definition at line 85 of file foamGltfAccessor.C.
References Foam::indent(), Foam::nl, os(), and base::write().
Referenced by Foam::operator<<().
Foam::string getValueType | ( | ) |
Definition at line 27 of file foamGltfAccessorTemplates.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Foam::string toString | ( | const Type & | val | ) |
Definition at line 61 of file foamGltfAccessorTemplates.C.
References Foam::component(), and StringStreamAllocator< StreamType >::str().
|
protected |
Definition at line 71 of file foamGltfAccessor.H.
|
protected |
Definition at line 74 of file foamGltfAccessor.H.
|
protected |
Definition at line 77 of file foamGltfAccessor.H.
|
protected |
Definition at line 80 of file foamGltfAccessor.H.
|
protected |
Definition at line 83 of file foamGltfAccessor.H.
|
protected |
Definition at line 86 of file foamGltfAccessor.H.
|
protected |
Definition at line 89 of file foamGltfAccessor.H.
|
protected |
Definition at line 92 of file foamGltfAccessor.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.