VTPsurfaceFormatCore Class Reference

Internal class used by the VTPsurfaceFormat. The default format is INLINE_BASE64. More...

Inheritance diagram for VTPsurfaceFormatCore:
[legend]

Static Protected Member Functions

static vtk::outputOptions formatOptions (const dictionary &dict, vtk::outputOptions opts=vtk::formatType::INLINE_BASE64)
 Extract format options (default format INLINE_BASE64) More...
 
static void writeHeader (vtk::formatter &format, const UList< point > &pts, const label nFaces)
 Write header information with points. More...
 
static void writeFooter (vtk::formatter &format)
 Write footer. More...
 
static void writeCellData (vtk::formatter &format, const UList< surfZone > &zones)
 Write regions (zones) information as CellData. More...
 
static void writeCellData (vtk::formatter &format, const labelUList &zoneIds)
 Write regions (zones) information as CellData. More...
 

Detailed Description

Internal class used by the VTPsurfaceFormat. The default format is INLINE_BASE64.


Output Options

Property Description Required Default
format ascii or binary format no binary
precision Write precision in ascii no same as IOstream
Source files

Definition at line 77 of file VTPsurfaceFormatCore.H.

Member Function Documentation

◆ formatOptions()

Foam::vtk::outputOptions formatOptions ( const dictionary dict,
vtk::outputOptions  opts = vtk::formatType::INLINE_BASE64 
)
staticprotected

Extract format options (default format INLINE_BASE64)

Definition at line 35 of file VTPsurfaceFormatCore.C.

References outputOptions::append(), outputOptions::ascii(), dict, outputOptions::legacy(), and outputOptions::precision().

Here is the call graph for this function:

◆ writeHeader()

void writeHeader ( vtk::formatter format,
const UList< point > &  pts,
const label  nFaces 
)
staticprotected

Write header information with points.

Definition at line 59 of file VTPsurfaceFormatCore.C.

References format(), UList< T >::size(), and Foam::vtk::writeList().

Here is the call graph for this function:

◆ writeFooter()

void writeFooter ( vtk::formatter format)
staticprotected

Write footer.

Definition at line 101 of file VTPsurfaceFormatCore.C.

References format().

Here is the call graph for this function:

◆ writeCellData() [1/2]

void writeCellData ( vtk::formatter format,
const UList< surfZone > &  zones 
)
staticprotected

Write regions (zones) information as CellData.

Definition at line 113 of file VTPsurfaceFormatCore.C.

References format(), and Foam::vtk::write().

Here is the call graph for this function:

◆ writeCellData() [2/2]

void writeCellData ( vtk::formatter format,
const labelUList zoneIds 
)
staticprotected

Write regions (zones) information as CellData.

Definition at line 148 of file VTPsurfaceFormatCore.C.

References format(), UList< T >::size(), and Foam::vtk::writeList().

Here is the call graph for this function:

The documentation for this class was generated from the following files: