org.jzy3d.plot3d.primitives.graphs.impl
Class TextureGraph2d<V,E>
java.lang.Object
org.jzy3d.plot3d.primitives.AbstractDrawable
org.jzy3d.plot3d.primitives.graphs.AbstractDrawableGraph2d<V,E>
org.jzy3d.plot3d.primitives.graphs.impl.DefaultDrawableGraph2d<V,E>
org.jzy3d.plot3d.primitives.graphs.impl.TextureGraph2d<V,E>
- All Implemented Interfaces:
- IDrawableGraph2d<V,E>, IGLRenderer, ISortableDraw
public class TextureGraph2d<V,E>
- extends DefaultDrawableGraph2d<V,E>
Methods inherited from class org.jzy3d.plot3d.primitives.graphs.AbstractDrawableGraph2d |
clearHighlighted, draw, getGraphFormatter, getGraphLayout, getGraphModel, getLabelSceneOffset, getLabelScreenOffset, isEdgeHighlighted, isVertexHighlighted, setGraphFormatter, setGraphLayout, setGraphModel, setLabelSceneOffset, setLabelScreenOffset, setVertexHighlighted |
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
addDrawableListener, call, call, callWithAlphaFactor, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setTransform, setTransformBefore, toString, toString |
TEX_MAPPING_WIDTH
public static float TEX_MAPPING_WIDTH
TEX_MAPPING_HEIGHT
public static float TEX_MAPPING_HEIGHT
resource
protected SharedTexture resource
vertexTextures
protected Map<V,PickableTexture> vertexTextures
TextureGraph2d
public TextureGraph2d(String nodeMaskFile)
setGraphModel
public void setGraphModel(IGraph<V,E> graph,
PickingSupport picking)
- Specified by:
setGraphModel
in interface IDrawableGraph2d<V,E>
- Overrides:
setGraphModel
in class AbstractDrawableGraph2d<V,E>
newTexture
protected PickableTexture newTexture(V vertex)
drawVertices
protected void drawVertices(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam)
- Overrides:
drawVertices
in class DefaultDrawableGraph2d<V,E>
drawVertexNode
protected void drawVertexNode(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
V v,
Coord2d coord,
Color color)
- Overrides:
drawVertexNode
in class DefaultDrawableGraph2d<V,E>
Copyright © 2013. All rights reserved.