VectorView Class Reference

Visualizes a vector PDE solution. More...

#include <vector_view.h>

Inherits View.

Inherited by VectorBaseView.

List of all members.

Public Member Functions

 VectorView (const char *title="VectorView", DEFAULT_WINDOW_POS)
void show (MeshFunction *vsln, double eps=H2D_EPS_NORMAL)
void show (MeshFunction *xsln, MeshFunction *ysln, double eps=H2D_EPS_NORMAL)
void show (MeshFunction *xsln, MeshFunction *ysln, double eps, int xitem, int yitem)
void set_grid_type (bool hexa)
void load_data (const char *filename)
void save_data (const char *filename)
void save_numbered (const char *format, int number)

Protected Member Functions

void plot_arrow (double x, double y, double xval, double yval, double max, double min, double gs)
virtual void on_display ()
virtual void on_mouse_move (int x, int y)
virtual void on_key_down (unsigned char key, int x, int y)
virtual const char * get_help_text () const

Protected Attributes

Vectorizer vec
double gx
double gy
double gs
bool hexa
int mode
bool lines
bool pmode
double length_coef

Detailed Description

Visualizes a vector PDE solution.

VectorView is a visualization window for all vector-valued PDE solutions.


Constructor & Destructor Documentation

VectorView::VectorView ( const char *  title = "VectorView",
DEFAULT_WINDOW_POS   
)

Member Function Documentation

const char * VectorView::get_help_text (  )  const [protected, virtual]

Reimplemented from View.

Reimplemented in VectorBaseView.

void VectorView::load_data ( const char *  filename  ) 
void VectorView::on_display (  )  [protected, virtual]

Implements View.

void VectorView::on_key_down ( unsigned char  key,
int  x,
int  y 
) [protected, virtual]

Reimplemented from View.

void VectorView::on_mouse_move ( int  x,
int  y 
) [protected, virtual]

Reimplemented from View.

void VectorView::plot_arrow ( double  x,
double  y,
double  xval,
double  yval,
double  max,
double  min,
double  gs 
) [protected]
void VectorView::save_data ( const char *  filename  ) 
void VectorView::save_numbered ( const char *  format,
int  number 
)
void VectorView::set_grid_type ( bool  hexa  )  [inline]
void VectorView::show ( MeshFunction xsln,
MeshFunction ysln,
double  eps,
int  xitem,
int  yitem 
)
void VectorView::show ( MeshFunction xsln,
MeshFunction ysln,
double  eps = H2D_EPS_NORMAL 
)
void VectorView::show ( MeshFunction vsln,
double  eps = H2D_EPS_NORMAL 
)

Member Data Documentation

double VectorView::gs [protected]
double VectorView::gx [protected]
double VectorView::gy [protected]
bool VectorView::hexa [protected]
double VectorView::length_coef [protected]
bool VectorView::lines [protected]
int VectorView::mode [protected]
bool VectorView::pmode [protected]

The documentation for this class was generated from the following files:
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3