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

graphics::spaceTraits< space > Struct Template Reference

Traits for a space. More...

#include <spaceTraits.hh>


Detailed Description

template<typename space>
struct graphics::spaceTraits< space >

Traits for a space.

These traits are used by trampoline functions to fill in certain parameters which depend on the space (eg. the spatial dimension of the space). Every space which should be drawable needs an explicit specialization of this class.

To add a new spezialisation, the name of the space has to be known (this is best handled by adding a forward declaration) and an explicit template specialization of this class has to be created with the required functions, see the examplex for hp2D::Space and hp3D::Space.

See also:
drawMeshDX
spaceTraits<hp2D::Space> as an example for an explicit template specialization
Author:
Philipp Frauenfelder, 2002

Definition at line 49 of file spaceTraits.hh.


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

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