org.jzy3d.plot3d.rendering.view.annotation
Class BarycenterAnnotation
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.AbstractDrawable
-
- org.jzy3d.plot3d.primitives.AbstractWireframeable
-
- org.jzy3d.plot3d.primitives.AbstractComposite
-
- org.jzy3d.plot3d.rendering.view.annotation.BarycenterAnnotation
-
- All Implemented Interfaces:
- IMultiColorable, ISingleColorable, IGLRenderer, ISortableDraw
public class BarycenterAnnotation extends AbstractComposite
Draws the barycenter of anAbstractGeometryand a line each point and the barycenter.
-
-
Constructor Summary
Constructors Constructor and Description BarycenterAnnotation(AbstractGeometry annotated)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static java.util.List<BarycenterAnnotation>annotate(AbstractComposite composite)voiddraw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera camera)Delegate rendering iteratively to all Drawable of this composite.-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractComposite
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
-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth
-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, dispose, doTransform, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer
-
-
-
-
Constructor Detail
-
BarycenterAnnotation
public BarycenterAnnotation(AbstractGeometry annotated)
-
-
Method Detail
-
draw
public void draw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera camera)Description copied from class:AbstractCompositeDelegate rendering iteratively to all Drawable of this composite.- Specified by:
drawin interfaceIGLRenderer- Overrides:
drawin classAbstractComposite- Parameters:
gl- GL2 contextglu- GLU contextcamera- a reference to a shooting Camera.
-
annotate
public static java.util.List<BarycenterAnnotation> annotate(AbstractComposite composite)
-
-
DMelt 3.0 © DataMelt by jWork.ORG