path: root/meme
AgeCommit message (Collapse)AuthorFilesLines
2016-12-09meme/README: sloppily write down some build requisitesWerner Almesberger1-1/+7
2016-05-12meme/gui.c, README: add "sticky" contrast enhancement modeWerner Almesberger2-3/+8
2016-05-11meme/gui.c: output "B" marker as "A" on marker_nextWerner Almesberger1-5/+17
This lets keep track of the marker change.
2016-05-11meme/marker.c, README: support six-number format, with text offsetWerner Almesberger2-9/+34
2016-02-15meme/marker.c (marker_load_file): allow whitespace in text (use %m[^\n])Werner Almesberger1-2/+2
2016-02-15meme/gui.c: use SDL_GetError when reporting an SDL problemWerner Almesberger1-4/+5
2016-02-15meme/: non-interactive screen dumps with -D ...Werner Almesberger4-13/+248
2016-02-14meme/ describe typical use scenarioWerner Almesberger1-1/+11
2016-02-14meme/meme.c (usage): explain what the options doWerner Almesberger1-2/+12
2016-02-14meme/ helper script to convert meme logs to markersWerner Almesberger1-0/+80
Saves a lot of tedious copy & paste.
2016-02-14meme/gui.c (gui), README: O also toggles markers (in addition to overlays)Werner Almesberger2-4/+5
2016-02-14meme/gui.c (draw_overlay): don't try to draw overlays if we don't have anyWerner Almesberger1-2/+3
This caused a segfault.
2016-02-14meme/: use adaptive outline instead of rectangle for marker textWerner Almesberger3-14/+57
2016-02-14meme/marker.c (marker_draw): make normal never point to X-Werner Almesberger1-0/+9
This way, text won't end up on the measurement line.
2016-02-14meme/gui.c (TEXT_OFFSET_X, TEXT_OFFSET_Y): better center the textWerner Almesberger1-2/+2
2016-02-14meme/: add little "T" marks at the ends of measurementsWerner Almesberger3-4/+14
2016-02-14meme/gui.c (marker_line): also correct "ok" logic, inherited from "lineto"Werner Almesberger1-2/+7
2016-02-14meme/gui.c (lineto): finally fix confused "ok" logicWerner Almesberger1-5/+7
GCC warned for very good reasons but I somehow completely missed that :-(
2016-02-14meme/: add marker system (for documentation); option -m to add markersWerner Almesberger7-7/+280
2016-02-13meme/overlay.c: remove excessive whitespaceWerner Almesberger1-2/+0
2016-02-13meme/: add screen dumps with "D"; option "-d dump.bmp" to set dump nameWerner Almesberger6-25/+40
2016-02-13meme/screen.h, screen.c: copy over from anelok/sim/Werner Almesberger2-0/+85
2015-03-17meme/: N moves marker B to marker A (for sequential capture)Werner Almesberger2-0/+12
2015-03-16meme/slice.c: needle model: avoid segments that consist of a single pointWerner Almesberger1-18/+36
We could get these when jumping back to the edge point on e > d. This reduces the number of lines in the gnuplot output by about 30%.
2015-03-16meme/: R reloads all overlaysWerner Almesberger3-5/+9
2015-03-16meme/overlay.c, overlay.h (overlay_reload): reload overlay from fileWerner Almesberger2-5/+57
2015-03-16meme/, vispcb/: separate paths from "struct overlay"Werner Almesberger5-26/+27
2015-03-15meme/: generalize overlay handling (let caller provide coordinate transform)Werner Almesberger3-9/+24
This will let us share the code with vispcb.
2015-03-15meme/ example slicing plane for n900-pcb-unstacked-bottom-50um.stlWerner Almesberger1-0/+61
2015-03-15meme/: add global z offset; prettify plane diagnostic; fix warning limitWerner Almesberger2-3/+18
2015-03-14meme/slice.c (slice_plane): use proper linear regression for finding the planeWerner Almesberger2-4/+47
Luckily, GSL has all the math we need:
2015-03-14meme/: new option -n to select outline calculation based on needle shapeWerner Almesberger4-13/+165
2015-03-14meme/: support multiple overlaysWerner Almesberger4-16/+46
2015-03-14meme/gui.h: give gui.c its proper headerWerner Almesberger3-4/+25
2015-03-14meme/: generalize overlay handling (no globals, support multiple overlays)Werner Almesberger4-24/+31
2015-03-14meme/gui.c (lineto): only alpha-blend the overlay when displaying meshWerner Almesberger1-11/+10
2015-03-14meme/: M toggles mesh display (e.g., for make the overlay more visible)Werner Almesberger2-1/+7
2015-03-14meme/slice.c: scale plane coordinates; fix typo in "solve"Werner Almesberger1-5/+7
2015-03-14meme/: new option -s for intersect the mesh with a plane (WIP)Werner Almesberger5-4/+257
2015-03-13meme/: add overlays (option -o, key O); clean up log file implementationWerner Almesberger6-5/+211
2015-03-13meme/main.c: rename to meme.cWerner Almesberger2-4/+4
2015-03-13meme/: new option "-l logfile" to append marker/measurement data to fileWerner Almesberger2-10/+31
2015-03-13meme/gui.c (set_marker): move text output to new function print_markerWerner Almesberger1-15/+21
2015-03-13meme/main.c: convert to using getoptWerner Almesberger1-7/+15
2014-12-16meme/gui.c: clip profiles more aggressivelyWerner Almesberger1-11/+15
Note the we can still get artefacts. To eliminate them completely, we could further constrain out-of-area coordinates but at the price of losing many partial lines at high zoom levels. What we'd really want to do is adjust coordinates such that we clip right at the area boundary. Maybe another time ;)
2014-12-16meme/gui.c (show_xz_profile, show_yz_profile): wrap long linesWerner Almesberger1-2/+4
2014-12-16meme/gui.c: roll back change in reverse orderWerner Almesberger2-20/+34
This should remove all artefacts caused by wrong ordering. We can still get artefacts caused by lack of clipping.
2014-09-27meme/gui.c, README: keep track of last mouse position; + and - keys zoom in/outWerner Almesberger2-7/+35
2014-09-27meme/gui.c (button_event): move zoom in/out to separate functionsWerner Almesberger1-18/+30
2014-09-27meme/gui.c (button_event, clear_markers), README: right-click clears both ↵Werner Almesberger2-1/+12