public class GroupedEventPainterAdapter extends Object implements GroupedEventPainter
EventPainter
to (inefficiently)
perform the function of a GroupedEventPainter
.
This class should generally not be used. Instead, a GroupedEventPainter
should be implemented which efficiently draws all events simultaneously.Constructor and Description |
---|
GroupedEventPainterAdapter(EventPainter painter) |
Modifier and Type | Method and Description |
---|---|
void |
paint(javax.media.opengl.GL2 gl,
EventPlotInfo info,
GlimpseBounds bounds,
Axis1D timeAxis,
Collection<EventDrawInfo> events)
Draw all the events in the provided collection using the GL2 handle.
|
public GroupedEventPainterAdapter(EventPainter painter)
public void paint(javax.media.opengl.GL2 gl, EventPlotInfo info, GlimpseBounds bounds, Axis1D timeAxis, Collection<EventDrawInfo> events)
GroupedEventPainter
paint
in interface GroupedEventPainter
gl
- OpenGL handleinfo
- parent EventPlotInfo of Event to be paintedbounds
- width, height, and position of GlimpseLayout containing EventPlotInfotimeAxis
- the plot time axisevents
- the event objects to drawCopyright © 2016 Metron, Inc.. All rights reserved.