Class PopGraph3D

All Implemented Interfaces:
DoubleClickHandler, HasAllDragAndDropHandlers, HasAllFocusHandlers, HasAllGestureHandlers, HasAllKeyHandlers, HasAllMouseHandlers, HasAllTouchHandlers, HasBlurHandlers, HasClickHandlers, HasContextMenuHandlers, HasDoubleClickHandlers, HasDragEndHandlers, HasDragEnterHandlers, HasDragHandlers, HasDragLeaveHandlers, HasDragOverHandlers, HasDragStartHandlers, HasDropHandlers, HasFocusHandlers, HasGestureChangeHandlers, HasGestureEndHandlers, HasGestureStartHandlers, HasKeyDownHandlers, HasKeyPressHandlers, HasKeyUpHandlers, HasMouseDownHandlers, HasMouseMoveHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseUpHandlers, HasMouseWheelHandlers, HasTouchCancelHandlers, HasTouchEndHandlers, HasTouchMoveHandlers, HasTouchStartHandlers, MouseDownHandler, MouseMoveHandler, MouseOutHandler, MouseUpHandler, MouseWheelHandler, TouchEndHandler, TouchMoveHandler, TouchStartHandler, HasAttachHandlers, EventHandler, HasHandlers, EventListener, AcceptsOneWidget, Focusable, HasFocus, HasOneWidget, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IsWidget, RequiresResize, SourcesClickEvents, SourcesFocusEvents, SourcesKeyboardEvents, SourcesMouseEvents, SourcesMouseWheelEvents, Iterable<Widget>, AbstractGraph.Zoomer, AbstractGraph.Zooming, Network.LayoutListener, ContextMenu.Listener, ContextMenu.Provider, Tooltip.Provider, Context3dErrorHandler

public class PopGraph3D extends GenericPopGraph<MeshLambertMaterial,Network3DGWT> implements Context3dErrorHandler
The graphical representation of network structures in 3D. The 3D graph is based on the Parallax 3D library. The graph is displayed in a RenderingPanel which is a GWT widget that wraps the Parallax 3D library.

The graph is interactive and allows the user to zoom and rotate the view. The user can change the state of nodes by by double-clicking on them. The graph can be exported in PNG or SVG graphics formats.

Author:
Christoph Hauert
  • Field Details

    • graph3DPanel

      RenderingPanel graph3DPanel
      The panel for rendering the 3D graph.
    • graph3DScene

      PopGraph3D.Pop3DScene graph3DScene
      The 3D scene of the graph.
    • graph3DCamera

      Camera graph3DCamera
      The camera of the 3D graph.
    • spheres

      ArrayList<Mesh> spheres
      The colors of the nodes.
    • linkstyle

      The line style for the links.
    • light

      PointLight light
      The directed light source illuminating the scene.
    • ambient

      AmbientLight ambient
      The ambient light source illuminating the scene.
    • msgLabel

      Label msgLabel
      The label for displaying messages.
    • raycaster

      Raycaster raycaster
      Helper field for determining which node has been hit by mouse or tap.
    • effect

      private Effect effect
      Helper variable for additional effects on the 3D view. This handles anaglyph and stereo projections.
  • Constructor Details

    • PopGraph3D

      public PopGraph3D(GenericPopGraph.PopGraphController controller, Module module)
      Create a graph for graphically visualizing the structure of a network (or population). Allocates the canvas and the label and retrieves the shared tooltip and context menu.

      CSS Style Rules

      .evoludo-PopGraph3D
      the graph element.
      .evoludo-Label3D
      the graph label element.
      .evoludo-Message3D
      the message element (3D text).
      Parameters:
      controller - the controller of this graph
      module - the module backing the graph
  • Method Details