Paolo Cignoni
e50ab31091
Moved glew.h inclusion under guards to avoid qt conflicts
2017-06-13 11:30:19 +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
794f2f27a7
Small Change of the Trackball apply interface. It does no more require a bool to specify if the trackball icon has to be drawn because it is always wrong to draw the trackball at the apply time (two reasons, antialiasing and transparency and zbuffer preservation) So now the standard call is just Apply() without the useless bool parameters.
...
Updated also all the vcg samples using the trackball
2013-01-28 15:15:14 +00:00
Paolo Cignoni
a912ac3a82
Small changed in the rendering of the trackball icon to remove the stepped line effect due to line antialiasing
2012-03-06 11:52:00 +00:00
Paolo Cignoni
9608ec798b
compilation fixes with Eigen
2009-07-21 07:29:13 +00:00
Paolo Cignoni
0c5aefb278
Added ClearModes() method to trackball to avoid leaking and corruptions due to double deletion of modes.
2009-04-01 14:53:20 +00:00
Paolo Cignoni
efde1babe5
Sorry, corrected a mistake in the Matrix() method due to a temporary local library change. Won't do that again.
2009-03-31 09:23:20 +00:00
Paolo Cignoni
a353708f16
Added Matrix)() and InverseMatrix() methods, which respectively return the direct and inverse matrices that describe how the trackball similarity is applied with respect to the trackball center.
...
Corrected ToAscii() and SetFromAscii() methods, which should work with 8 values instead of 9 (well, in effect they are implemantation dependent methods, so...).
2009-03-31 09:03:18 +00:00
Paolo Cignoni
8a53c7a836
Fixed memory leak
2009-01-23 13:58:20 +00:00
Paolo Cignoni
928c8dd997
Removed harmless warnings
2008-11-28 14:55:45 +00:00
Paolo Cignoni
16e51c9d75
Corrected long standing bug of double deletion of trackmodes. New safer destructor
2008-11-13 09:33:43 +00:00
mtarini
1ad548c24c
Added animations and keys (so far, only used by the Navigator Mode)
2008-11-12 16:33:40 +00:00
Paolo Cignoni
0f2d864e05
remove a trailing print()
2008-10-30 11:31:28 +00:00
Paolo Cignoni
07f2e976ea
* change all remaining Transpose to transpose,
...
* update the gl/math wrappers to make them more Eigen friendly
(and remove the useless, and not used, and somehow dangerous
*Direct and *E functions)
* add automatic reinterpret_casting from Eigen::Matrix to vcg
specialized types
2008-10-29 00:05:44 +00:00
Paolo Cignoni
dcbb7456ac
Added by default rotation on middle + alt, (almost a standard on various 3d packages). Kind patch submitted by Sebastian Herholz.
2008-09-22 23:10:00 +00:00
Federico Ponchio
654452b177
Should work as before. I didn't test cylinder and other exotic modes.
2008-02-24 18:05:08 +00:00
Federico Ponchio
7006d170be
Restored trackball functionality. Not very much tested, and code will need some
...
cleanup.
2008-02-24 14:37:00 +00:00
Paolo Cignoni
228db666c3
first attempt to correct after quaternion ToMatrix() inversion (does not work yet)
2008-02-22 18:57:47 +00:00
mtarini
44260d6c42
*** empty log message ***
2007-12-21 12:29:34 +00:00
Massimiliano Corsini
63b27cb1b5
solve memory leak in dtor
2007-10-12 14:02:39 +00:00
Paolo Cignoni
1a9dafdece
Removed using namespace std and modified accordingly.
2007-07-09 22:47:18 +00:00
Massimiliano Corsini
5e81eca026
adjust wheel back-compatibility
2007-06-20 12:59:43 +00:00
Paolo Cignoni
74d325979b
Added one-level undo system and sticky trackmodes.
2007-06-13 17:15:09 +00:00
Paolo Cignoni
0fd4e977e5
Moved the dreawing code to trackmodes, some other minor changes
2007-05-15 15:00:47 +00:00
Paolo Cignoni
ece2f97c8b
Added reflection Name
2007-02-26 01:30:02 +00:00
mtarini
722bd7a696
added "ToAscii" and "SetFromAscii" methods to load/store current trackball status from/to ascii strings
...
(intended uses: clipboard operations and comments inside png snapshots!)
2007-01-15 15:04:15 +00:00
Paolo Cignoni
94f8e5f4d5
Reversed the direction of wheel scaling and added middle mouse panning
2006-07-26 13:54:45 +00:00
Paolo Cignoni
95153f03dc
Added Scale and Translate methods.
...
Added many drawing hints and raised the default num. of steps when drawing circles.
Added MouseDown without coords (for remembering changes of keys modifiers)
Added ZMode to the default modes under Alt+left
Added DrawPostApply (to be completed)
2006-02-13 13:15:52 +00:00
Paolo Cignoni
1ad3bfb230
Main restructuring. Removed the Draw function and slightly changed the meaning of the trackball itself.
...
See the notes at the beginning of trackball.h
2005-10-17 01:29:46 +00:00
ganovelli
820aa5dbd1
modes deallocation commented (quick and dirty solution..to debug)
2005-04-17 17:48:24 +00:00
Paolo Cignoni
409ceaf11f
*** empty log message ***
2004-12-17 10:28:10 +00:00
Federico Ponchio
44f6565e1e
Added a 'else'.
2004-09-28 15:30:12 +00:00
Federico Ponchio
276c9f7dbb
#include <gl... -> #include <GL...
2004-09-09 14:38:52 +00:00
Paolo Cignoni
e2763f9a8b
Added scaling by wheel
2004-07-11 22:06:56 +00:00
Paolo Cignoni
782b814293
Heavily restructured. To be completed only rotation works...
2004-06-09 14:01:13 +00:00
Federico Ponchio
8381f2f5a0
Redesigned partial version.
2004-05-14 03:15:09 +00:00
Federico Ponchio
c66c874c06
*** empty log message ***
2004-05-12 20:55:18 +00:00
Paolo Cignoni
6df79edd1f
Restructured and adapted in a better way to opengl
2004-05-07 12:46:08 +00:00
Paolo Cignoni
e5aef23c44
Commented out unused parameter names and other minor warning related issues
2004-04-07 10:54:11 +00:00
Federico Ponchio
f6eb36cac1
Fixed current_action initialization.
2004-03-31 15:08:03 +00:00
Federico Ponchio
00b39c914a
Adding copyright.
2004-03-25 14:55:25 +00:00
Federico Ponchio
7e2ee081ac
first release
2004-03-25 14:50:08 +00:00