128#ifndef Foam_coordSetWriters_gltfWriter_H
129#define Foam_coordSetWriters_gltfWriter_H
185 word animateColourName_;
188 vector animateColourValue_;
212 void setupAnimationColour();
222 const word& fieldName,
230 const word& fieldName,
238 const word& fieldName,
246 const word& fieldName,
292 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 that is much like a Foam::List except that it is expected to hold numeri...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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.
coordSetWriter(const coordSetWriter &)=delete
No copy construct.
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.
List< label > labelList
A List of labels.
MinMax< scalar > scalarMinMax
A scalar min/max range.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.