|
Whiteboard
An interface and tools for visualizing large and complex datasets
|
#include <Whiteboard.h>
Public Member Functions | |
| ps_display (ostream &ostrm, double horizSize, double vertSize, double border=0.0) | |
| virtual | ~ps_display () |
| void | DrawPoint (const xy_coords &coords) |
| void | DrawPoint (double x, double y) |
| void | DrawLine (const xy_coords &startCoords, const xy_coords &stopCoords) |
| void | DrawText (const xy_coords &coords, const string &chars, double rot_angle, double point_size, const vert_align vAlign, const horiz_align hAlign) |
| void | DrawArc (const xy_coords &coords, const double radius, const double startAngle, const double stopAngle) |
| void | DrawRect (const xy_coords &topLeftCoords, const xy_coords &bottomRightCoords) |
| const color & | GetColor () const |
| void | SetColor (const color &C) |
| double | GetLineWidth () const |
| void | SetLineWidth (const double width) |
| const string & | GetFontName () const |
| double | GetFontSize () const |
| void | SetFont (const string &font, const double size) |
| void | Finish () |
Public Member Functions inherited from ns_whiteboard::display_type | |
| virtual | ~display_type () |
Protected Attributes | |
| ostream & | m_outstrm |
| color | m_color |
| double | m_lineWidth |
| string | m_fontName |
| double | m_fontSize |
Class to create EncapsulatePostScript displays. Concrete implementation of the display_type abstract base class.
|
inline |
| ostrm | output stream |
| horizSize | length of diplay page (pts) |
| vertSize | height of display page (pts) |
| border | size of border around display page (pts) |
|
inlinevirtual |
|
inlinevirtual |
Method to create the code to draw an arc in EPS.
| coords | starting position of the arc |
| radius | radius of curvature |
| startAngle | measured counterclockwise from positive x-axis (deg) |
| stopAngle | measured counterclockwise from positive x-axis (def) |
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to generate the code to draw a line in EPS.
| startCoords | start position of the line |
| stopCoords | end position of the line |
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to generate the code to draw a point in EPS given an xy_coords.
| coords | x-y coordinates of the point to be drawn |
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to generate the code to draw a point in EPS given the (x,y) coordinates separately.
| x | x-coordinate of the point |
| y | y-coordinate of the point |
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to create the code to draw a rectangle in EPS.
| topLeftCoords | x-y coordinate of the top left corner of the rectangle |
| bottomRightCoords | x-y coordinate of the bottom right corner of the rectangle |
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to generate the code to draw text in EPS.
| coords | left-most x-y coordinate of the text to display |
| chars | text to display |
| rot_angle | rotation angle of text measured counterclockwise from horizontal and given in degrees |
| vAlign | vertical alignment of text |
| hAlign | horizontal alignment of text |
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to flush the output stream when finished drawing objects.
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to get the color of the display.
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to get the font name.
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to get the font size.
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to get the line width of the display.
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to set the color of the display.
| C | color of the display |
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to set the name and size of the font.
| font | font type |
| size | font size |
Implements ns_whiteboard::display_type.
|
inlinevirtual |
Method to set the line width of the display
| width | line width (pts) |
Implements ns_whiteboard::display_type.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.8