41 Commits

Author SHA1 Message Date
baydam
b375367811 Integrate all code inside a namespace 2016-03-16 18:05:47 +00:00
Tats
1146a6408e Merge branch 'develop' into feature/qt-properties
# Conflicts:
#	Mapping.h
#	OscInterface.cpp
#	ProjectReader.cpp
#	ProjectWriter.cpp
#	Shape.h
#	main.cpp
2016-02-15 13:16:04 -05:00
Tats
8dc7177ae9 Read/write of texture mappings for triangle and ellipses works. 2016-01-28 21:52:47 -05:00
Tats
7c95971da0 Fixed error where coordinates were saved with a "," instead of a "." to represent fractions. 2016-01-28 12:28:50 -05:00
Tats
cf11335c1d Implemented parsing of mappings and shapes. 2016-01-28 12:28:19 -05:00
Tats
608f2b6cf5 Started management of QProperties-supported read/write for mappings and shapes. 2016-01-21 21:57:38 -05:00
Tats
c656f8246a Split the shapes in different files and made them all QObjects with QProperties. 2016-01-21 16:18:19 -05:00
Tats
60ca853956 Cleanup in Shape.h. 2015-12-28 15:28:32 -06:00
Tats
a236cf1a22 Fixed bug: Adding and reducing rows/columns in meshes disordered the internal representation resulting in weird behavior when moving vertices. 2015-07-30 19:32:41 -04:00
Tats
68e506895c Fixed error-prone code in MShape::update(). 2015-07-20 00:14:10 -06:00
Tats
4d71dc575e Integrated support for shape translation in undo commands. 2015-07-19 22:08:59 -06:00
Tats
f9a98f0f09 Allow undo/redo of vertex move. 2015-07-18 12:55:28 -06:00
Tats
7862010142 Allow remove of columns in rows in meshes. 2015-07-15 12:54:44 -06:00
Tats
28d353d99a Bug fix: meshes did not handle well vertex displacement (adjusted tolerance when constraining a vertex to a polygon).
Signed-off-by: Tats <info@sofianaudry.com>
2015-07-06 16:59:29 -06:00
Tats
e8870db92a Replaced Shape by MShape to avoid name conflicts. 2014-10-31 17:03:18 -04:00
Tats
0711e236f6 Implemented constraining of vertices in polygons (esp. meshes) to avoid line crossing problems. Working at 99%. 2014-05-03 13:16:47 -04:00
Tats
c91a55e4e8 Fixed error in ordering of mesh vertices 2014-05-03 13:11:36 -04:00
Tats
f5d375442a Improved the style of the control rendering. 2014-05-03 00:26:02 -04:00
Tats
eded602ef9 Fixed bug: texture meshes points were not loaded in the right order 2014-04-04 00:54:17 -04:00
Tats
13364f98c7 Bug fix: triangles setVertex() did nothing 2014-03-22 01:53:51 -04:00
Tats
f2a7e93b36 Prevents quad / polygon vertices to cross a segment (ie. makes sure they stay simple polygons). 2014-03-19 22:35:22 -04:00
Tats
441664e6f0 Added a Polygon shape and corresponding mappers (just used as a superclass of Quad and Triangle for now). 2014-03-19 22:34:34 -04:00
Tats
8256ace2e1 Added sanity check for ellipses (makes sure the points are ok). 2014-03-02 22:29:36 -05:00
Tats
f489f0b6b6 Rewrote the includesPoint() method for Ellipse using transformations. 2014-03-02 21:09:48 -05:00
Tats
f3d09731d9 Small bug fix for clippings. 2014-03-02 21:08:57 -05:00
Tats
d0e697d77a Remove unused center control point for color ellipses. 2014-03-02 21:07:11 -05:00
Tats
5de7162a59 Clip center control point inside ellipse using QTransform. 2014-03-02 20:50:27 -05:00
Tats
755b7cfa94 Use QTransform to manage point remapping when moving vertices. 2014-03-02 20:49:59 -05:00
Tats
964a968b36 Added center control point (basic functionality, just "stays inside" the ellipse for now but not working 100%) 2014-03-02 17:43:44 -05:00
Tats
e72a1a3c77 Override of includesPoint() methods in Ellipse. 2014-03-02 17:37:49 -05:00
Tats
dea2781100 Modification of includePoint() method to work with qreal instead of int (also overloaded for QPointF). 2014-03-02 17:37:10 -05:00
Tats
89a5ce8787 Use the containsPoint() method of polygon to test point inclusion inside shape. 2014-02-09 01:03:16 -05:00
Tats
e36cb1a991 Replace std::vector and std::map by QVector and QMap (not everywhere yet). 2014-02-09 01:02:54 -05:00
Tats
195c426991 Removed the Point class and replace all instances by QPointF. 2014-02-09 01:02:13 -05:00
Tats
3692565d94 Comment cleanup in Shape 2014-01-22 14:59:54 -05:00
Tats
3de61fc6dc Some accessor functions in the Mesh class 2014-01-22 14:59:45 -05:00
Tats
478e5681a7 Added a toPolygon() method to Shape 2014-01-22 14:59:18 -05:00
Tats
f7cdb15754 Added a method that returns an enclosing polygon based on a shape. 2014-01-22 13:30:39 -05:00
Tats
9219cee81c Add save/load of meshes 2014-01-11 23:02:52 -05:00
Tats
4639a228c6 Resolved all compilation errors from merging 2014-01-05 18:07:19 -05:00
Tats
245a74c5c9 Transferred implementations of Shape methods to .cpp file 2013-12-12 21:38:13 -05:00