Go to the documentation of this file.
49 #ifndef Foam_vtk_polyWriter_H
50 #define Foam_vtk_polyWriter_H
98 const label nCellValues,
99 const word& fieldName,
120 void writeLinesLegacy(
const edgeList& edges,
const label pointOffset);
124 void writeLines(
const edgeList& edges,
const label pointOffset);
128 void writePolysLegacy(
const faceList& faces,
const label pointOffset);
132 void writePolys(
const faceList& faces,
const label pointOffset);
Encapsulated combinations of output format options. This is primarily useful when defining the output...
Base class for VTK output writers that handle geometry and fields (eg, vtp, vtu data)....
A class for handling words, derived from Foam::string.
A class for handling file names.
vtk::outputOptions opts() const
void writePointData(const word &fieldName, const UList< Type > &field)
bool writeLineGeometry(const pointField &points, const edgeList &edges)
static word ext(vtk::outputOptions opts)
bool writePolyGeometry(const pointField &points, const faceList &faces)
virtual ~polyWriter()=default
bool parallel() const noexcept
Generic templated field type.
void writeCellData(const word &fieldName, const UList< Type > &field)
@ INLINE_BASE64
XML inline base64, base64Formatter.
virtual bool writeGeometry()
void writeUniformValue(const label nCellValues, const word &fieldName, const Type &val)
static bool & parRun() noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
word ext(vtk::fileTag contentType) const
Write faces/points (optionally with fields) as a vtp file or a legacy vtk file.
virtual bool beginPointData(label nFields=0)
void write(const word &fieldName, const UList< Type > &field)
virtual bool beginCellData(label nFields=0)