Class DefaultDrawableGraph2d<V,E>
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.Drawable
-
- org.jzy3d.plot3d.primitives.graphs.AbstractDrawableGraph2d<V,E>
-
- org.jzy3d.plot3d.primitives.graphs.impl.DefaultDrawableGraph2d<V,E>
-
- All Implemented Interfaces:
IDrawableGraph2d<V,E>
,IGLRenderer
,ISortableDraw
- Direct Known Subclasses:
PointGraph2d
,TextureGraph2d
public class DefaultDrawableGraph2d<V,E> extends AbstractDrawableGraph2d<V,E>
-
-
Field Summary
-
Fields inherited from class org.jzy3d.plot3d.primitives.graphs.AbstractDrawableGraph2d
formatter, graph, highlights, labelSceneOffset, labelScreenOffset, layout, txt, Z
-
Fields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
-
-
Constructor Summary
Constructors Constructor Description DefaultDrawableGraph2d()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyGeometryTransform(Transform transform)
protected void
drawEdge(IPainter painter, E e, Coord2d c1, Coord2d c2, Color color)
protected void
drawEdges(IPainter painter)
protected void
drawVertexLabel(IPainter painter, V v, Coord2d coord, Color color)
protected void
drawVertexLabels(IPainter painter)
protected void
drawVertexNode(IPainter painter, V v, Coord2d coord, Color color)
protected void
drawVertices(IPainter painter)
void
updateBounds()
-
Methods inherited from class org.jzy3d.plot3d.primitives.graphs.AbstractDrawableGraph2d
clearHighlighted, draw, getGraphFormatter, getGraphLayout, getGraphModel, getLabelSceneOffset, getLabelScreenOffset, isEdgeHighlighted, isVertexHighlighted, setGraphFormatter, setGraphLayout, setGraphModel, setGraphModel, setLabelSceneOffset, setLabelScreenOffset, setVertexHighlighted
-
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, asWireframeable, dispose, doDrawBoundsIfDisplayed, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, toString
-
-
-
-
Method Detail
-
drawVertices
protected void drawVertices(IPainter painter)
- Specified by:
drawVertices
in classAbstractDrawableGraph2d<V,E>
-
drawVertexLabels
protected void drawVertexLabels(IPainter painter)
- Specified by:
drawVertexLabels
in classAbstractDrawableGraph2d<V,E>
-
drawEdges
protected void drawEdges(IPainter painter)
- Specified by:
drawEdges
in classAbstractDrawableGraph2d<V,E>
-
applyGeometryTransform
public void applyGeometryTransform(Transform transform)
- Specified by:
applyGeometryTransform
in classDrawable
-
updateBounds
public void updateBounds()
- Specified by:
updateBounds
in classDrawable
-
-