FreeFOAM The Cross-Platform CFD Toolkit
vtkSurfaceWriter< Type > Class Template Reference

#include <sampling/vtkSurfaceWriter.H>


Detailed Description

template<class Type>
class Foam::vtkSurfaceWriter< Type >

Source files

Definition at line 49 of file vtkSurfaceWriter.H.

+ Inheritance diagram for vtkSurfaceWriter< Type >:
+ Collaboration diagram for vtkSurfaceWriter< Type >:

List of all members.

Public Member Functions

 TypeName ("vtk")
 Runtime type information.
 vtkSurfaceWriter ()
 Construct null.
virtual ~vtkSurfaceWriter ()
virtual void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const bool verbose=false) const
 Write 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
 Writes single surface to file.
- Public Member Functions inherited from surfaceWriter< Type >
 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.

Additional Inherited Members

- Static Public Member Functions inherited from surfaceWriter< Type >
static autoPtr< surfaceWriterNew (const word &writeFormat)
 Return a reference to the selected surfaceWriter.

Constructor & Destructor Documentation

Construct null.

Definition at line 219 of file vtkSurfaceWriter.C.

~vtkSurfaceWriter ( )
virtual

Definition at line 228 of file vtkSurfaceWriter.C.


Member Function Documentation

TypeName ( "vtk"  )

Runtime type information.

void write ( const fileName outputDir,
const fileName surfaceName,
const pointField points,
const faceList faces,
const bool  verbose = false 
) const
virtual

Write geometry to file.

Reimplemented from surfaceWriter< Type >.

Definition at line 236 of file vtkSurfaceWriter.C.

References Foam::endl(), Foam::Info, Foam::isDir(), and Foam::mkDir().

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
virtual

Writes single surface to file.

Implements surfaceWriter< Type >.

Definition at line 263 of file vtkSurfaceWriter.C.

References Foam::endl(), Foam::Info, Foam::isDir(), Foam::mkDir(), OFstream::name(), List< Type >::size(), and List< T >::size().


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