public abstract class InterpolatingIterableLayout extends IterableLayout
| Modifier and Type | Field and Description |
|---|---|
protected EmittedLayout |
end |
protected int |
numFrames |
protected EmittedLayout |
start |
currentLayout, returnableLayout| Constructor and Description |
|---|
InterpolatingIterableLayout(EmittedLayout end,
int numFrames) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculate()
Transforms currentLayout according to current layout algorithm.
|
void |
initializeLocationsFromLayout(EmittedLayout inputLayout)
Starts up this layout based on a previous layout.
|
protected abstract VisEdge |
interpolateE(VisEdge startE,
VisEdge endE,
VisVertex f,
VisVertex s,
int thisFrame2,
int numFrames2) |
protected abstract VisVertex |
interpolateV(VisVertex startV,
VisVertex endV,
int thisFrame2,
int numFrames2) |
boolean |
isFinite()
Says whether this algorthms' iterations will ever end.
|
boolean |
iterationsAreDone()
Gives the outlining algorithm a sense of how long to run.
|
advance, emit, getScreenSize, getVisEdge, getVisVertexprotected EmittedLayout start
protected EmittedLayout end
protected final int numFrames
public InterpolatingIterableLayout(EmittedLayout end, int numFrames)
public boolean iterationsAreDone()
IterableLayoutiterationsAreDone in class IterableLayoutpublic boolean isFinite()
IterableLayoutisFinite in class IterableLayoutprotected void calculate()
IterableLayoutcalculate in class IterableLayoutpublic void initializeLocationsFromLayout(EmittedLayout inputLayout)
IterableLayoutinitializeLocationsFromLayout in class IterableLayoutprotected abstract VisEdge interpolateE(VisEdge startE, VisEdge endE, VisVertex f, VisVertex s, int thisFrame2, int numFrames2)
startE - endE - thisFrame2 - numFrames2 -