public class PolarLocationAnimator extends ItemAction
m_predicate
m_group
DEFAULT_STEP_TIME, INFINITY
Constructor and Description |
---|
PolarLocationAnimator()
Creates a PolarLocationAnimator that operates on all VisualItems
within a Visualization.
|
PolarLocationAnimator(java.lang.String group)
Creates a PolarLocationAnimator that operates on VisualItems
within the specified group.
|
PolarLocationAnimator(java.lang.String group,
java.lang.String linearGroup)
Creates a PolarLocationAnimator that operates on VisualItems
within the specified group, while using regular linear interpolation
(in Cartesian (x,y) coordinates rather than polar coordinates) for
items also contained within the specified linearGroup.
|
Modifier and Type | Method and Description |
---|---|
void |
process(VisualItem item,
double frac)
Processes an individual item.
|
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs.
|
getFilterPredicate, setFilterPredicate
getGroup, setGroup
getVisualization, run, setVisualization
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
public PolarLocationAnimator()
public PolarLocationAnimator(java.lang.String group)
group
- the data group to processpublic PolarLocationAnimator(java.lang.String group, java.lang.String linearGroup)
group
- the data group to processlinearGroup
- the group of items that should be interpolated
in Cartesian (standard x,y) coordinates rather than polar coordinates.
Note that this animator will not process any items in
linearGroup
that are not also in group
.public void run(double frac)
Action
run
in class ItemAction
frac
- the fraction of this Action's duration that has elapsed.Action.run(double)
public void process(VisualItem item, double frac)
ItemAction
process
in class ItemAction
item
- the VisualItem to processfrac
- the fraction of elapsed duration timeItemAction.process(prefuse.visual.VisualItem, double)
Copyright ? 2013 Regents of the University of California