MeshView Class Reference

Displays a mesh. More...

#include <mesh_view.h>

Inherits View.

List of all members.

Classes

struct  ObjInfo

Public Member Functions

 MeshView (const char *title="MeshView", DEFAULT_WINDOW_POS)
virtual ~MeshView ()
void show (Mesh *mesh)

Protected Member Functions

float * get_marker_color (int marker)
virtual void on_display ()
virtual void on_key_down (unsigned char key, int x, int y)
virtual void scale_dispatch ()
virtual const char * get_help_text () const

Protected Attributes

Linearizer lin
bool b_ids
bool b_markers
ObjInfonodes
ObjInfoelems
int nn
int ne

Detailed Description

Displays a mesh.

MeshView is a debugging tool for displaying meshes together with its element id numbers, boundary markers etc.


Constructor & Destructor Documentation

MeshView::MeshView ( const char *  title = "MeshView",
DEFAULT_WINDOW_POS   
)
MeshView::~MeshView (  )  [virtual]

Member Function Documentation

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

Reimplemented from View.

float * MeshView::get_marker_color ( int  marker  )  [protected]
void MeshView::on_display (  )  [protected, virtual]

Implements View.

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

Reimplemented from View.

virtual void MeshView::scale_dispatch (  )  [inline, protected, virtual]

Reimplemented from View.

void MeshView::show ( Mesh mesh  ) 

Member Data Documentation

bool MeshView::b_ids [protected]
bool MeshView::b_markers [protected]
ObjInfo* MeshView::elems [protected]
int MeshView::ne [protected]
int MeshView::nn [protected]
ObjInfo* MeshView::nodes [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