Class BarycenterAnnotation
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.Drawable
-
- org.jzy3d.plot3d.primitives.Wireframeable
-
- org.jzy3d.plot3d.primitives.Composite
-
- org.jzy3d.plot3d.rendering.view.annotation.BarycenterAnnotation
-
- All Implemented Interfaces:
IMultiColorable
,ISingleColorable
,IGLRenderer
,ISortableDraw
public class BarycenterAnnotation extends Composite
Draws the barycenter of anGeometry
and a line each point and the barycenter.- Author:
- Martin
-
-
Field Summary
Fields Modifier and Type Field Description protected Geometry
annotated
protected Point
bary
protected List<LineStrip>
lines
-
Fields inherited from class org.jzy3d.plot3d.primitives.Composite
color, components, detailedToString, mapper, transform
-
Fields inherited from class org.jzy3d.plot3d.primitives.Wireframeable
depthFunctionChangeForWireframe, faceDisplayed, materialAmbiantReflection, materialDiffuseReflection, materialEmission, materialShininess, materialSpecularReflection, NO_OVERLAP_DEPTH_RATIO, polygonOffsetFactor, polygonOffsetFillEnable, polygonOffsetUnit, polygonWireframeDepthTrick, reflectLight, wireframeColor, wireframeColorFromPolygonPoints, wireframeDisplayed, wireframeWidth, wireframeWithLineLoop
-
Fields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transformBefore
-
-
Constructor Summary
Constructors Constructor Description BarycenterAnnotation(Geometry annotated)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<BarycenterAnnotation>
annotate(Composite composite)
void
draw(IPainter painter)
Delegate rendering iteratively to all Drawable of this composite.-
Methods inherited from class org.jzy3d.plot3d.primitives.Composite
add, add, applyGeometryTransform, canDecompose, clear, get, getBounds, getColor, getColorMapper, getDrawables, getTransform, isDetailedToString, remove, setColor, setColorMapper, setDetailedToString, setDisplayed, setFaceDisplayed, setMaterialAmbiantReflection, setMaterialDiffuseReflection, setMaterialEmission, setMaterialShininess, setMaterialSpecularReflection, setPolygonOffsetFillEnable, setPolygonWireframeDepthTrick, setReflectLight, setSpaceTransformer, setTransform, setTransformBefore, setWireframeColor, setWireframeColorFromPolygonPoints, setWireframeDisplayed, setWireframeWidth, size, toString, toString, updateBounds
-
Methods inherited from class org.jzy3d.plot3d.primitives.Wireframeable
applyDepthRangeDefault, applyDepthRangeForOverlying, applyDepthRangeForUnderlying, applyMaterial, doDrawBoundsIfDisplayed, getMaterialAmbiantReflection, getMaterialDiffuseReflection, getMaterialEmission, getMaterialShininess, getMaterialSpecularReflection, getPolygonOffsetFactor, getPolygonOffsetUnit, getWireframeColor, getWireframeWidth, isFaceDisplayed, isPolygonOffsetFillEnable, isPolygonWireframeDepthTrick, isReflectLight, isWireframeColorFromPolygonPoints, isWireframeDisplayed, polygonOffsetFillDisable, polygonOffsetFillEnable, polygonOffsetLineDisable, polygonOffsetLineEnable, setPolygonOffsetFactor, setPolygonOffsetUnit
-
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, asWireframeable, dispose, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayed
-
-
-
-
Constructor Detail
-
BarycenterAnnotation
public BarycenterAnnotation(Geometry annotated)
-
-
Method Detail
-
draw
public void draw(IPainter painter)
Description copied from class:Composite
Delegate rendering iteratively to all Drawable of this composite.- Specified by:
draw
in interfaceIGLRenderer
- Overrides:
draw
in classComposite
-
annotate
public static List<BarycenterAnnotation> annotate(Composite composite)
-
-