public class PointGraph2d<V,E> extends DefaultDrawableGraph2d<V,E>
Modifier and Type | Field and Description |
---|---|
protected Map<V,PickablePoint> |
vertexObjects |
formatter, graph, highlights, labelSceneOffset, labelScreenOffset, layout, txt, Z
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
Constructor and Description |
---|
PointGraph2d() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawVertexNode(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam,
V v,
Coord2d coord,
Color color) |
protected void |
drawVertices(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam) |
protected PickablePoint |
newPoint(V vertex) |
void |
setGraphModel(IGraph<V,E> graph) |
void |
setGraphModel(IGraph<V,E> graph,
PickingSupport picking) |
applyGeometryTransform, drawEdge, drawEdges, drawVertexLabel, drawVertexLabels, updateBounds
clearHighlighted, draw, getGraphFormatter, getGraphLayout, getGraphModel, getLabelSceneOffset, getLabelScreenOffset, isEdgeHighlighted, isVertexHighlighted, setGraphFormatter, setGraphLayout, setLabelSceneOffset, setLabelScreenOffset, setVertexHighlighted
addDrawableListener, call, call, callWithAlphaFactor, colorGL2, colorGLES2, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, toString, vertexGL2, vertexGLES2
protected Map<V,PickablePoint> vertexObjects
public void setGraphModel(IGraph<V,E> graph, PickingSupport picking)
setGraphModel
in interface IDrawableGraph2d<V,E>
setGraphModel
in class AbstractDrawableGraph2d<V,E>
public void setGraphModel(IGraph<V,E> graph)
setGraphModel
in interface IDrawableGraph2d<V,E>
setGraphModel
in class AbstractDrawableGraph2d<V,E>
protected PickablePoint newPoint(V vertex)
protected void drawVertices(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)
drawVertices
in class DefaultDrawableGraph2d<V,E>
protected void drawVertexNode(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam, V v, Coord2d coord, Color color)
drawVertexNode
in class DefaultDrawableGraph2d<V,E>
Copyright © 2016. All rights reserved.