Commit Graph

69 Commits

Author SHA1 Message Date
Marco Callieri e8a1c89d1b center pixel is no longer casted to INT
Why we did this? the camera structure IS a scalar_type (double or
float), all calculations use it as a scalar_type....
2017-02-21 18:43:11 +01:00
Marco Callieri 9f2f60850d added cameraType in XML export/import
added "cameraType" property in Intrinsics XML export and import, for
better handling of orthographic cameras in MeshLab
2016-10-25 14:32:29 +02:00
Guido Ranzuglia 0e454e5c87 - added empty space in order to force github to recognize that something changed 2016-09-01 05:46:46 +02:00
Guido Ranzuglia eacb3c0d46 - added setPerAllViewsInfo function 2016-08-30 02:38:18 +02:00
Guido Ranzuglia a1826b6adf - added new functions to draw just a subset of the allocated buffers obj
(just useful for some very specific meshlab plugins....other people
should ignore them)
2016-07-29 10:24:35 +02:00
Paolo Cignoni 49f49efaf3 Small changes to allow the clang compilation of meshlab 2016-06-30 09:39:22 +02:00
Guido Ranzuglia 8374dd97e5 Bug Fixing for the Rendering System 2016-06-29 14:19:20 +02:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Paolo Cignoni 8a68df0fc5 Small changes to allow clang compilation 2016-06-06 08:55:33 +00:00
granzuglia 0f9cf2e947 - new version of the renderer. Ready for the upcoming MeshLab release... 2016-06-04 16:20:59 +00:00
granzuglia c54c85768a - fixed some minor bugs 2016-05-22 15:40:41 +00:00
granzuglia 9f9fab7a98 - added optional debugging info system
- removed bugs
2016-05-11 12:01:34 +00:00
granzuglia 737eb38aca - added a lot of typename 2016-05-06 11:51:03 +00:00
granzuglia 361c3a6a1d added wrapping files using qt features (mainly QReadWriteLock but not only) in order to synchronize the new rendering system 2016-05-06 02:11:38 +00:00
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