41#ifndef foam_gltf_object_H
42#define foam_gltf_object_H
87 template<
class Type1,
class Type2>
88 void addData(
const Type1& fld1,
const Type2& fld2);
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base class for glTF entities.
const word & name() const noexcept
Return const access to the name.
const Foam::List< float > & data() const noexcept
Return const access to the data buffer.
object()
Default construct.
void addData(const Type &fld)
Add data to the buffer.
A class for handling words, derived from Foam::string.