Commit Graph

55 Commits

Author SHA1 Message Date
Paolo Cignoni 009c6f4f7f Added interfaces for color managment 2014-06-17 13:21:58 +00:00
Paolo Cignoni 115bb8a701 added QTDeviceToLogical for QWidgets 2014-04-28 13:30:27 +00:00
Luigi Malomo 4b243bf707 updated anttweakbar mapper 2014-02-24 18:30:47 +00:00
Luigi Malomo 667a4b50a0 2014-02-19 18:58:41 +00:00
Nico Pietroni 398f313495 added include point2 of vcg library 2014-02-07 11:08:28 +00:00
Paolo Cignoni 234d74354d Added a missing enum to the glcheckerror class 2014-01-28 08:22:02 +00:00
Paolo Cignoni 4b8673b60b Added a few more helper functions for Logical to Device conversion 2013-12-16 16:21:05 +00:00
Paolo Cignoni eecaf72e1b added a missing include 2013-12-16 12:14:53 +00:00
Paolo Cignoni 78c58e8d14 Yet more changes and addition to improve compatibility with high dpi devices (like retina) 2013-12-16 11:34:17 +00:00
Paolo Cignoni 999d442dda Added 'inline' to the newly added qt event translator helpers 2013-12-13 09:29:13 +00:00
Paolo Cignoni 276438958f Added two helper function to correctly translate QT mouse events into coords for our trackball.
You must use QT2VCG_X QT2VCG_Y instead of passing the event coords because on newer machines (mac but also win) with very high res monitor, qt events are no more in physical coords.
2013-12-13 07:55:43 +00:00
Luigi Malomo 087e22ca5f added new version of anttweakbarmapper for qt to properly handle the alphabetic character keys. 2013-11-29 17:40:16 +00:00
Paolo Cignoni 063346e3b1 Small refactoring (better parameter names, gcc warning) 2013-11-25 12:59:48 +00:00
granzuglia 88a3f00fc3 - removed useless #include 2013-04-03 14:26:30 +00:00
Paolo Cignoni a814a0b265 Further cleaning up and factorization of the stuff for the raster outline packer 2013-03-26 11:22:27 +00:00
Paolo Cignoni 319f8404ea Standardization of names of outlines/poly 2013-03-26 08:51:32 +00:00
Paolo Cignoni 3d5e19caa7 Added a few const to an accessory function of PolyToQImage to clarify usage of parameters 2013-03-26 08:47:19 +00:00
Paolo Cignoni 013857b8fe Refactored classes to dump a set of outlines onto a png or a svg. Cleared naming and parameters. At least partially... 2013-03-25 13:12:22 +00:00
granzuglia 3768a3b7e7 - renamed qDebug function in GLCheckError causing conflict in qt 5.0 2013-03-24 19:50:48 +00:00
Paolo Cignoni f156a5a82c Updated version of the oldpolyrect packer. Reasonably extended to multiple domain. To be tested/replaced 2013-03-13 19:09:50 +00:00
Paolo Cignoni efe5d776e2 corrected svg dumping utility and added a few more parameters for better control on labels 2012-05-23 07:59:19 +00:00
Paolo Cignoni 3c85446ae4 added another special key to the one mapped from qt to anttweakbar 2012-03-04 16:27:02 +00:00
Paolo Cignoni 3a9c974fd5 Handy function for setting the size of the drawing in mm and correct management of label printing 2012-02-16 17:31:31 +00:00
Luigi Malomo e2b5b6fba3 Added to anttweakbar qt mapper a function to copy std::string values 2012-02-14 11:39:27 +00:00
Paolo Cignoni 1def190868 harmless gcc warnings 2012-02-09 17:55:41 +00:00
Nico Pietroni f786569888 completely restructured the class, corrected several bugs and added several features 2012-02-09 14:00:00 +00:00
Paolo Cignoni a12597eeac Better factorization of the qt mouse handler for the sample qt+anttweakbar example. Now there is a separated file under wrap/qt with the mouse and keyboard event handler 2012-02-02 06:48:40 +00:00
Paolo Cignoni 00cf1d4df8 added yet another version of the interface for dumping set of polygons on png/svg 2012-02-02 06:45:42 +00:00
Paolo Cignoni 95f9fff41f Restructured functions to dump set of polygons into images or svg files 2012-01-30 15:22:42 +00:00
Paolo Cignoni d714bc124c Added function for dumping set of rects to the utility image dumping functions 2011-11-21 07:23:13 +00:00
Paolo Cignoni e5842d71d8 Small changes to the utility function to save a bunch of 2 polygons onto a bitmap. 2011-11-15 11:01:53 +00:00
Paolo Cignoni 4859aa4d80 Added small utility to dump the result of a packed texture into a img 2011-11-07 16:11:51 +00:00
Paolo Cignoni a8a2e61f58 better templating of xml importing/exporting of cameras with qt 2010-10-31 13:10:07 +00:00
Paolo Cignoni 3f48658c57 Strongly restructured the glLabel utility class for writing on opengl/qt painter context. Added methods for on screen printing on the viewport corners with almost automatic line managment. 2010-10-31 13:06:03 +00:00
Paolo Cignoni 0bff4edee2 Added methods for read/write of xml camera in the new documented format. 2010-10-25 13:53:51 +00:00
granzuglia 497c82bdac added QPainter.h in the include session 2010-10-04 08:45:30 +00:00
Paolo Cignoni 1bf8633928 added a missing include 2010-10-01 08:57:46 +00:00
Paolo Cignoni 45a6c74329 Added a simple wrapper for writing with QT painter simple labels in 3D (even right aligned or rotated) 2010-09-30 23:32:26 +00:00
Paolo Cignoni 0dbf1bf305 missing vcg:: namespace in types... 2010-09-01 22:01:03 +00:00
Paolo Cignoni 0ee814c9ae Corrected stupid error added during a last minute comment. 2010-07-19 16:34:35 +00:00
Paolo Cignoni 1492587430 Added utility function to read a xml node into a shot 2010-07-19 16:23:51 +00:00
Paolo Cignoni 49ccc24606 Simple wrapper to dump vcg objects to qstring 2010-04-28 01:49:27 +00:00
Paolo Cignoni a9bb40f647 removed harmless gcc warnings 2010-04-19 12:21:26 +00:00
Paolo Cignoni 514358771b celeaned up names of static class for converting qtcolor to color4b 2009-11-05 22:32:26 +00:00
granzuglia 2edaa2853f added converter from/to qtcolor to/from vcg::color4b 2009-10-02 09:55:31 +00:00
Paolo Cignoni 1739c3221d added qt wrappers for img module 2009-07-14 14:45:06 +00:00
Paolo Cignoni 70d3ccfa23 Removed harmless warnings 2009-06-11 23:55:06 +00:00
granzuglia f3419c58e2 added GPL incipit 2009-05-18 14:21:28 +00:00
mtarini 5704acea18 Added handling of a few more keys. 2008-11-12 16:32:18 +00:00
Paolo Cignoni 8177caa75c wrong include 2007-12-11 23:54:15 +00:00