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] |
| void VectorView::load_data |
( |
const char * |
filename |
) |
|
| void VectorView::on_display |
( |
|
) |
[protected, virtual] |
| void VectorView::on_key_down |
( |
unsigned char |
key, |
|
|
int |
x, |
|
|
int |
y | |
|
) |
| | [protected, virtual] |
| void VectorView::on_mouse_move |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | [protected, virtual] |
| 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] |
Member Data Documentation
The documentation for this class was generated from the following files: