Trace

UI Object that draw a trace based on the output from a module specified by 'module' and 'source'. By default, the frame is transparent to allow the trace to be drawn on top of an image. The coordinates in the source should be between 0 and 1.

the trace object
Example Trace View

Example XML definition

  <object
    class="Trace" 
    module="MY_MODULE"
    source="MY_OUTPUT"
    x="0"
    y="0" 
  />

Attributes

Attribute Description Default
class must be "Trace"  
title title of the object module.source
x placement of the object  
y placement of the object  
w width of the object 1
h height of the object 1
module name of the module to be visualized  
source name of the output to be visualized  
color color of the trace "yellow"
length length of the trace in samples 10
stroke_width width of the trace in pixels 1
Attributes without default values must be specified except where described above.

Author

Christian Balkenius
Lund University Cognitive Science
christian.balkenius@lucs.lu.se

Files

Trace.js