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 >:
concepts::CellPostprocess< F > concepts::OutputOperator

Public Member Functions

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

Protected Member Functions

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

Private Attributes

uint cnt_
 Counter. More...
 
std::unique_ptr< concepts::DynArray< uint > > map_
 Map for vertices of the elements. More...
 
std::ostream * os1_
 Output streams. More...
 
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 97 of file meshMatlab.hh.

Constructor & Destructor Documentation

◆ MeshMatlabCell()

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

Constructor.

◆ ~MeshMatlabCell()

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

Member Function Documentation

◆ info()

◆ operator()() [1/2]

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 >.

◆ operator()() [2/2]

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 >.

Member Data Documentation

◆ cnt_

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

Counter.

Definition at line 112 of file meshMatlab.hh.

◆ map_

template<typename F >
std::unique_ptr<concepts::DynArray<uint> > graphics::MeshMatlabCell< F >::map_
private

Map for vertices of the elements.

Definition at line 110 of file meshMatlab.hh.

◆ os1_

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

Output streams.

Definition at line 108 of file meshMatlab.hh.

◆ os2_

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

Definition at line 108 of file meshMatlab.hh.

◆ os3_

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

Definition at line 108 of file meshMatlab.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich