122#ifndef Foam_coordSetWriters_gltfWriter_H
123#define Foam_coordSetWriters_gltfWriter_H
134namespace coordSetWriters
179 word animateColourName_;
182 vector animateColourValue_;
206 void setupAnimationColour();
216 const word& fieldName,
224 const word& fieldName,
232 const word& fieldName,
240 const word& fieldName,
286 virtual void close(
bool force =
false);
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Generic templated field type.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Base class for generating a colour table from node points.
Base class for writing coordSet(s) and tracks with fields.
A coordSet(s) writer in glTF v2 format, which is particularly useful for writing track data.
fieldOption
Field option used for colours.
@ NONE
Placeholder type (unnamed)
virtual void endTime()
End time step. Clears existing backend.
virtual void beginTime(const Time &t)
Begin time step. Clears existing backend.
declareCoordSetWriterWriteMethod(vector)
declareCoordSetWriterWriteMethod(label)
gltfWriter()
Default construct.
declareCoordSetWriterWriteMethod(tensor)
declareCoordSetWriterWriteMethod(sphericalTensor)
static const Enum< fieldOption > fieldOptionNames_
Strings corresponding to the field options.
declareCoordSetWriterWriteMethod(symmTensor)
virtual fileName path() const
Expected (characteristic) output file name - information only.
virtual ~gltfWriter()
Destructor. Calls close()
TypeNameNoDebug("gltf")
Runtime type information (no debug)
declareCoordSetWriterWriteMethod(scalar)
virtual void close(bool force=false)
Close and reset, clears backend.
Holds list of sampling positions.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define declareCoordSetWriterWriteMethod(Type)
Forward declarations for exposed glTF interfaces.
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.