A surfaceWriter for VTK legacy format with support for writing ASCII or binary. More...
Public Member Functions | |
TypeName ("vtk") | |
Runtime type information. More... | |
virtual | ~vtkSurfaceWriter () |
Destructor. More... | |
virtual void | write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const wordList &fieldNames, const bool writePointValues #define FieldTypeValuesConstArg(Type, nullArg)) const |
Write fields for a single surface to file. More... | |
Public Member Functions inherited from surfaceWriter | |
TypeName ("surfaceWriter") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, surfaceWriter, word,(const IOstream::streamFormat writeFormat, const IOstream::compressionType writeCompression),(writeFormat, writeCompression)) | |
declareRunTimeSelectionTable (autoPtr, surfaceWriter, dict,(const dictionary &dict),(dict)) | |
surfaceWriter (const IOstream::streamFormat writeFormat, const IOstream::compressionType writeCompression) | |
Construct given write options. More... | |
surfaceWriter (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~surfaceWriter () |
Destructor. More... | |
void | write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces) const |
Write the surface geometry only. More... | |
template<class ... Args> | |
void | write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const bool writePointValues, const Args &... args) const |
Write fields for a single surface to file. For use in code where. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from surfaceWriter | |
static autoPtr< surfaceWriter > | New (const word &writeType, const IOstream::streamFormat writeFormat, const IOstream::compressionType writeCompression) |
Select given write options. More... | |
static autoPtr< surfaceWriter > | New (const word &writeType, const dictionary &dict) |
Select given a dictionary. More... | |
Protected Attributes inherited from surfaceWriter | |
IOstream::streamFormat | writeFormat_ |
Write format. More... | |
IOstream::compressionType | writeCompression_ |
Write compression. More... | |
A surfaceWriter for VTK legacy format with support for writing ASCII or binary.
Definition at line 49 of file vtkSurfaceWriter.H.
|
virtual |
Destructor.
Definition at line 43 of file vtkSurfaceWriter.C.
References vtkSurfaceWriter::write().
TypeName | ( | "vtk" | ) |
Runtime type information.
|
virtual |
Write fields for a single surface to file.
Implements surfaceWriter.
Definition at line 50 of file vtkSurfaceWriter.C.
References IOstream::BINARY, field(), FieldTypeValuesParameter, Foam::FOR_ALL_FIELD_TYPES(), Foam::isDir(), Foam::mkDir(), List< T >::size(), and Foam::vtkWritePolyData::write().
Referenced by vtkSurfaceWriter::~vtkSurfaceWriter().