Next: DTWDataSelector module detail
Up: GUI detailed design
Previous: DTWDataPlotter module detail
  Contents
Private data and data structures
int[][] values
An array of vectors. Two int values in an element to describe one element.
JLabel pathLength
Path lenght displayed in the component.
Implementation of methods
DTWPathPlotter
- Initialize the component with size width*height.
setValues
- Copy values from the parameters to
values[][]
.
- Call
drawVectors
method.
drawVectors
- Set
currentX
int value to 0.
- Set
currentY
int value to graphicsHeight.
- Get the coordinates from
values[values.length()-1]
to maxX
and maxY
.
- float
and float
.
- Repeat
values.length()
times:
-
-
- Draw a line from (currentX,currentY) to (nextX, nextY).
-
and
.
2002-03-19