Static Protected Member Functions | List of all members
VTPsurfaceFormatCore Class Reference

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

Inheritance diagram for VTPsurfaceFormatCore:
Inheritance graph
[legend]

Static Protected Member Functions

static vtk::outputOptions formatOptions (const dictionary &dict, vtk::outputOptions opts=vtk::formatType::INLINE_BASE64)
 
static void writeHeader (vtk::formatter &format, const UList< point > &pts, const label nFaces)
 
static void writeFooter (vtk::formatter &format)
 
static void writeCellData (vtk::formatter &format, const UList< surfZone > &zones)
 
static void writeCellData (vtk::formatter &format, const labelUList &zoneIds)
 

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 73 of file VTPsurfaceFormatCore.H.

Member Function Documentation

◆ formatOptions()

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

Definition at line 28 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

Definition at line 52 of file VTPsurfaceFormatCore.C.

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

Here is the call graph for this function:

◆ writeFooter()

void writeFooter ( vtk::formatter format)
staticprotected

Definition at line 94 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

Definition at line 106 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

Definition at line 141 of file VTPsurfaceFormatCore.C.

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

Here is the call graph for this function:

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