Differences between revisions 5 and 6
Revision 5 as of 2009-07-16 01:36:10
Size: 1440
Editor: KeiichiroOno
Comment:
Revision 6 as of 2009-07-16 01:47:51
Size: 1951
Editor: KeiichiroOno
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

'''Still under construction!'''
Line 26: Line 28:
 * Visualizer
 * VisualItemRenderer
 * VisualizerFactory
 * PresentationFactory - Provide a function to add Presentation as Swing Component to a given object.
 * VisualItemRenderer - Provide a VisualLexicon for
 * RenderingEngine - Render the scene

{{{#!java
public interface PresentationFactory {
    /**
     * This method should add whatever content it likes to the JInternalFrame for
     * display. It should also be sure to register said content as a transfer
     * (Drag 'n Drop) listener, if so desired.
     */
    public <T extends View<?>> Renderer<T> addPresentation(Container presentationContainer, T view);
}
}}}
Line 35: Line 49:
==== SceneRenderer ====
Line 37: Line 50:
==== ComponentRenderer ====

Presentation Layer

Updated on July 15, 2009 by KeiOno

Still under construction!

Introduction

Presentation layer is the set of actual classes which draws network graphics. From 3.0, Cytoscpae can have multiple presentation per view. This means multiple rendering engines can co-exist in an instance of Cytoscape.

Design

Definitions

Data Model

View Model
  • A map from Visual Property type to a value (color, size, ...)
  • One View Model is always associated with a data model.
  • A data model can have multiple View Models.

Presentation
  • Presentation is a visualization of View Model. A View Model can have multiple presentations. In reality, presentation represents a drawing on AWT Canvas or other Swing Components.

API

There are 3 interfaces in Presentation API bundle:

   1 public interface PresentationFactory {
   2     /**
   3      * This method should add whatever content it likes to the JInternalFrame for
   4      * display.  It should also be sure to register said content as a transfer
   5      * (Drag 'n Drop) listener, if so desired.
   6      */
   7     public <T extends View<?>> Renderer<T> addPresentation(Container presentationContainer, T view);
   8 }
   9 

Discussion

Our overall design (model-view-presentation) does not completely equivalent to typical scene graph used in many 3D visualizers. This design is inspired by Prefuse Visualization Toolkit.

Case Study

Visualize Attributes

Relationship between Presentation Layer and Other Modules

VizMap

Outdated_Cytoscape_3.0/PresentationDiscussions (last edited 2011-02-24 15:32:17 by PietMolenaar)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux