Internal class used by the VTPsurfaceFormat. The default format is INLINE_BASE64. More...
#include <VTPsurfaceFormatCore.H>

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). | |
| static void | writeHeader (vtk::formatter &format, const UList< point > &pts, const label nFaces) |
| Write header information with points. | |
| static void | writeFooter (vtk::formatter &format) |
| Write footer. | |
| static void | writeCellData (vtk::formatter &format, const UList< surfZone > &zones) |
| Write regions (zones) information as CellData. | |
| static void | writeCellData (vtk::formatter &format, const labelUList &zoneIds) |
| Write regions (zones) information as CellData. | |
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 |
Definition at line 73 of file VTPsurfaceFormatCore.H.
|
staticprotected |
Extract format options (default format INLINE_BASE64).
Definition at line 27 of file VTPsurfaceFormatCore.C.
References outputOptions::append(), IOstreamOption::ASCII, outputOptions::ascii(), IOstreamOption::BINARY, IOstream::defaultPrecision(), dict, IOstreamOption::formatEnum(), outputOptions::legacy(), and outputOptions::precision().

|
staticprotected |
Write header information with points.
Definition at line 51 of file VTPsurfaceFormatCore.C.
References clock::dateTime(), format(), Foam::vtk::NUMBER_OF_POINTS, Foam::vtk::NUMBER_OF_POLYS, Foam::vtk::PIECE, Foam::vtk::POINTS, Foam::vtk::POLY_DATA, pts, Foam::vtk::sizeofData(), and Foam::vtk::writeList().
Referenced by VTPsurfaceFormat< Face >::write(), and VTPsurfaceFormat< Face >::write().


|
staticprotected |
Write footer.
Definition at line 93 of file VTPsurfaceFormatCore.C.
References format(), and Foam::vtk::POLY_DATA.
Referenced by VTPsurfaceFormat< Face >::write(), and VTPsurfaceFormat< Face >::write().


|
staticprotected |
Write regions (zones) information as CellData.
Definition at line 105 of file VTPsurfaceFormatCore.C.
References format(), Foam::vtk::sizeofData(), and Foam::vtk::write().
Referenced by VTPsurfaceFormat< Face >::write(), and VTPsurfaceFormat< Face >::write().


|
staticprotected |
Write regions (zones) information as CellData.
Definition at line 140 of file VTPsurfaceFormatCore.C.
References format(), UList< T >::size(), Foam::vtk::sizeofData(), and Foam::vtk::writeList().
