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

Public Types | Public Member Functions | Protected Member Functions | Private Attributes
vectorial::Graphics< F > Class Template Reference

Handles graphics for vector valued elements. More...

#include <graphics.hh>

Inheritance diagram for vectorial::Graphics< F >:
Inheritance graph
[legend]
Collaboration diagram for vectorial::Graphics< F >:
Collaboration graph
[legend]

List of all members.

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

Protected Member Functions

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

Private Attributes

uint idx_
 Component which should be visualized.

Detailed Description

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

Handles graphics for vector valued elements.

Author:
Philipp Frauenfelder, 2002

Definition at line 16 of file graphics.hh.


Member Enumeration Documentation

Enumerator:
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 

Definition at line 25 of file elementGraphics.hh.


Constructor & Destructor Documentation

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

Definition at line 18 of file graphics.hh.


Member Function Documentation

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 23 of file graphics.hh.

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

Returns index of chosen component.

Definition at line 25 of file graphics.hh.

template<typename F>
virtual std::ostream& vectorial::Graphics< F >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

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]
template<typename F = int>
virtual void concepts::ElementGraphics< F >::operator() ( const Element< F > &  elm,
enum graphicsType  type,
CellPostprocess< F > &  post 
) const [pure virtual, inherited]

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


Member Data Documentation

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

Component which should be visualized.

Definition at line 34 of file graphics.hh.


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

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