Tom DeVito 10.18.2011

Start: 9:00am

  • Had some trouble getting FLTK to build.  Usually I am able to track down binaries for things like this, but in this case, there is a project file in the ide folder which allows Visual Studio to build it easily.  A note for the next time I run across source code with no project files is that I should be able to run command line compiles using the .make file.
  • Still lots of files and no .lib/.exe files in sight…  I thought maybe it just wasn’t set up right but when i look at the project property files it properly tells it to build exe/lib files.  For some reason all I getting is the object files.  I was able to run demo from the IDE but still don’t see the .exe file anywhere.
  • Finally found where everything built to.  Its in the test and lib folders of the root directory.
  • Lots of cool demos, looks like you can do a lot with it.  One of the cooler ones involves fractals.  I didn’t know how useful fractals were in making blocky graphical objects more detailed.  The code for this example will help me when I try to figure out how to add a gl window within GUI.
  • The callbacks were a bit confusing to me.  The one for buttons accepts two parameters.  The first is the function name you wish to call and the second is void pointer to the data.   The second parameter is optional and is limited to only passing one void pointer.
  • Very good tutorials for both setting up the IDE and manually coding, as well as using FLUID: http://seriss.com/people/erco/fltk-videos/
  • The videos also cleared up .make files for me.  I tend to use VS for the most part, so the make files are built into the project.  I am not sure make files can be imported  into VS, but it would save manually setting up project properties every time.
  • Should be ready to build the UI

Planning

  • Things needed for the UI:  Sensor data, current volume(optional), instrument selection(slider/numeric entry), note selection(slider/numeric entry), disable button, menu bar with a save/load function to save/load the current settings
  • I think these controls will run across the bottom.  The majority of the window will be for the openGL simulation.
  • The DataDictionary will be used to hold/sync the data on both sides.
  • Change the color of the text box to show if the force is neutral negative or positive from baseline
  • Something that might be useful for analysis is if we could graph the increase in volume/pressure.

End: 5:00pm