122 #ifndef Foam_coordSetWriters_gltfWriter_H 123 #define Foam_coordSetWriters_gltfWriter_H 134 namespace 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);
Base class for generating a colour table from node points.
Placeholder type (unnamed)
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static const Enum< fieldOption > fieldOptionNames_
Strings corresponding to the field options.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual void endTime()
End time step. Clears existing backend.
gltfWriter()
Default construct.
virtual ~gltfWriter()
Destructor. Calls close()
fieldOption
Field option used for colours.
Holds list of sampling positions.
Generic templated field type.
A class for handling words, derived from Foam::string.
Base class for writing coordSet(s) and tracks with fields.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
virtual void beginTime(const Time &t)
Begin time step. Clears existing backend.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual fileName path() const
Expected (characteristic) output file name - information only.
TypeNameNoDebug("gltf")
Runtime type information (no debug)
virtual void close(bool force=false)
Close and reset, clears backend.
Forward declarations for exposed glTF interfaces.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name...
A coordSet(s) writer in glTF v2 format, which is particularly useful for writing track data...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
declareCoordSetWriterWriteMethod(label)
Tensor of scalars, i.e. Tensor<scalar>.