public class PolygonPainter extends GlimpsePainter2D
Modifier and Type | Class and Description |
---|---|
static class |
PolygonPainter.PolygonIntervalSortedMultimap |
BYTES_PER_FLOAT, logger
Constructor and Description |
---|
PolygonPainter() |
Modifier and Type | Method and Description |
---|---|
void |
addPolygon(Object groupId,
Object polygonId,
float[] dataX,
float[] dataY,
float z) |
void |
addPolygon(Object groupId,
Object polygonId,
long startTime,
long endTime,
float[] dataX,
float[] dataY,
float z) |
void |
addPolygon(Object groupId,
Object polygonId,
long startTime,
long endTime,
Polygon geometry,
float z) |
void |
addPolygon(Object groupId,
Object polygonId,
long startTime,
long endTime,
Shape shape,
float z) |
void |
addPolygon(Object groupId,
Object polygonId,
Polygon geometry,
float z) |
void |
addPolygon(Object groupId,
Object polygonId,
Shape shape,
float z) |
void |
clearGroup(Object groupId)
Clears an individual Polygon group, deleting all the polygons its contains but
retaining its display settings.
|
void |
deleteAll()
Deletes all Polygon groups, removing their display settings and reclaiming memory.
|
void |
deleteGroup(Object groupId)
Deletes an individual Polygon group, removing its display settings and reclaiming memory.
|
void |
deletePolygon(Object groupId,
Object polygonId) |
void |
displayTimeRange(double startTime,
double endTime) |
void |
displayTimeRange(int groupId,
long startTime,
long endTime) |
void |
displayTimeRange(long startTime,
long endTime) |
void |
displayTimeRange(Object groupId,
double startTime,
double endTime) |
void |
dispose(javax.media.opengl.GLContext context) |
void |
paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis2D axis) |
void |
setFill(Object groupId,
boolean show) |
void |
setFillColor(Object groupId,
float[] rgba) |
void |
setFillColor(Object groupId,
float r,
float g,
float b,
float a) |
void |
setLineColor(Object groupId,
float[] rgba) |
void |
setLineColor(Object groupId,
float r,
float g,
float b,
float a) |
void |
setLineDotted(Object groupId,
boolean dotted) |
void |
setLineDotted(Object groupId,
int stippleFactor,
short stipplePattern) |
void |
setLineWidth(Object groupId,
float width) |
void |
setPolyDotted(Object groupId,
boolean dotted) |
void |
setPolyDotted(Object groupId,
byte[] stipple) |
void |
setShowLines(Object groupId,
boolean show) |
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
public void addPolygon(Object groupId, Object polygonId, float[] dataX, float[] dataY, float z)
public void addPolygon(Object groupId, Object polygonId, long startTime, long endTime, float[] dataX, float[] dataY, float z)
public void addPolygon(Object groupId, Object polygonId, long startTime, long endTime, Polygon geometry, float z)
public void addPolygon(Object groupId, Object polygonId, long startTime, long endTime, Shape shape, float z)
public void displayTimeRange(Object groupId, double startTime, double endTime)
public void displayTimeRange(double startTime, double endTime)
public void displayTimeRange(int groupId, long startTime, long endTime)
public void displayTimeRange(long startTime, long endTime)
public void setLineColor(Object groupId, float[] rgba)
public void setLineColor(Object groupId, float r, float g, float b, float a)
public void setLineWidth(Object groupId, float width)
public void setShowLines(Object groupId, boolean show)
public void setPolyDotted(Object groupId, byte[] stipple)
public void setPolyDotted(Object groupId, boolean dotted)
public void setLineDotted(Object groupId, boolean dotted)
public void setLineDotted(Object groupId, int stippleFactor, short stipplePattern)
public void setFill(Object groupId, boolean show)
public void setFillColor(Object groupId, float[] rgba)
public void setFillColor(Object groupId, float r, float g, float b, float a)
public void deleteAll()
public void deleteGroup(Object groupId)
groupId
- the id of the group to deletepublic void clearGroup(Object groupId)
groupId
- the id of the group to clearpublic void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpsePainter2D
public void dispose(javax.media.opengl.GLContext context)
Copyright © 2013 Metron, Inc.. All rights reserved.