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