org.jzy3d.plot3d.primitives.graphs.impl
Class DefaultDrawableGraph2d<V,E>

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.AbstractDrawable
      extended by org.jzy3d.plot3d.primitives.graphs.AbstractDrawableGraph2d<V,E>
          extended by org.jzy3d.plot3d.primitives.graphs.impl.DefaultDrawableGraph2d<V,E>
All Implemented Interfaces:
IDrawableGraph2d<V,E>, IGLRenderer, ISortableDraw
Direct Known Subclasses:
PointGraph2d, TextureGraph2d

public class DefaultDrawableGraph2d<V,E>
extends AbstractDrawableGraph2d<V,E>


Field Summary
 
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.AbstractDrawable
bbox, displayed, hasListeners, legend, legendDisplayed, listeners, transform
 
Constructor Summary
DefaultDrawableGraph2d()
           
 
Method Summary
protected  void drawEdge(javax.media.opengl.GL2 gl, javax.media.opengl.glu.GLU glu, Camera cam, E e, Coord2d c1, Coord2d c2, Color color)
           
protected  void drawEdges(javax.media.opengl.GL2 gl, javax.media.opengl.glu.GLU glu, Camera cam)
           
protected  void drawVertexLabel(javax.media.opengl.GL2 gl, javax.media.opengl.glu.GLU glu, Camera cam, V v, Coord2d coord, Color color)
           
protected  void drawVertexLabels(javax.media.opengl.GL2 gl, javax.media.opengl.glu.GLU glu, Camera cam)
           
protected  void drawVertexNode(javax.media.opengl.GL2 gl, javax.media.opengl.glu.GLU glu, Camera cam, V v, Coord2d coord, Color color)
           
protected  void drawVertices(javax.media.opengl.GL2 gl, javax.media.opengl.glu.GLU glu, Camera cam)
           
 
Methods inherited from class org.jzy3d.plot3d.primitives.graphs.AbstractDrawableGraph2d
clearHighlighted, draw, getGraphFormatter, getGraphLayout, getGraphModel, getLabelSceneOffset, getLabelScreenOffset, isEdgeHighlighted, isVertexHighlighted, setGraphFormatter, setGraphLayout, setGraphModel, setGraphModel, setLabelSceneOffset, setLabelScreenOffset, setVertexHighlighted
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, call, call, callWithAlphaFactor, dispose, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransform, hasLegend, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setDisplayed, setLegend, setLegendDisplayed, setTransform, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultDrawableGraph2d

public DefaultDrawableGraph2d()
Method Detail

drawVertices

protected void drawVertices(javax.media.opengl.GL2 gl,
                            javax.media.opengl.glu.GLU glu,
                            Camera cam)
Specified by:
drawVertices in class AbstractDrawableGraph2d<V,E>

drawVertexLabels

protected void drawVertexLabels(javax.media.opengl.GL2 gl,
                                javax.media.opengl.glu.GLU glu,
                                Camera cam)
Specified by:
drawVertexLabels in class AbstractDrawableGraph2d<V,E>

drawEdges

protected void drawEdges(javax.media.opengl.GL2 gl,
                         javax.media.opengl.glu.GLU glu,
                         Camera cam)
Specified by:
drawEdges in class AbstractDrawableGraph2d<V,E>

drawVertexNode

protected void drawVertexNode(javax.media.opengl.GL2 gl,
                              javax.media.opengl.glu.GLU glu,
                              Camera cam,
                              V v,
                              Coord2d coord,
                              Color color)

drawVertexLabel

protected void drawVertexLabel(javax.media.opengl.GL2 gl,
                               javax.media.opengl.glu.GLU glu,
                               Camera cam,
                               V v,
                               Coord2d coord,
                               Color color)

drawEdge

protected void drawEdge(javax.media.opengl.GL2 gl,
                        javax.media.opengl.glu.GLU glu,
                        Camera cam,
                        E e,
                        Coord2d c1,
                        Coord2d c2,
                        Color color)