• Antelope Release 5.9 Mac OS X 10.13.2 2019-05-01

 

NAME

BQGlyph - BRTT Qt graphics extension for a glyph graphical object

SYNOPSIS


$(QTNATIVELIBS) -lbqplot_native -lbanner -lbrttutil -lbumapdata $(DBLIBS) $(TRLIBS)

#include "BQ.h"

DESCRIPTION

A BQGlyph object is a graphical glyph object that can be displayed and manipulated programmatically and with the mouse. A glyph can be a simple shape, like a circle or square, or it can be a compound shape involving several separate shape paths, such as an earthquake moment tensor "beachball". A glyph object's shape paths can be functions of independent parameters, such as the beachball node paths which are functions of the moment tensor components. Each glyph object can have optional text labels. Each glyph object can have independent graphics contexts (see BQGraphicsContext(3)), or can share graphics contexts in arbitrary ways. Each glyph object can contain user defined data that can point to information associated with each glyph.

All BQGlyph objects must be associated with a BQGlyphs object (see BQGlyphs(3)). When a BQGlyph object is constructed it instructs its BQViewportItem base class to not register it with the master BQViewport object. The actual rendering of individual BQGlyph objects is controlled by separate display lists within the associated BQGlyphs objects instead of the master display list within the BQViewport object. This provides a means for representing large numbers of BQGlyph objects within a BQViewport object as a single BQGlyphs object.

INHERITS FROM

BQViewportItem

CONSTRUCTOR

BQGlyph(BQViewport *master, BQGlyphs *glyphs);

Where "master" is the bqplot BQViewport item that acts as the master for the BQGlyph object and glyphs is the associated BQGlyphs object.

BQGlyph METHODS

SEE ALSO

bqplot(3), BQViewport(3), BQViewportItem(3), BQGlyphs(3), BQGraphicsContext(3), BQSymbol(3)

AUTHOR

Danny Harvey, BRTT
Printer icon