Go to the documentation of this file.
129 #ifndef writers_gltfSetWriter_H
130 #define writers_gltfSetWriter_H
191 scalar getFieldMin(
const word& fieldName)
const;
194 scalar getFieldMax(
const word& fieldName)
const;
214 vector getTrackAnimationColour
266 const bool writeTracks,
277 const bool writeTracks,
288 const bool writeTracks,
gltfSetWriter()
Default construct.
A class for handling words, derived from Foam::string.
A class for handling file names.
A class for managing temporary objects.
TypeName("gltf")
Runtime type information.
static const Enum< fieldOption > fieldOptionNames_
Strings corresponding to the field options.
virtual fileName getFileName(const coordSet &, const wordList &) const
Return the file name.
Set of directions for each cell in the mesh. Either uniform and size=1 or one set of directions per c...
Writes point data in glTF v2 format.
virtual void writeStaticTracks(const bool writeTracks, const List< scalarField > ×, const PtrList< coordSet > &tracks, const wordList &valueSetNames, const List< List< Field< Type >>> &valueSets, Ostream &) const
Write static tracks.
Generic templated field type.
virtual ~gltfSetWriter()=default
Destructor.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base class for graphics format writing. Entry points are.
Holds list of sampling positions.
virtual void writeAnimateTracks(const bool writeTracks, const List< scalarField > ×, const PtrList< coordSet > &tracks, const wordList &valueSetNames, const List< List< Field< Type >>> &valueSets, Ostream &) const
Write animated tracks.
fieldOption
Field option used for colours.
Base class for generating a colour table from node points.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const
Write.