Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
graphics::MeshMatlabCell< F > Class Template Reference

Writes the data which describe the elements to the three streams. More...

#include <meshMatlab.hh>

Inheritance diagram for graphics::MeshMatlabCell< F >:
Inheritance graph
[legend]
Collaboration diagram for graphics::MeshMatlabCell< F >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MeshMatlabCell (std::ostream *os1, std::ostream *os2, std::ostream *os3)
 Constructor.
virtual void operator() (const concepts::Cell &cell) throw (concepts::MissingFeature)
 Application operator.
virtual void operator() (const concepts::Element< F > &elm) throw (concepts::MissingFeature)
 Application operator.
virtual ~MeshMatlabCell ()

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

uint cnt_
 Counter.
std::auto_ptr
< concepts::DynArray< uint > > 
map_
 Map for vertices of the elements.
std::ostream * os1_
 Output streams.
std::ostream * os2_
std::ostream * os3_

Detailed Description

template<typename F>
class graphics::MeshMatlabCell< F >

Writes the data which describe the elements to the three streams.

There are two different output formats depending on the cell.

In the first output format every stream takes another component of the coordinates of a point. Then every line which is printed signifies a poly line in the final drawing.

In the second case the first stream takes all coordinates of a point and the second one the mesh. The third stream is not used.

Author:
Philipp Frauenfelder, 2002

Definition at line 95 of file meshMatlab.hh.


Constructor & Destructor Documentation

template<typename F >
graphics::MeshMatlabCell< F >::MeshMatlabCell ( std::ostream *  os1,
std::ostream *  os2,
std::ostream *  os3 
)

Constructor.

template<typename F >
virtual graphics::MeshMatlabCell< F >::~MeshMatlabCell ( ) [virtual]

Member Function Documentation

template<class F>
virtual std::ostream& concepts::CellPostprocess< F >::info ( std::ostream &  os) const [protected, virtual, inherited]
template<typename F >
virtual void graphics::MeshMatlabCell< F >::operator() ( const concepts::Element< F > &  elm) throw (concepts::MissingFeature) [virtual]

Application operator.

This application operator has to be overloaded to post process a space.

Parameters:
elmCurrent element

Implements concepts::CellPostprocess< F >.

template<typename F >
virtual void graphics::MeshMatlabCell< F >::operator() ( const concepts::Cell cell) throw (concepts::MissingFeature) [virtual]

Application operator.

This application operator has to be overloaded to post process a mesh.

Parameters:
cellCurrent cell

Implements concepts::CellPostprocess< F >.


Member Data Documentation

template<typename F >
uint graphics::MeshMatlabCell< F >::cnt_ [private]

Counter.

Definition at line 110 of file meshMatlab.hh.

template<typename F >
std::auto_ptr<concepts::DynArray<uint> > graphics::MeshMatlabCell< F >::map_ [private]

Map for vertices of the elements.

Definition at line 108 of file meshMatlab.hh.

template<typename F >
std::ostream* graphics::MeshMatlabCell< F >::os1_ [private]

Output streams.

Definition at line 106 of file meshMatlab.hh.

template<typename F >
std::ostream * graphics::MeshMatlabCell< F >::os2_ [private]

Definition at line 106 of file meshMatlab.hh.

template<typename F >
std::ostream * graphics::MeshMatlabCell< F >::os3_ [private]

Definition at line 106 of file meshMatlab.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)