40#ifndef foam_gltf_mesh_H
41#define foam_gltf_mesh_H
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const word & name() const noexcept
Return const access to the name.
~mesh()=default
Destructor.
void addColour(const label accessorId)
Add a colour to the mesh.
void write(Ostream &os) const
Write.
label & accessorId() noexcept
Return the accessor ID.
void addField(const word &name, const label accessorId)
Add a field to the mesh.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Namespace for handling glTF creation. https://www.khronos.org/registry/glTF/.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).