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

#include <Whiteboard.h>

Inheritance diagram for ns_whiteboard::point:
ns_whiteboard::graphic

Public Member Functions

 point (const xy_coords &coords, const double size=1.0, const color &c=black)
 
void Draw (display_type *d)
 
virtual ~point ()
 
- Public Member Functions inherited from ns_whiteboard::graphic
 graphic ()
 
virtual ~graphic ()
 

Protected Attributes

xy_coords m_coords
 
double m_size
 
color m_color
 

Detailed Description

Class defining a point. coords (xy_coords): x-y coordinates of the point size (double): size of point (def. 1.0) c (color): color of point (def black)

Constructor & Destructor Documentation

ns_whiteboard::point::point ( const xy_coords coords,
const double  size = 1.0,
const color c = black 
)
inline
Parameters
coordsx-y coordinate of the point
sizesize of the point (in pts)
ccolor of the point. default is black
virtual ns_whiteboard::point::~point ( )
inlinevirtual

Member Function Documentation

void ns_whiteboard::point::Draw ( display_type d)
inlinevirtual

Method to draw an object.

Parameters
dpointer to a display_type instantiating a particular graphics file format

Implements ns_whiteboard::graphic.

Member Data Documentation

color ns_whiteboard::point::m_color
protected
xy_coords ns_whiteboard::point::m_coords
protected
double ns_whiteboard::point::m_size
protected

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