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, getVisVertex
protected EmittedLayout start
protected EmittedLayout end
protected final int numFrames
public InterpolatingIterableLayout(EmittedLayout end, int numFrames)
public boolean iterationsAreDone()
IterableLayout
iterationsAreDone
in class IterableLayout
public boolean isFinite()
IterableLayout
isFinite
in class IterableLayout
protected void calculate()
IterableLayout
calculate
in class IterableLayout
public void initializeLocationsFromLayout(EmittedLayout inputLayout)
IterableLayout
initializeLocationsFromLayout
in class IterableLayout
protected abstract VisEdge interpolateE(VisEdge startE, VisEdge endE, VisVertex f, VisVertex s, int thisFrame2, int numFrames2)
startE
- endE
- thisFrame2
- numFrames2
-