Commit Graph

95 Commits

Author SHA1 Message Date
Tats 0bd893ee6a Bugfix: Zooming in the destination canvas changes the size of controls in output window. Closes #162. 2015-12-31 14:23:53 -06:00
Tats 4d71dc575e Integrated support for shape translation in undo commands. 2015-07-19 22:08:59 -06:00
Tats 24575c1e55 Imlpemented common superclass for transformations of shapes undo commands. 2015-07-19 22:07:32 -06:00
Tats 974cb3f255 Compute key vertex moves in window (not scene) coordinates. 2015-07-18 13:26:56 -06:00
Tats ffe6ff76b8 Bug fix: update of control point positions in property browser goes both ways. 2015-07-18 13:12:56 -06:00
Tats f9a98f0f09 Allow undo/redo of vertex move. 2015-07-18 12:55:28 -06:00
Tats c4fefb2015 Used shared pointers in MapperGLCanvas base accessor functions. 2015-07-18 12:54:39 -06:00
Tats e5d4463c32 Reintegrated highlighting of selected vertex. 2015-07-17 16:28:27 -06:00
Tats 425f544f66 Reintegrated vertex key movement in MapperGLCanvas. 2015-07-17 16:06:32 -06:00
Tats c910520530 Renamed some elements in MapperGLCanvas to be more eloquent. 2015-07-17 16:06:14 -06:00
Tats aef4f2d8d8 Changed tr1 shared_ptr for QSharedPointers and QWeakPointers. 2015-07-17 13:41:55 -06:00
Tats e2e3c4a415 Use trick to allow middle-button dragging of the canvas 2015-07-15 12:53:02 -06:00
Tats 9a6c38fa4b Added new render hints for aliasing 2015-07-15 12:52:37 -06:00
Tats a970bbc660 - Manage properly the picking up of vertices and shapes
- Fix bug: in source canvas we could change mappings by clicking on shape
2015-07-15 12:50:24 -06:00
Tats 775cf739c6 - Moved the control of shapes outside of the scene items
- Introduced a specialized range of classes to deal with the drawing of controls
2015-07-14 13:24:36 -06:00
Tats 3303e07056 Added support for scrolling in source+destination canvases by mid-button clicking. 2015-07-13 16:45:03 -06:00
Tats 8f13597451 Created a special class for output gl canvas to prevent some events (like zooming) to happen. 2015-07-13 16:44:41 -06:00
Tats acca6059f6 Implemented invariant control points and lines wrt zoom level. 2015-07-13 13:25:18 -06:00
Tats 64bbd94f9a Re-enable toggle of display controls. 2015-07-11 16:29:06 -06:00
Tats 2ab3b137d9 Integrate sticky vertices in new QGraphicsItem framework. 2015-07-06 21:58:48 -06:00
Tats 017e8bdc7b Fixed bug: scenes were not updated properly resulting in no automatic video frame update. 2015-07-06 21:24:06 -06:00
Tats 7e85ab493c Merge branch 'spike-qgraphicsview-zoom-and-scroll' into spike-qgraphicsview-zoom-and-scroll-merge-develop
Conflicts:
	DestinationGLCanvas.cpp
	DestinationGLCanvas.h
	MainWindow.cpp
	MainWindow.h
	MapperGLCanvas.cpp
	MapperGLCanvas.h
2015-07-06 20:38:51 -06:00
Tats 082bf2d009 Removed rubberband selection (for now). 2015-07-03 21:51:58 -06:00
baydam 8300c10599 Add context menu for duplicate, delete and rename mapping 2015-03-30 20:54:15 +00:00
Tats e22075d6ad Base working integration of destination and output window (with crosshair working in fullscreen). 2015-02-15 17:46:54 -05:00
baydam 4d6caf2cfb Optimization of Undo Command 2015-01-23 20:36:30 +00:00
baydam f335127369 Can restore last position of moved shapes 2015-01-21 12:47:17 +00:00
baydam e4ce6eab42 Command to restore deleted mapping 2015-01-19 21:08:02 +00:00
baydam 078a27f8ce Undo Command to restore position of vertices moved by mouse or arrow key 2015-01-19 14:35:19 +00:00
Tats 3e7fd351cf Bug fix: once we reach max or min zoom we still record the scroll events which results in a weird behavior. 2014-12-28 21:51:34 -05:00
Tats c0b6bee45b Implemented working zoom with wheel mouse. 2014-12-28 21:05:49 -05:00
baydam 539d189f9d Fixed issue Adjust position of vertices using arrow keys not working on output display #77 2014-11-05 17:17:37 +00:00
Tats cbfe3981c0 Started using QGraphicsView in canvases instead of QGLWidget. 2014-10-31 17:04:28 -04:00
Tats e8870db92a Replaced Shape by MShape to avoid name conflicts. 2014-10-31 17:03:18 -04:00
Alexandre Quessy 3bcbbc7697 Display test signal 2014-10-27 06:04:12 -04:00
Tats 3496bd1315 Allows displacement of selected vertex with arrow keys. 2014-10-23 13:41:08 +00:00
Tats 07e1b26436 Allows individual selection of a vertex to be shown on screen. 2014-10-23 13:40:01 +00:00
Tats 3acb257cf0 Cleanup in MapperGLCanvas.cpp mousePressedEvent. 2014-10-22 17:18:49 +00:00
Alexandre Quessy cbee34aabd Feature: Select a shape with a click 2014-10-14 07:40:17 -04:00
Alexandre Quessy 5e6e4909e1 Fix: radius for dragging vertices. Drag shape with left click. 2014-10-14 06:20:22 -04:00
Alexandre Quessy 1b73d45a89 New feature: menu option toggle sticky vertices 2014-10-14 01:48:00 -04:00
Alexandre Quessy 42b0a6708f Merge branch 'develop' into osc-fix-july-2014 2014-07-07 15:30:37 -04:00
Alexandre Quessy c5b5a48d23 less prints 2014-07-07 15:15:22 -04:00
Tats 2cbab1bf2d Some cleanup in MapperGLCanvas 2014-06-25 23:00:39 -04:00
Tats 4a4b1f05b2 Cosmetic refactoring and variable inits 2014-06-23 18:30:49 -04:00
Alexandre Quessy 64889af9a9 Fixed OSX-related runtime errors that were making the application crash 2014-06-23 14:53:29 -04:00
Alexandre Quessy 0f40608562 Fixed basic problem with QGLFormat that was causing a crash; still re-building the application step by step 2014-06-23 12:54:58 -04:00
Vasilis Liaskovitis 1aace8a578 Change the uri of existing media or color paint with double-click
When double-clicking a paint QListWidgetItem, the uri of that paint can be
altered.

A new signal is sent to ColorMapper and TextureMapper objects so that they can
update heir color and texture paints respectively. Mappings of the old paint are
transferred to the new paint.

TODO: the active mapping may be lost in some cases, needs some more testing.
2014-05-22 11:30:25 +02:00
Alexandre Quessy 7177d62f90 remove useless endl in prints 2014-05-08 16:06:31 -04:00
Vasilis Liaskovitis 06e8c57db2 MapperGLCanvas: avoid segfault on right-click with no active shape 2014-05-06 10:43:17 -04:00