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