Whiteboard
An interface and tools for visualizing large and complex datasets
Public Member Functions | Private Attributes | List of all members
ns_whiteboard::whiteboard Class Reference

#include <Whiteboard.h>

Public Member Functions

 whiteboard ()
 
void Add (graphic *g)
 
void DisplayOn (display_type *d)
 
void DeletePointers ()
 Clear all data, deleting all added pointers. More...
 
int size () const
 Number of graphics pointers contained. More...
 
void clear ()
 

Private Attributes

svec< graphic * > m_graphics
 

Detailed Description

A 2 dimensional surface to draw graphics onto. Positions within the whiteboard are specified as (x,y) coordinates.

Constructor & Destructor Documentation

ns_whiteboard::whiteboard::whiteboard ( )
inline

Member Function Documentation

void ns_whiteboard::whiteboard::Add ( graphic g)
inline

Add a graphic to the whiteboard.

Parameters
gpointer to the graphic object to be added
void ns_whiteboard::whiteboard::clear ( )
inline

Clear all data but do not delete pointers: creator is responsible for them.

void ns_whiteboard::whiteboard::DeletePointers ( )
inline

Clear all data, deleting all added pointers.

void ns_whiteboard::whiteboard::DisplayOn ( display_type d)
inline

Method to draw the individual graphics objects for this display.

Parameters
dpointer to a display_type instantiating a particular graphics file format
int ns_whiteboard::whiteboard::size ( ) const
inline

Number of graphics pointers contained.

Member Data Documentation

svec<graphic *> ns_whiteboard::whiteboard::m_graphics
private

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