From: <K.W...@gm...> - 2006-01-29 18:13:12
|
Hello! Few minutes ago I commited a rather big change. I divided the clusterdisplay class into two classes: - one named again clusterdisplay, which contains all the clever code needed to display the data, clusters and trajectories and to keep the history, - the other named glutwin manages the trackball and the clusterdisplay and the GLUT callbacks. It does some thread management, too. I hope you like it (please give feedback). As far as I can see, it introduced no error to the code, except one: Currently, there is no status message telling the computation is over. I would like to correct this issue by introducing another class responsible for all communication between the OpenGL thread and the cluster algorithm thread. This would probably simplify (i.e. shorten) the parameter list to the cluster algorithm, too. Please tell me if you don't want this. The trackball class has been cleaned up and the clusterviz script adapted to employ the glutwin class instead of the clusterdisplay class. I know you wanted more atomic commits, but I did not know how to split this step into smaller ones. Kind regards, Karsten. -- Wikar, der Desktop-Wiki: http://userpage.fu-berlin.de/~kweinert/wikar -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message, More +++ |