64 vtk::legacy::fileHeader<vtk::fileTag::POLY_DATA>
93 vtk::legacy::intField<1>(
format,
"region", nFaces);
114 const label nFaces = zoneIds.
size();
117 vtk::legacy::intField<1>(
format,
"region", nFaces);
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
bool append() const noexcept
True if output format uses an append mode.
A surface zone on a MeshedSurface.
static unsigned int defaultPrecision() noexcept
Return the default precision.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
void beginPoints(std::ostream &os, label nPoints)
Emit header for POINTS (with trailing newline).
unsigned precision() const noexcept
Return the ASCII write precision.
static std::string dateTime()
The current wall-clock date/time (in local time) as a string in ISO-8601 format (yyyy-mm-ddThh:mm:ss)...
void beginCellData(vtk::formatter &fmt, label nCells, label nFields)
Emit legacy CELL_DATA nCells, FIELD FieldData nFields.
bool ascii() const noexcept
True if output format is ASCII.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
word format(conversionProperties.get< word >("format"))
static streamFormat formatEnum(const word &fmtName, const streamFormat deflt=streamFormat::ASCII)
Lookup streamFormat enum corresponding to the string (ascii | binary).
bool legacy() const noexcept
True if writer uses legacy file format.