foamVtkOutput.H File Reference
Include dependency graph for foamVtkOutput.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam::vtk
 Namespace for handling VTK input/output.
 
namespace  Foam::vtk::legacy
 Namespace for legacy VTK output constants and functions.
 
namespace  Foam
 Namespace for OpenFOAM.
 

Functions

autoPtr< vtk::formatter > newFormatter (std::ostream &os, unsigned prec=IOstream::defaultPrecision())
 Return a default asciiFormatter. More...
 
autoPtr< vtk::formatter > newFormatter (std::ostream &os, const enum formatType fmtType, unsigned prec=IOstream::defaultPrecision())
 Return a new formatter based on the specified format type. More...
 
void writeIdentity (vtk::formatter &fmt, const label len, label start=0)
 Write an identity list of labels. More...
 
void writeList (vtk::formatter &fmt, const UList< uint8_t > &values)
 Write a list of uint8_t values. More...
 
template<class Type >
void write (vtk::formatter &fmt, const Type &val, const label n=1)
 Component-wise write of a value (N times) More...
 
template<class Type >
void writeValueParallel (vtk::formatter &fmt, const Type &val, const label count=1)
 Component-wise write of a value (N times) in parallel. More...
 
template<class Type >
void writeList (vtk::formatter &fmt, const UList< Type > &values)
 Write a list of values. More...
 
template<class Type , unsigned N>
void writeList (vtk::formatter &fmt, const FixedList< Type, N > &values)
 Write a list of values. More...
 
template<class Type >
void writeList (vtk::formatter &fmt, const UList< Type > &values, const labelUList &addressing)
 Write a list of values via indirect addressing. More...
 
template<class Type >
void writeList (vtk::formatter &fmt, const UList< Type > &values, const bitSet &selected)
 Write a list of values via indirect addressing. More...
 
template<class Type >
void writeLists (vtk::formatter &fmt, const UList< Type > &values1, const UList< Type > &values2, const labelUList &addressing)
 Write a list of values and a list of values via indirect addressing. More...
 
template<class Type >
void writeListParallel (vtk::formatter &fmt, const UList< Type > &values)
 Write a list of values. More...
 
void writeListParallel (vtk::formatter &fmt, const UList< label > &values, const globalIndex &procOffset)
 Write a list of values, with constant per-processor offset. More...
 
template<class Type >
void writeListParallel (vtk::formatter &fmt, const UList< Type > &values, const labelUList &addressing)
 Write a list of values via indirect addressing. More...
 
template<class Type >
void writeListParallel (vtk::formatter &fmt, const UList< Type > &values, const bitSet &selected)
 Write a list of values via indirect addressing. More...
 
template<class Type >
void writeListsParallel (vtk::formatter &fmt, const UList< Type > &values1, const UList< Type > &values2)
 Write a list of values and another list of values. More...
 
template<class Type >
void writeListsParallel (vtk::formatter &fmt, const UList< Type > &values1, const UList< Type > &values2, const labelUList &addressing)
 Write a list of values and a list of values via indirect addressing. More...
 
void fileHeader (std::ostream &os, const std::string &title, bool binary)
 Emit header for legacy file (vtk DataFile Version 2.0) More...
 
void fileHeader (vtk::formatter &fmt, const std::string &title, const std::string &contentType)
 
void fileHeader (vtk::formatter &fmt, const std::string &title, vtk::fileTag contentType)
 
template<vtk::fileTag ContentType>
void fileHeader (vtk::formatter &fmt, const std::string &title)
 
void beginPoints (std::ostream &os, label nPoints)
 Emit header for POINTS (with trailing newline). More...
 
void beginVerts (std::ostream &os, label nVerts, label nConnectivity=0)
 Emit header for VERTICES (with trailing newline). More...
 
void beginLines (std::ostream &os, label nLines, label nConnectivity=0)
 Emit header for LINES (with trailing newline). More...
 
void beginPolys (std::ostream &os, label nPolys, label nConnectivity)
 Emit header for POLYGONS (with trailing newline). More...
 
void fieldData (vtk::formatter &fmt, label nFields)
 Emit "FIELD FieldData <n>". More...
 
void beginFieldData (vtk::formatter &fmt, label nFields)
 Emit legacy FIELD FieldData nFields. More...
 
void beginCellData (vtk::formatter &fmt, label nCells, label nFields)
 Emit legacy CELL_DATA nCells, FIELD FieldData nFields. More...
 
void beginPointData (vtk::formatter &fmt, label nPoints, label nFields)
 Emit legacy POINT_DATA nPoints, FIELD FieldData nFields. More...
 
void writeTimeValue (vtk::formatter &fmt, scalar timeValue)
 Emit "TimeValue" for a FIELD entry (name as per Catalyst output) More...
 
template<direction nComp>
void floatField (vtk::formatter &fmt, const word &name, const label nEntries)
 Start output of float field with the specified name. More...
 
template<direction nComp>
void doubleField (vtk::formatter &fmt, const word &name, const label nEntries)
 Start output of double field with the specified name. More...
 
template<direction nComp>
void intField (vtk::formatter &fmt, const word &name, const label nEntries)
 Start output of int field with the specified name. More...
 

Detailed Description

Original source file foamVtkOutput.H

Definition in file foamVtkOutput.H.