37 #ifndef Foam_vtk_core_H 38 #define Foam_vtk_core_H 78 return (uint8_t(fmt) & 0x10);
84 return (uint8_t(fmt) & 0x20);
cellType
Equivalent to enumeration in "vtkCellType.h" (should be uint8_t)
const Foam::Enum< vtk::fileTag > fileTagNames
Legacy file tags (eg, LINES, CELL_DATA, POINT_DATA, ...)
XML append raw binary, appendRawFormatter.
const word fileExtension
Legacy file extension ("vtk")
OutputContext
The context when outputting a VTK file (XML or legacy).
const Foam::Enum< fileTag > fileContentVersions
Version string for some vtk XML file content types.
XML inline ASCII, asciiFormatter.
const Foam::Enum< dataArrayAttr > dataArrayAttrNames
Legacy attributes (eg, OFFSETS)
fileAttr
Some common XML attributes for vtk files.
const Foam::Enum< fileAttr > fileAttrNames
Strings corresponding to the vtk XML attributes.
A class for handling words, derived from Foam::string.
Legacy raw binary, legacyRawFormatter.
formatType
The output format type for file contents.
dataArrayAttr
Some common names for XML DataArray entries.
Generate header and inline data.
const Foam::Enum< fileTag > fileTagNames
Strings corresponding to the vtk XML tags.
const Foam::Enum< dataArrayAttr > dataArrayAttrNames
Strings corresponding to the vtk XML DataArray attributes.
const Foam::Enum< fileTag > fileExtension
File extension (without ".") for some vtk XML file content types.
fileTag
Some common XML tags for vtk files.
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
bool isLegacy(enum formatType fmt) noexcept
Test for vtk legacy format.
XML append base64, appendBase64Formatter.
Legacy ASCII, legacyAsciiFormatter.
XML inline base64, base64Formatter.
bool isAppend(enum formatType fmt) noexcept
Test for vtk append format (xml)
const Foam::Enum< vtk::fileTag > contentNames
Legacy content names (POLYDATA, UNSTRUCTURED_GRID)