Class documentation of Concepts

Loading...
Searching...
No Matches
vectorial::Graphics< F > Class Template Referenceabstract

#include <graphics.hh>

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

Public Types

enum  graphicsType {
  DATA_DX_COUNTS , DATA_DX_COORDINATES , DATA_DX_CONNECTIONS , DATA_DX_DATA ,
  MESH_GNUPLOT , DATA_GNUPLOT , MESH_EPS , MESH_EPS_INIT ,
  MESH_MATLAB , MESH_DX , VERTEX_LIST , TOPOLOGY_DOTTY ,
  DATA_MATLAB , MATLAB , TECPLOT , DENSEMATRIX ,
  MESH_DENSEMATRIX
}
 

Public Member Functions

void choose (uint idx)
 
uint chosen () const
 Returns index of chosen component.
 
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
 

Protected Member Functions

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

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.

Member Enumeration Documentation

◆ graphicsType

enum concepts::ElementGraphicsBase::graphicsType
inherited

Definition at line 27 of file elementGraphics.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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()()

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

Implemented in hp2D::BaseQuadGraphics< F >, hp2D::QuadGraphics< F >, and hp2Dedge::QuadGraphics< F >.


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