- added reference to image opentf.png
qualitymapperdialog.h\cpp\ui:
- added method to clear the current scene before drawing
- updated drawChartBasics method to manage Z oerde of items drawn.
- updated drawTransferFuntion method to manage Z order of items drawn.
- added callback methods to manage farward channel view (channel radio buttons). Now, when a channel is selected, the Transfer Function draws the channels in the correct order.
- updated callback method invoked when the text of the TF comboBox changes and fixed some bugs.
- updated callback methods to manage the default-TF and file loading of transfer functions.
- updated callback mehod to save the current Transfer Function in a CSV file.
- added icon to load Transfer Function button
- other minor changes and updates.
transferfunction.h\cpp:
- added some macros to manage CSV files generation considering current operative system.
- defined startup transfer function type (macro).
- updated overloaded constuctor (with CSV file parameter), for TF generation starting from CSV file.
- updated moveChannelAhead method to manage channels order while drawing.
- other minor changes.
- added KNOWN_EXTERNAL_TFS struct to manage references to from-file TFs in the presetComboBox list
- added method to clear the scene before drawing (if necessary)
- implemented behavior for ComboBox selection change
- updated save and load actions for presetComboBox
qualitymapperdialog.ui:
- some minor changes
transferfunction.cpp:
- minor changes
- removed Histogram and TransferFunction member objects
qualitymapperdialog.h\cpp:
- added Histogram and TransferFunction member objects
- added method for load of TF\CSV file
- other minor changes
qualitymapperdialog.ui:
- added button to load a CSV\TF file from disk
transferfunction.h\cpp:
- overloaded constructor for TF generation from CSV file
- added and implemented generation of TF from default colorband (GREY SCALE, RGB, RED SCALE, GREEN SCALE, BLUE SCALE, FLAT)
- implemented method for managing channels painting order
util.h
- updated internal structure of CHART_INFO
- added callback methods to manage the save of a TransferFunction file
qualitymapperdialog.ui:
- minor changes
transferfunction.h\cpp:
- added methods to split a single channel key in two
- added method to save a CSV file representing the current Transfer Function
util.h:
- moved here CHART_INFO struct definition
updated some constants
EqHandle.h\cpp:
- minor changes
qualitymapperdialog.h\cpp:
- updated drawChartsBasics signature and implementation
- updated drawTransferFunction method (now working)
- fixed bug in drawEqualizerHistogram: now the hadles are drawn correctly
qualitymapperdialog.ui:
- minor changes
transferfunction.h\cpp:
- fixed bug in random keys generation method (uesd for test)
- removed enumeration to index lower\upper y values for a key. 3 defines have been used.
- other minor changes
- minor changes and optimizations in drawChartBasics, initEqualizerHistogram and drawTransferFunction (stub yet)
transferfunction.h\cpp:
- enum LOWER_Y, UPPER_Y moved in TF_KEY struct
- redefinition of [] operator for TfChannel and TransferFunction classes
- other minor changes
- drawChartBasics is now view and chart indipendent
- drawHisrogram enhanced
- CHART_INFO struct added to store graphics and stats info about the chart to draw
- Optimized relative-absolute and absolute-relative values conversion functions
qualitymapper.cpp\qualitymapper.cpp:
- Fixed bug about quality representation. Now the quality is represented correctly in the histogram every time the dialog is built and shown.
- Added call to transfer function drawing (stub)
qualitymapperdialog.h:
- Added method for transfer function drawing (stub)
- Added some optimizations to drawCartesianChartBasics method to make it completely parametric (view indipendent) (stub yet)
- Other minor changes
transferfunction.h\transferfunction.h:
- added a new overloaded constructor to build the transfer function directly from a TF file (stub)
- Some optimizations applied
- Other minor changes
- added support for left\right binding among keys
updated internal structure of TFChannel
- changed KEYS representation from vector to map
- modified add, remove and merge keys methods
implemented getChannelValuef by evaluation of "known" x and for "unknown" x by linear interpolation