Class TextureGraph2d<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.TextureGraph2d<V,E>
- All Implemented Interfaces:
IDrawableGraph2d<V,
,E> IGLRenderer
,ISortableDraw
-
Field Summary
Modifier and TypeFieldDescriptionprotected SharedTexture
static float
static float
protected Map<V,
PickableTexture> 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawVertexNode
(IPainter painter, V v, Coord2d coord, Color color) protected void
drawVertices
(IPainter painter) protected PickableTexture
newTexture
(V vertex) 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, 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
-
Field Details
-
TEX_MAPPING_WIDTH
public static float TEX_MAPPING_WIDTH -
TEX_MAPPING_HEIGHT
public static float TEX_MAPPING_HEIGHT -
resource
-
vertexTextures
-
-
Constructor Details
-
TextureGraph2d
-
-
Method Details
-
setGraphModel
- Specified by:
setGraphModel
in interfaceIDrawableGraph2d<V,
E> - Overrides:
setGraphModel
in classAbstractDrawableGraph2d<V,
E>
-
newTexture
-
drawVertices
- Overrides:
drawVertices
in classDefaultDrawableGraph2d<V,
E>
-
drawVertexNode
- Overrides:
drawVertexNode
in classDefaultDrawableGraph2d<V,
E>
-