#include <sampling/surfaceWriter.H>
Definition at line 62 of file surfaceWriter.H.
Public Member Functions | |
TypeName ("surfaceWriter") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, surfaceWriter, word,(),()) | |
surfaceWriter () | |
Construct null.
| |
virtual | ~surfaceWriter () |
virtual bool | separateFiles () |
Return true if the surface format supports separate files.
| |
virtual void | write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const bool verbose=false) const |
Writes single surface geometry to file.
| |
virtual void | write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const fileName &fieldName, const Field< Type > &values, const bool verbose=false) const =0 |
Writes single surface to file. Either one value per vertex or.
| |
Static Public Member Functions | |
static autoPtr< surfaceWriter > | New (const word &writeFormat) |
Return a reference to the selected surfaceWriter.
| |
Friends | |
class | surfaceWriter |
friendship between writer data types
|
surfaceWriter | ( | ) |
Construct null.
~surfaceWriter | ( | ) | [virtual]
|
Definition at line 100 of file surfaceWriter.C.
TypeName | ( | "surfaceWriter< Type >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
surfaceWriter< Type > | , | ||
word | , | ||
() | , | ||
() | |||
) |
Foam::autoPtr< Foam::surfaceWriter< Type > > New | ( | const word & | writeFormat ) | [static]
|
Return a reference to the selected surfaceWriter.
Definition at line 39 of file surfaceWriter.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, and Foam::nl.
Referenced by sampledSurfaces::read().
virtual bool separateFiles | ( | ) | [inline, virtual]
|
Return true if the surface format supports separate files.
Reimplemented in foamFileSurfaceWriter< Type >, and proxySurfaceWriter< Type >.
Definition at line 104 of file surfaceWriter.H.
virtual void write | ( | const fileName & | outputDir, |
const fileName & | surfaceName, | ||
const pointField & | points, | ||
const faceList & | faces, | ||
const bool | verbose = false
|
||
) | const [inline, virtual]
|
Writes single surface geometry to file.
Reimplemented in foamFileSurfaceWriter< Type >, proxySurfaceWriter< Type >, rawSurfaceWriter< Type >, and vtkSurfaceWriter< Type >.
Definition at line 112 of file surfaceWriter.H.
virtual void write | ( | const fileName & | outputDir, |
const fileName & | surfaceName, | ||
const pointField & | points, | ||
const faceList & | faces, | ||
const fileName & | fieldName, | ||
const Field< Type > & | values, | ||
const bool | verbose = false
|
||
) | const [pure virtual]
|
Writes single surface to file. Either one value per vertex or.
one value per face (detected by values.size()==faces.size())
Implemented in dxSurfaceWriter< Type >, foamFileSurfaceWriter< Type >, nullSurfaceWriter< Type >, proxySurfaceWriter< Type >, rawSurfaceWriter< Type >, and vtkSurfaceWriter< Type >.
surfaceWriter [friend]
|
friendship between writer data types
Definition at line 65 of file surfaceWriter.H.