public class TextureGraph2d<V,E> extends DefaultDrawableGraph2d<V,E>
Modifier and Type | Field and Description |
---|---|
protected SharedTexture |
resource |
static float |
TEX_MAPPING_HEIGHT |
static float |
TEX_MAPPING_WIDTH |
protected Map<V,PickableTexture> |
vertexTextures |
formatter, graph, highlights, labelSceneOffset, labelScreenOffset, layout, txt, Z
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
Constructor and Description |
---|
TextureGraph2d(String nodeMaskFile) |
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 PickableTexture |
newTexture(V vertex) |
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, setGraphModel, 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
public static float TEX_MAPPING_WIDTH
public static float TEX_MAPPING_HEIGHT
protected SharedTexture resource
protected Map<V,PickableTexture> vertexTextures
public TextureGraph2d(String nodeMaskFile)
public void setGraphModel(IGraph<V,E> graph, PickingSupport picking)
setGraphModel
in interface IDrawableGraph2d<V,E>
setGraphModel
in class AbstractDrawableGraph2d<V,E>
protected PickableTexture newTexture(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.