Sundance::VTKWriter Class Reference

Inheritance diagram for Sundance::VTKWriter:

Sundance::FieldWriterBase Playa::Handleable< FieldWriterBase > Sundance::ObjectWithClassVerbosity< FieldWriterBase > Playa::ObjectWithVerbosity

List of all members.

Public Member Functions

 VTKWriter (const std::string &filename="")
virtual ~VTKWriter ()
virtual void write () const
virtual RCP< FieldWriterBasegetRcp ()

Private Member Functions

void lowLevelWrite (const std::string &filename, bool isPHeader) const
void writePoints (std::ostream &os, bool isPHeader) const
void writeCells (std::ostream &os) const
void writePointData (std::ostream &os, bool isPHeader) const
void writeCellData (std::ostream &os, bool isPHeader) const
void writeDataArray (std::ostream &os, const std::string &name, const RCP< FieldBase > &expr, bool isPHeader, bool isPointData) const

Detailed Description

VTKWriter writes a mesh or fields to a VTK file

Definition at line 43 of file SundanceVTKWriter.hpp.

Constructor & Destructor Documentation

Sundance::VTKWriter::VTKWriter ( const std::string &  filename = ""  )  [inline]

Definition at line 47 of file SundanceVTKWriter.hpp.

virtual Sundance::VTKWriter::~VTKWriter (  )  [inline, virtual]

virtual dtor

Definition at line 51 of file SundanceVTKWriter.hpp.

Member Function Documentation

virtual RCP<FieldWriterBase> Sundance::VTKWriter::getRcp (  )  [inline, virtual]

Return a ref count pointer to self

Implements Playa::Handleable< FieldWriterBase >.

Definition at line 57 of file SundanceVTKWriter.hpp.

void VTKWriter::lowLevelWrite ( const std::string &  filename,
bool  isPHeader 
) const [private]

void VTKWriter::write (  )  const [virtual]

void VTKWriter::writeCellData ( std::ostream &  os,
bool  isPHeader 
) const [private]

void VTKWriter::writeCells ( std::ostream &  os  )  const [private]

void VTKWriter::writeDataArray ( std::ostream &  os,
const std::string &  name,
const RCP< FieldBase > &  expr,
bool  isPHeader,
bool  isPointData 
) const [private]

void VTKWriter::writePointData ( std::ostream &  os,
bool  isPHeader 
) const [private]

void VTKWriter::writePoints ( std::ostream &  os,
bool  isPHeader 
) const [private]

Site Contact