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

Internal class used by the VTKsurfaceFormat Format is LEGACY_ASCII. More...

Inheritance diagram for VTKsurfaceFormatCore:
Inheritance graph
[legend]

Static Protected Member Functions

static vtk::outputOptions formatOptions (const dictionary &dict, vtk::outputOptions opts=vtk::formatType::LEGACY_ASCII)
 
static void writeHeader (vtk::formatter &format, const UList< point > &pts)
 
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 VTKsurfaceFormat Format is LEGACY_ASCII.


Output Options

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

Definition at line 73 of file VTKsurfaceFormatCore.H.

Member Function Documentation

◆ formatOptions()

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

Definition at line 28 of file VTKsurfaceFormatCore.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 
)
staticprotected

Definition at line 52 of file VTKsurfaceFormatCore.C.

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

Here is the call graph for this function:

◆ writeCellData() [1/2]

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

Definition at line 71 of file VTKsurfaceFormatCore.C.

References Foam::vtk::legacy::beginCellData(), 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 99 of file VTKsurfaceFormatCore.C.

References Foam::vtk::legacy::beginCellData(), 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: