1641 Commits

Author SHA1 Message Date
Paolo Cignoni cignoni
680d62eca4 Changed _size from qreal to int 2008-01-29 11:44:58 +00:00
Paolo Cignoni cignoni
8b455659ed Solved bug in equalizer handles 2008-01-29 11:43:15 +00:00
Paolo Cignoni cignoni
69c89447c1 forgotten a popattrib when failing 2008-01-29 07:43:33 +00:00
Paolo Cignoni cignoni
b20ed530c4 qualitymapper.qrc:
- 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.
2008-01-28 21:58:08 +00:00
Paolo Cignoni cignoni
ce3cf0c655 *** empty log message *** 2008-01-28 16:51:25 +00:00
Paolo Cignoni cignoni
6b0f34474f Minor modifications 2008-01-28 16:34:23 +00:00
Paolo Cignoni cignoni
ebc4fe37cb Added TFHandle to project 2008-01-28 16:33:43 +00:00
Paolo Cignoni cignoni
3733e88255 *** empty log message *** 2008-01-28 16:04:42 +00:00
Paolo Cignoni cignoni
67f1504eef Removed for changing name 2008-01-28 16:03:23 +00:00
Paolo Cignoni cignoni
95ceb713b6 wrong test in an assert 2008-01-28 14:46:24 +00:00
Paolo Cignoni cignoni
322a50a4c5 Equalizer handles fully working 2008-01-28 14:29:57 +00:00
Paolo Cignoni cignoni
e7e6fa0736 wrong include for glew 2008-01-28 13:37:21 +00:00
Paolo Cignoni cignoni
63487beba8 cleaned useless stuff 2008-01-28 13:02:46 +00:00
Paolo Cignoni cignoni
cbbecb46e8 added support for filters on collection of meshes (layer filters) 2008-01-28 13:02:00 +00:00
Paolo Cignoni cignoni
9e988c2c11 added missing include matrix44 2008-01-28 13:01:26 +00:00
Paolo Cignoni cignoni
71d47fb25e added delMesh method 2008-01-28 13:00:53 +00:00
Paolo Cignoni cignoni
687bcf9414 fixed typo: MeshTree::resetID() -> resetID() 2008-01-28 12:36:36 +00:00
Paolo Cignoni cignoni
746a88f430 first version of MeshDocument filter. Flattening filter 2008-01-28 11:23:04 +00:00
Paolo Cignoni cignoni
6535a9fe70 removed glut 2008-01-28 11:20:48 +00:00
Paolo Cignoni cignoni
59185cfe53 removed glut 2008-01-28 11:15:21 +00:00
Paolo Cignoni cignoni
adef3e02c7 added documentfilter sample 2008-01-28 11:14:28 +00:00
Paolo Cignoni cignoni
f3ea934db8 added delete layer functionality 2008-01-28 08:55:01 +00:00
Paolo Cignoni cignoni
7afbe9199b qualitymapperdialog.h\cpp:
- 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
2008-01-26 19:30:27 +00:00
Paolo Cignoni cignoni
ebb37c5852 Almost working histogram handles 2008-01-25 18:56:34 +00:00
Paolo Cignoni cignoni
b17ffda13a qualitymapper.h\cpp:
- 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
2008-01-25 17:35:50 +00:00
Paolo Cignoni cignoni
b0eff4c6bb Improved handles connections (not working) 2008-01-25 12:13:26 +00:00
Paolo Cignoni cignoni
247b405be9 - updated method for saving TF CSV files
definited static members for default TFs
2008-01-24 18:14:45 +00:00
Paolo Cignoni cignoni
386c55f3f3 transferfunction.h\cpp:
- implemented saveColorBand method (stub yet)

qualitymapperdialog.cpp:
minor changes
2008-01-24 17:40:26 +00:00
Paolo Cignoni cignoni
d586afbc89 Improved handles and spinboxes connections in equalizer histogram 2008-01-24 15:49:22 +00:00
Paolo Cignoni cignoni
1103ce3b23 qualityapperdialog.h\cpp
- 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
2008-01-24 11:03:04 +00:00
Paolo Cignoni cignoni
81e68ddc61 Modified handle design (added vertical bar)
CHART_INFO transfert in util.h
2008-01-23 19:05:35 +00:00
Paolo Cignoni cignoni
ff88f13995 const_types.h:
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
2008-01-23 16:15:43 +00:00
Paolo Cignoni cignoni
62bc21b84b Added connections to equalizer spinboxes 2008-01-22 22:50:58 +00:00
Paolo Cignoni cignoni
99e2bee9b1 Added handles to equalizer histogram 2008-01-22 18:48:15 +00:00
Paolo Cignoni cignoni
d4adeefa7c Fixed Bug "added defined(Q_OS_LINUX) after #elif" 2008-01-22 16:08:49 +00:00
Paolo Cignoni cignoni
2bbe65961f Changed type checking, when saving the script file, from "fieldVal.type() == Variant::" to "fieldType == FilterParameter::"; Now parameter of type AbsPerc, Color or Enum can be saved and loaded. 2008-01-22 14:22:24 +00:00
Paolo Cignoni cignoni
215dfc46a1 Added support for .mlx filter scripts 2008-01-22 14:18:27 +00:00
Paolo Cignoni cignoni
c27d7d7419 qualitymapperdialog.h:
- 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
2008-01-22 11:59:43 +00:00
Paolo Cignoni cignoni
b678ea3652 removed two useless file from pro 2008-01-22 09:23:33 +00:00
Paolo Cignoni cignoni
a6d9e00291 Corrected bug of disappearing number 2008-01-22 01:34:24 +00:00
Paolo Cignoni cignoni
e0f6b36e19 Corrected two bugs, floating triangle if the mesh had a transformation, disappearing numbers and added coords 2008-01-22 01:33:19 +00:00
Paolo Cignoni cignoni
3ffbf9eac6 Handle.h:
- fixed bug about class declaration (bad inheritage)
2008-01-21 16:21:20 +00:00
Paolo Cignoni cignoni
fa57a2b9c8 removed ui_qualitymapperdialog.h file from cvs 2008-01-21 15:32:34 +00:00
Paolo Cignoni cignoni
d0b5adb122 edit_quality.pro:
- changed target tag in EDITQUALITY

added handle.h and handle.cpp files to the project to manage graphical handles in charts
2008-01-21 15:30:44 +00:00
Paolo Cignoni cignoni
2d9fa40918 qualitymapperdialog.h\cpp:
- drawChartBasics is now view and chart indipendent
- drawHisrogram enhanced
- CHART_INFO struct added to store graphics and stats info about the chart to draw
2008-01-21 15:25:08 +00:00
Paolo Cignoni cignoni
48fd440d0c added new TO DOs 2008-01-20 14:40:05 +00:00
Paolo Cignoni cignoni
249bfd0624 Added comments and minor modifications 2008-01-20 13:00:37 +00:00
Paolo Cignoni cignoni
bfd0cd38f3 util.h\util.cpp:
- 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
2008-01-19 22:25:11 +00:00
Paolo Cignoni cignoni
8e34bdd142 updated internal representation of TF KEY struct
- 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
2008-01-18 18:39:07 +00:00
Paolo Cignoni cignoni
df2a524a3a Visualizaton of the equalizer hisogram 2008-01-18 18:16:27 +00:00