FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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.

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< T >::size(), and List< Type >::size().


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