Go to the documentation of this file.
46 == IOstream::formatEnum(
"format",
dict, IOstream::ASCII)
51 dict.getOrDefault(
"precision", IOstream::defaultPrecision())
64 vtk::legacy::fileHeader<vtk::fileTag::POLY_DATA>
67 (
"surface written " + clock::dateTime())
93 vtk::legacy::intField<1>(
format,
"region", nFaces);
114 const label nFaces = zoneIds.
size();
117 vtk::legacy::intField<1>(
format,
"region", nFaces);
Encapsulated combinations of output format options. This is primarily useful when defining the output...
unsigned precision() const
Return the ASCII write precision.
bool legacy() const
True if writer uses legacy file format.
word format(conversionProperties.get< word >("format"))
bool ascii() const
True if output format is ASCII.
bool append() const
True if output format uses an append mode.
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
void beginPoints(std::ostream &os, label nPoints)
Emit header for POINTS (with trailing newline).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void beginCellData(vtk::formatter &fmt, label nCells, label nFields)
Emit legacy CELL_DATA nCells, FIELD FieldData nFields.
A surface zone on a MeshedSurface.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
void size(const label n)
Older name for setAddressableSize.