Commit Graph

25 Commits

Author SHA1 Message Date
alemuntoni 0caaf49d37 unuseful copy constructor box - deleted trackball assignment operator 2020-05-20 15:59:46 +02: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
Federico Ponchio b8c868da99 added some doc. 2010-11-15 00:06:15 +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 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 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
mtarini 44260d6c42 *** empty log message *** 2007-12-21 12:29:34 +00:00
Paolo Cignoni b2e7a9e03b Added Doxygen documentation. 2007-07-14 12:43:44 +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 c5e02633d8 *** empty log message *** 2006-08-23 15:41:32 +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
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 00b39c914a Adding copyright. 2004-03-25 14:55:25 +00:00
Federico Ponchio 7e2ee081ac first release 2004-03-25 14:50:08 +00:00