Commit Graph

40 Commits

Author SHA1 Message Date
Paolo Cignoni 1ff3a301ec Trackball Improvement. Now it works well also for ortho views 2014-11-04 23:16:04 +00:00
granzuglia e24129b20e trackmode.cpp:
- removed Visual Studio warnings
2014-08-09 09:52:27 +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 646cfe482d With a couple of parenthesis no need any more for NOMINMAX 2011-03-25 10:37:07 +00:00
Nico Pietroni 88ec283477 corrected ClosestPoint and DIstance function calls to the ones in distance3.h 2010-10-15 15:22:30 +00:00
Marco Di Benedetto 816b49a3e5 removed some warnings. 2009-06-30 19:02:17 +00:00
Paolo Cignoni 928c8dd997 Removed harmless warnings 2008-11-28 14:55:45 +00:00
mtarini 80f1fa2396 Added NavigatorWasdMode: doom-like navigation around/inside objects (see samples/SDL_trackball for an example) 2008-11-12 16:36:55 +00:00
Federico Ponchio 632f4842f1 Polar mode now working. 2008-10-28 16:43:56 +00:00
Paolo Cignoni c0c76bc5b8 added Polarmode prototype (doesn't work yet) 2008-10-28 15:55:40 +00:00
Paolo Cignoni ab200fc950 Port to eigen2: state of the mess:
* curently nothing change if you don't define VCG_USE_EIGEN
* make Matrix*, Point3 and Point4 derive Eigen::Matrix (still ugly)
* now catching all the dot products to replace them by .dot()
  note that most of meshlab already compile
2008-10-27 19:35:17 +00:00
Paolo Cignoni 38a5850163 corrected CylinderMode::Apply 2008-02-26 18:00:41 +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 e69c1d166b removed some variable initialization related warning, added snap to CylinderMode 2008-02-15 20:56:41 +00:00
Federico Ponchio 5552afc7d1 #include <gl/glew.h> -> #include <GL/glew.h>
(it is case sensitive under linux...)
2007-10-24 10:39:07 +00:00
Paolo Cignoni 1a9dafdece Removed using namespace std and modified accordingly. 2007-07-09 22:47:18 +00:00
Paolo Cignoni 74d325979b Added one-level undo system and sticky trackmodes. 2007-06-13 17:15:09 +00:00
Paolo Cignoni 9554ee4245 Removed type cast warnings 2007-05-28 08:10:47 +00:00
ganovelli 22f1bbd089 added inclusion of glew.h 2007-05-16 08:44:05 +00:00
Paolo Cignoni db4c4f0944 Main restructuring. added many new modes 2007-05-15 14:59:10 +00:00
Paolo Cignoni 74a69d1848 Reverted to version 1.17. Version 1.18 was wrongly done starting from a outdated version. 2006-08-30 07:01:54 +00:00
Paolo Cignoni c5e02633d8 *** empty log message *** 2006-08-23 15:41:32 +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 07613df38d Added Zmode for moving objects along the perpendicular to the viewplane 2006-02-13 13:10:27 +00:00
Paolo Cignoni 1cb45963f9 Corrected small bugs on rotating after scaling+translating
changed void PlaneMode::Apply and void SphereMode::Apply
2006-01-12 15:40:05 +00:00
Marco Callieri bf23eca7be in SphereMode::Hit added a check on the sphere intersection, if no intersection, calculating distance could generate a NAN exception 2005-07-15 16:39:30 +00:00
Marco Callieri 2e76236b31 changed the name of some intersection functions to avoid ambiguity 2005-06-29 15:22:26 +00:00
Paolo Cignoni 6a41a6ba9b Trackball translation corrected 2005-02-11 11:44:07 +00:00
Nico Pietroni 0e290b75d4 some warning corrected 2005-02-02 16:46:41 +00:00
ganovelli 5bdfe060a0 PlaneMode completed 2005-01-14 15:44:03 +00:00
Paolo Cignoni 542670453b Removed many small warnings 2004-09-09 22:59:21 +00:00
Paolo Cignoni 4857d01a44 Added Scaling 2004-07-18 06:54:08 +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
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