de.uni_leipzig.cvk.visual
Class AggregateLayout

java.lang.Object
  extended by prefuse.activity.Activity
      extended by prefuse.action.Action
          extended by prefuse.action.GroupAction
              extended by prefuse.action.layout.Layout
                  extended by de.uni_leipzig.cvk.visual.AggregateLayout

public class AggregateLayout
extends prefuse.action.layout.Layout

Layout algorithm that computes a convex hull surrounding aggregate items and saves it in the "_polygon" field.

Author:
jeffrey heer, rspeck
 

Field Summary
 boolean runs
          Flag that indicates the state of run(double) member method.
 
Fields inherited from class prefuse.action.layout.Layout
m_anchor, m_bounds, m_bpts, m_insets, m_tmpa, m_tmpb
 
Fields inherited from class prefuse.action.GroupAction
m_group
 
Fields inherited from class prefuse.action.Action
m_vis
 
Fields inherited from class prefuse.activity.Activity
DEFAULT_STEP_TIME, INFINITY
 
Constructor Summary
AggregateLayout(java.lang.String aggrGroup)
           
 
Method Summary
 void run(double frac)
          Computes convex hull if aggregates are visible.
 
Methods inherited from class prefuse.action.layout.Layout
getLayoutAnchor, getLayoutBounds, setLayoutAnchor, setLayoutBounds, setMargin, setX, setY
 
Methods inherited from class prefuse.action.GroupAction
getGroup, setGroup
 
Methods inherited from class prefuse.action.Action
getVisualization, run, setVisualization
 
Methods inherited from class prefuse.activity.Activity
addActivityListener, alwaysRunAfter, cancel, fireActivityCancelled, fireActivityFinished, fireActivityScheduled, fireActivityStarted, fireActivityStepped, getDuration, getNextTime, getPace, getPacingFunction, getStartTime, getStepTime, getStopTime, isEnabled, isRunning, isScheduled, removeActivityListener, run, runAfter, runAt, setDuration, setEnabled, setPacingFunction, setStartTime, setStepTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runs

public boolean runs
Flag that indicates the state of run(double) member method. This flag is set to false in the last line of this method, to be sure the Action is canceled. The flag is set to true in first line.

Constructor Detail

AggregateLayout

public AggregateLayout(java.lang.String aggrGroup)
Method Detail

run

public void run(double frac)
Computes convex hull if aggregates are visible.

Specified by:
run in class prefuse.action.GroupAction
See Also:
Action.run(double)