vectorial::Graphics< F > Class Template Referenceabstract

Handles graphics for vector valued elements. More...

#include <graphics.hh>

Inheritance diagram for vectorial::Graphics< F >:
concepts::ElementGraphics< F >

Public Member Functions

void choose (uint idx)
 Choose component to be plotted. More...
 
uint chosen () const
 Returns index of chosen component. More...
 
 Graphics ()
 
virtual void operator() (const concepts::Element< F > &elm, typename concepts::ElementGraphics< F >::graphicsType type, concepts::CellPostprocess< F > &post) const
 
virtual void operator() (const Element< F > &elm, enum graphicsType type, CellPostprocess< F > &post) const =0
 Writes necessary data to a file for graphics. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

uint idx_
 Component which should be visualized. More...
 

Detailed Description

template<typename F>
class vectorial::Graphics< F >

Handles graphics for vector valued elements.

Author
Philipp Frauenfelder, 2002

Definition at line 19 of file graphics.hh.

Constructor & Destructor Documentation

◆ Graphics()

template<typename F >
vectorial::Graphics< F >::Graphics ( )
inline

Definition at line 21 of file graphics.hh.

Member Function Documentation

◆ choose()

template<typename F >
void vectorial::Graphics< F >::choose ( uint  idx)
inline

Choose component to be plotted.

Parameters
idxChooses the component idx of the vector valued elements to be visualized

Definition at line 26 of file graphics.hh.

◆ chosen()

template<typename F >
uint vectorial::Graphics< F >::chosen ( ) const
inline

Returns index of chosen component.

Definition at line 28 of file graphics.hh.

◆ info()

template<typename F >
virtual std::ostream& vectorial::Graphics< F >::info ( std::ostream &  os) const
protectedvirtual

◆ operator()() [1/2]

template<typename F >
virtual void vectorial::Graphics< F >::operator() ( const concepts::Element< F > &  elm,
typename concepts::ElementGraphics< F >::graphicsType  type,
concepts::CellPostprocess< F > &  post 
) const
virtual

◆ operator()() [2/2]

template<typename F = int>
virtual void concepts::ElementGraphics< F >::operator() ( const Element< F > &  elm,
enum graphicsType  type,
CellPostprocess< F > &  post 
) const
pure virtualinherited

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.

Parameters
elmElement which should be depicted
typeType of graphics
postCalling CellPostprocess specialization, might be necessary to get some data
See also
CellPostprocess
Element

Member Data Documentation

◆ idx_

template<typename F >
uint vectorial::Graphics< F >::idx_
private

Component which should be visualized.

Definition at line 37 of file graphics.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