public class BarycenterAnnotation extends AbstractComposite
AbstractGeometry
and a line each point and the barycenter.Modifier and Type | Field and Description |
---|---|
protected AbstractGeometry |
annotated |
protected Point |
bary |
protected List<LineStrip> |
lines |
color, components, detailedToString, mapper, transform
facestatus, wfcolor, wfstatus, wfwidth
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transformBefore
Constructor and Description |
---|
BarycenterAnnotation(AbstractGeometry annotated) |
Modifier and Type | Method and Description |
---|---|
static List<BarycenterAnnotation> |
annotate(AbstractComposite composite) |
void |
draw(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera camera)
Delegate rendering iteratively to all Drawable of this composite.
|
add, add, applyGeometryTransform, clear, get, getBounds, getColor, getColorMapper, getDrawables, getTransform, isDetailedToString, remove, setColor, setColorMapper, setDetailedToString, setDisplayed, setFaceDisplayed, setTransform, setTransformBefore, setWireframeColor, setWireframeDisplayed, setWireframeWidth, size, toString, toString, updateBounds
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth
addDrawableListener, call, call, callWithAlphaFactor, colorGL2, colorGLES2, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, vertexGL2, vertexGLES2
protected AbstractGeometry annotated
protected Point bary
public BarycenterAnnotation(AbstractGeometry annotated)
public void draw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera camera)
AbstractComposite
draw
in interface IGLRenderer
draw
in class AbstractComposite
gl
- GL2 contextglu
- GLU contextcamera
- a reference to a shooting Camera.public static List<BarycenterAnnotation> annotate(AbstractComposite composite)
Copyright © 2016. All rights reserved.