Whiteboard
An interface and tools for visualizing large and complex datasets
|
#include <Whiteboard.h>
Public Member Functions | |
virtual void | DrawPoint (const xy_coords &coord)=0 |
virtual void | DrawPoint (double x, double y)=0 |
virtual void | DrawLine (const xy_coords &startCoord, const xy_coords &stopCoord)=0 |
virtual void | DrawRect (const xy_coords &topLeftCoord, const xy_coords &bottomRightCoord)=0 |
virtual void | DrawText (const xy_coords &coords, const string &chars, double rot_angle, double point_size, const vert_align vAlign, const horiz_align hAlign)=0 |
virtual void | DrawArc (const xy_coords &coords, const double radius, const double startAngle, const double stopAngle)=0 |
virtual const color & | GetColor () const =0 |
virtual void | SetColor (const color &C)=0 |
virtual double | GetLineWidth () const =0 |
virtual void | SetLineWidth (const double width)=0 |
virtual const string & | GetFontName () const =0 |
virtual double | GetFontSize () const =0 |
virtual void | SetFont (const string &font, const double size)=0 |
virtual void | Finish ()=0 |
virtual | ~display_type () |
An abstract base class that defines the boundaries of the display within the whiteboard. Derived classes know how to draw objects in a particular graphics file format.
|
inlinevirtual |
|
pure virtual |
Abstract method to draw an arc witin a whiteboard.
coords | x-y start coordinate for the arc |
radius | radius of curvature for the arc |
startAngle | starting angle |
stopAngle | finishing angle |
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to draw a line within a whiteboard.
startCoord | starting x-y coordinate of line |
stopCoord | stopping x-y coordinate of line |
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to draw a point.
coord | x-y coordinates of point |
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to draw a point.
x | x-coordinate of point |
y | y-coordinate of point |
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to draw a rectangle within a whiteboard.
topLeftCoord | top-left coordinate of rectangle within whiteboard |
bottomRightCoord | bottom-right coordinate of rectangle within whiteboard |
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to draw text within a whiteboard.
coords | left-most starting position for text |
chars | the string to display |
rot_angle | rotation angle for the text, with 0 being horizontal |
point_size | size of the text in points |
vAlign | vertical alignment of text. valid arguments are: align_top,align_middle, align_bottom |
hAlign | horizontal alignment of text. valid arguments are: align_left, align_center, align_right |
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to flush output stream when finished.
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to get the color of a display object.
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to get the name of the font.
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to get the font size.
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to get the line width associated with an object.
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to set the color of a display object.
C | color to assign to object |
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to set the font name and size.
Implemented in ns_whiteboard::ps_display.
|
pure virtual |
Abstract method to set the line width associated with an object
width | width of the line |
Implemented in ns_whiteboard::ps_display.