drawing sequence basepairs.
authorDiane Trout <diane@caltech.edu>
Mon, 6 Mar 2006 08:59:35 +0000 (08:59 +0000)
committerDiane Trout <diane@caltech.edu>
Mon, 6 Mar 2006 08:59:35 +0000 (08:59 +0000)
commit2b8f5c248968747208c8cc44bbebfd1ed6219564
tree5d81600067f5285de4aad8375c1ada5d5748c55b
parent581756feb3f092c867fe6f63c924b2e2b760f1ac
drawing sequence basepairs.
OpenGL is not very text friendly. But I can draw AGCTs with something
that's vaguely readable. I tried to use FTGL (a freetype based GL font
rendering library, but I couldn't get it to control the width of fonts
and so they ended up rendering on top of each other.) I used an example
out of the opengl redbook, to hand code glyphs that are at least passable.

The current block of code manages to turn on text rendering only when there's
enough space to make them legible. However I'm not completely convinced that
the text is actually in the right place.

There's also a problem with the python to C++ interface that I worked around
if you create a Sequence object and point a GlSequence to it, if the
python copy goes away, the copy in GlSequence dies, which makes rendering
sequence data a bit challenging.
alg/conserved_path.cxx
mussagl.pro
py/gl.py
py/module.mk
qui/GlSequence.cxx
qui/GlSequence.h
qui/PathScene.cxx
qui/PathScene.h
qui/PathWindow.cxx