public class AnnotationPainter extends GlimpseDataPainter2D
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationPainter.Annotation |
BYTES_PER_FLOAT, logger
Constructor and Description |
---|
AnnotationPainter() |
AnnotationPainter(com.jogamp.opengl.util.awt.TextRenderer textRenderer) |
Modifier and Type | Method and Description |
---|---|
AnnotationPainter.Annotation |
addAnnotation(AnnotationPainter.Annotation annotation) |
AnnotationPainter.Annotation |
addAnnotation(String text,
float x,
float y) |
AnnotationPainter.Annotation |
addAnnotation(String text,
float x,
float y,
int offset_x,
int offset_y,
SimpleTextPainter.HorizontalPosition hPos,
SimpleTextPainter.VerticalPosition vPos,
float[] color) |
void |
clearAnnotations() |
void |
displayTime(long time)
Deprecated.
|
void |
displayTime(TimeStamp time) |
void |
displayTimeRange(long minTime,
long maxTime)
Deprecated.
|
void |
displayTimeRange(TimeStamp minTime,
TimeStamp maxTime) |
com.jogamp.opengl.util.awt.TextRenderer |
getTextRenderer() |
void |
paintTo(javax.media.opengl.GL2 gl,
GlimpseBounds bounds,
Axis2D axis) |
isAlphaBlend, isLineSmooth, isPointSmooth, paintTo, setAlphaBlend, setLineSmooth, setPointSmooth
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
public AnnotationPainter()
public AnnotationPainter(com.jogamp.opengl.util.awt.TextRenderer textRenderer)
public com.jogamp.opengl.util.awt.TextRenderer getTextRenderer()
public AnnotationPainter.Annotation addAnnotation(String text, float x, float y)
public AnnotationPainter.Annotation addAnnotation(String text, float x, float y, int offset_x, int offset_y, SimpleTextPainter.HorizontalPosition hPos, SimpleTextPainter.VerticalPosition vPos, float[] color)
public AnnotationPainter.Annotation addAnnotation(AnnotationPainter.Annotation annotation)
public void clearAnnotations()
public void displayTime(TimeStamp time)
@Deprecated public void displayTime(long time)
displayTime( TimeStamp )
@Deprecated public void displayTimeRange(long minTime, long maxTime)
displayTimeRange( TimeStamp, TimeStamp )
public void paintTo(javax.media.opengl.GL2 gl, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpseDataPainter2D
Copyright © 2016 Metron, Inc.. All rights reserved.