concepts::ElementGraphics< F > Class Template Referenceabstract
Handles graphics output (to a file) of a specific element. More...
|virtual void||operator() (const Element< F > &elm, enum graphicsType type, CellPostprocess< F > &post) const =0|
|Writes necessary data to a file for graphics. More...|
template<typename F = int>
class concepts::ElementGraphics< F >
Handles graphics output (to a file) of a specific element.
Every element which should be depictable should return a suitable object in its
graphics method which is a specialization of this class. It might make sence to implement the class as a singleton.
HexahedronGraphics is an example of such a class.
The main advantage: the methods for graphics are now close to the element itself (in the same package / namespace / library).
- See also
Member Function Documentation
Writes necessary data to a file for graphics.
This method is called by the application operator of the object which should create the graphics file. Such an object is a specialization of
CellPostprocess. It is best if an element returns an object of this type.
elm Element which should be depicted type Type of graphics post Calling
CellPostprocessspecialization, might be necessary to get some data
The documentation for this class was generated from the following files: