Class PointGraph2d<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>
-
- org.jzy3d.plot3d.primitives.graphs.impl.PointGraph2d<V,E>
-
- All Implemented Interfaces:
IDrawableGraph2d<V,E>
,IGLRenderer
,ISortableDraw
public class PointGraph2d<V,E> extends DefaultDrawableGraph2d<V,E>
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<V,PickablePoint>
vertexObjects
-
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 PointGraph2d()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
drawVertexNode(IPainter painter, V v, Coord2d coord, Color color)
protected void
drawVertices(IPainter painter)
protected PickablePoint
newPoint(V vertex)
void
setGraphModel(IGraph<V,E> graph)
void
setGraphModel(IGraph<V,E> graph, PickingSupport picking)
-
Methods inherited from class org.jzy3d.plot3d.primitives.graphs.impl.DefaultDrawableGraph2d
applyGeometryTransform, drawEdge, drawEdges, drawVertexLabel, drawVertexLabels, updateBounds
-
Methods inherited from class org.jzy3d.plot3d.primitives.graphs.AbstractDrawableGraph2d
clearHighlighted, draw, getGraphFormatter, getGraphLayout, getGraphModel, getLabelSceneOffset, getLabelScreenOffset, isEdgeHighlighted, isVertexHighlighted, setGraphFormatter, setGraphLayout, 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
-
-
-
-
Field Detail
-
vertexObjects
protected Map<V,PickablePoint> vertexObjects
-
-
Method Detail
-
setGraphModel
public void setGraphModel(IGraph<V,E> graph, PickingSupport picking)
- Specified by:
setGraphModel
in interfaceIDrawableGraph2d<V,E>
- Overrides:
setGraphModel
in classAbstractDrawableGraph2d<V,E>
-
setGraphModel
public void setGraphModel(IGraph<V,E> graph)
- Specified by:
setGraphModel
in interfaceIDrawableGraph2d<V,E>
- Overrides:
setGraphModel
in classAbstractDrawableGraph2d<V,E>
-
newPoint
protected PickablePoint newPoint(V vertex)
-
drawVertices
protected void drawVertices(IPainter painter)
- Overrides:
drawVertices
in classDefaultDrawableGraph2d<V,E>
-
drawVertexNode
protected void drawVertexNode(IPainter painter, V v, Coord2d coord, Color color)
- Overrides:
drawVertexNode
in classDefaultDrawableGraph2d<V,E>
-
-