

Public Member Functions | |
| mesh () | |
| Default construct. More... | |
| mesh (const word &name) | |
| Construct from name. More... | |
| ~mesh ()=default | |
| Destructor. More... | |
| label & | accessorId () noexcept |
| Return the accessor ID. More... | |
| void | addField (const word &name, const label accessorId) |
| Add a field to the mesh. More... | |
| void | addColour (const label accessorId) |
| Add a colour to the mesh. 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) |
Additional Inherited Members | |
Protected Attributes inherited from base | |
| word | name_ |
| Name. More... | |
| label | id_ |
| ID. More... | |
glTF mesh
Definition at line 60 of file foamGltfMesh.H.
| mesh | ( | ) |
Default construct.
Definition at line 25 of file foamGltfMesh.C.
Construct from name.
Definition at line 34 of file foamGltfMesh.C.
|
default |
Destructor.
|
noexcept |
Return the accessor ID.
Definition at line 45 of file foamGltfMesh.C.
| void addField | ( | const word & | name, |
| const label | accessorId | ||
| ) |
Add a field to the mesh.
Definition at line 51 of file foamGltfMesh.C.
References Foam::name().

| void addColour | ( | const label | accessorId | ) |
Add a colour to the mesh.
Definition at line 57 of file foamGltfMesh.C.
References Foam::name().

| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 70 of file foamGltfMesh.C.
References Foam::constant::universal::c, Foam::decrIndent(), f(), Foam::incrIndent(), Foam::indent(), Foam::nl, os(), and base::write().
