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