Sundance::TriangleWriter Class Reference

Inheritance diagram for Sundance::TriangleWriter:

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

List of all members.

Public Member Functions

 TriangleWriter (const std::string &filename="", int indexOffset=0)
virtual ~TriangleWriter ()
virtual void write () const
virtual RCP< FieldWriterBasegetRcp ()

Protected Member Functions

void writePoints (const std::string &filename) const
void writeCells (const std::string &filename) const
void writeEdges (const std::string &filename) const
void writeFaces (const std::string &filename) const
void writeHeader (const std::string &filename) const
void writeParallelInfo (const std::string &filename) const

Protected Attributes

int indexOffset_

Detailed Description

TriangleWriter writes a mesh or fields to a file in Shewchuk's Triangle format.

Definition at line 44 of file SundanceTriangleWriter.hpp.

Constructor & Destructor Documentation

Sundance::TriangleWriter::TriangleWriter ( const std::string &  filename = "",
int  indexOffset = 0 
) [inline]

Definition at line 48 of file SundanceTriangleWriter.hpp.

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

virtual dtor

Definition at line 52 of file SundanceTriangleWriter.hpp.

Member Function Documentation

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

Return a ref count pointer to self

Implements Playa::Handleable< FieldWriterBase >.

Definition at line 58 of file SundanceTriangleWriter.hpp.

void TriangleWriter::write (  )  const [virtual]

void TriangleWriter::writeCells ( const std::string &  filename  )  const [protected]

void TriangleWriter::writeEdges ( const std::string &  filename  )  const [protected]

void TriangleWriter::writeFaces ( const std::string &  filename  )  const [protected]

void TriangleWriter::writeHeader ( const std::string &  filename  )  const [protected]

void TriangleWriter::writeParallelInfo ( const std::string &  filename  )  const [protected]

void TriangleWriter::writePoints ( const std::string &  filename  )  const [protected]

Member Data Documentation

Definition at line 79 of file SundanceTriangleWriter.hpp.

Referenced by writeCells(), writeEdges(), writeFaces(), and writePoints().

Site Contact