OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

vtkSurfaceWriter< Type > Class Template Reference

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.
template<>
void writeData (Ostream &os, const Field< Foam::scalar > &values)
template<>
void writeData (Ostream &os, const Field< Foam::vector > &values)
template<>
void writeData (Ostream &os, const Field< sphericalTensor > &values)
template<>
void writeData (Ostream &os, const Field< symmTensor > &values)
template<>
void writeData (Ostream &os, const Field< tensor > &values)

Detailed Description

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

Source files

Definition at line 44 of file vtkSurfaceWriter.H.


Constructor & Destructor Documentation

vtkSurfaceWriter (  )  [inline]

Construct null.

Definition at line 211 of file vtkSurfaceWriter.C.

~vtkSurfaceWriter (  )  [inline, virtual]

Definition at line 220 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 [inline, virtual]

Write geometry to file.

Reimplemented from surfaceWriter< Type >.

Definition at line 228 of file vtkSurfaceWriter.C.

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 [inline, virtual]

Writes single surface to file.

Implements surfaceWriter< Type >.

Definition at line 255 of file vtkSurfaceWriter.C.

void writeData ( Ostream &  os,
const Field< Foam::scalar > &  values 
) [inline]

Definition at line 82 of file vtkSurfaceWriter.C.

void writeData ( Ostream &  os,
const Field< Foam::vector > &  values 
) [inline]

Definition at line 112 of file vtkSurfaceWriter.C.

void writeData ( Ostream &  os,
const Field< sphericalTensor > &  values 
) [inline]

Definition at line 131 of file vtkSurfaceWriter.C.

void writeData ( Ostream &  os,
const Field< symmTensor > &  values 
) [inline]

Definition at line 149 of file vtkSurfaceWriter.C.

void writeData ( Ostream &  os,
const Field< tensor > &  values 
) [inline]

Definition at line 170 of file vtkSurfaceWriter.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd