Go to the documentation of this file.
81 <<
indent <<
"\"POSITION\" : " << accessorId_;
83 for (
const auto&
f : fields_)
85 os <<
"," <<
nl <<
indent <<
f.first() <<
" : " <<
f.second();
88 for (
const auto&
c : colours_)
90 os <<
"," <<
nl <<
indent <<
c.first() <<
" : " <<
c.second();
A class for handling words, derived from Foam::string.
label & accessorId() noexcept
Ostream & incrIndent(Ostream &os)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Base class for glTF entities.
void write(Ostream &os) const
void write(Ostream &os) const
OBJstream os(runTime.globalPath()/outputName)
void addColour(const label accessorId)
Ostream & decrIndent(Ostream &os)
Ostream & indent(Ostream &os)
void addField(const word &name, const label accessorId)
const dimensionedScalar c
word name(const expressions::valueTypeCode typeCode)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...