nico
9a20565687
templated the ClampedLerp function on ScalarType
2017-04-03 11:01:26 +02:00
Paolo Cignoni
718f5b1824
re added include vector into histogram
...
Needed if you want use it without the meshes
2017-03-24 14:05:06 +01:00
Paolo Cignoni
b2a2e170af
Added Lerp and ClampedLerp
2017-03-15 14:42:22 +01:00
Paolo Cignoni
c4d97c2c03
Huge reordering of header file inclusion order
2017-03-14 07:48:48 +01:00
Paolo Cignoni
43b22e4f42
Added a SVD based quadric optimisation for QE simplification
...
It allows to find the optimal position closest to a given point when
the quadrics are degenerated.
2017-02-21 16:41:45 +01:00
Paolo Cignoni
4529d09e58
Removed hard coded eigenlib path from the include. So you are free to use the version of eigen you prefer.
...
Note that since this commit in your projects you must add also the
eigen folder to the include path.
2017-01-26 15:31:53 +01:00
ganovelli
67621588d2
const added
...
added const to GetFrustum
2017-01-19 10:37:47 +01:00
ganovelli
fce8b02767
Revert "const missing"
...
This reverts commit 825d90157c
.
2017-01-13 13:34:55 +01:00
ganovelli
825d90157c
const missing
...
GetFrustum does not chang ethe object, it's const
2017-01-13 12:14:56 +01:00
Paolo Cignoni
237ff6f591
Removed duplicated function for generating baricentric coords
2016-12-20 09:12:50 +01:00
Giorgio Marcias
57f596e971
included cmath as clang was complaining
2016-12-06 11:40:50 +01:00
Guido Ranzuglia
ee64908ff7
- added std prefix for linux compiler
2016-12-06 11:09:31 +01:00
Paolo Cignoni
56dcf4a513
Added a missing cast in the FromMatrix (to avoid a warning)
2016-12-04 12:19:26 +01:00
Guido Ranzuglia
5c72790884
- fixed RenderingModalityGLOptions init bug
2016-08-31 13:45:11 +02:00
Paolo Cignoni
32333eba24
Huge copyright sanitization of the header files of vcg folder.
2016-06-13 05:29:25 +00:00
Nico Pietroni
1d477515c0
Changed the epsilon value for Identity transformation in function RotationMatrix
2016-06-09 12:11:34 +00:00
granzuglia
8cd4278c45
removed compiler error on sqrt
2016-05-06 02:14:54 +00:00
Paolo Cignoni
eac3243375
Added comments and MaxCountInRange function to get the max bucket count in the specified range
2016-04-20 22:05:28 +00:00
Paolo Cignoni
a58040cf9c
Switched to eigen to find the optimal position for quadric. Removed old unused funcitons. Commented.
2016-03-24 14:15:55 +00:00
Luigi Malomo
bef4835ca2
added static identity function to matrix33
2016-03-21 15:16:50 +00:00
Paolo Cignoni
8ee0aafb6e
Added Sgn function
...
added hack for missing is_nan in mingw
Thanks to Antonio Nicoletti
2016-02-11 15:43:20 +00:00
Nico Pietroni
303be4bbd0
templated FibonacciPt function on ScalarType
2015-12-24 10:55:48 +00:00
Paolo Cignoni
0f05ee423d
Added Fibonacci sampling, renamed to more meaningful names the sampling algs
2015-11-04 23:49:35 +00:00
Paolo Cignoni
47aaea332a
removed old style usage of hash map and substituted with c+11 sytle unordered set and map.
2015-09-13 06:20:20 +00:00
Paolo Cignoni
181cef32fa
Refactored a bit to allow the conversion of shot and cameras from float to double (added the notoriuous vcg style Construct)
2014-08-10 00:30:20 +00:00
granzuglia
cb015f4a5c
matrix44.h:
...
- removed Visual Studio warnings
2014-08-09 10:06:34 +00:00
Paolo Cignoni
3784295ac6
comment cleaning up
2014-08-09 00:16:50 +00:00
Paolo Cignoni
4547c0ee01
Fixed "rad" bug in RotationMatrix
2014-07-17 17:45:47 +00:00
Paolo Cignoni
e768943f3e
Small changes in the long long way to making meshlab and the vcglib really float/double independent
2014-06-18 17:29:34 +00:00
Paolo Cignoni
e6e7999c6c
Added an implementation of the Dave Rusin’s Disco Ball algorithm for the generation of regular points on a sphere.
2014-06-17 14:51:20 +00:00
Paolo Cignoni
db0a706384
Added methods to Histogram and Distribution to get back the number of inserted samples and their total sum
2014-05-13 10:54:42 +00:00
Paolo Cignoni
81ab17c28a
commented out unused local variable
2014-04-25 09:21:41 +00:00
Nico Pietroni
2f871fc16e
corrected one bug in Add to insert the value in last bin since upper bound is +inf
2014-04-24 16:07:13 +00:00
Paolo Cignoni
c280fd8e23
removed a leftover "solve" method. Use eigen...
2014-04-17 08:28:20 +00:00
Paolo Cignoni
7dbcb078e5
Standardized the generate method of the marsenne twister random generator in order to get also a unsigned capped random generation (like all the other generate() of the other random generators)
2014-04-17 08:19:06 +00:00
Massimiliano Corsini
0950b97775
invalid output range - fixed
2014-02-04 16:09:36 +00:00
Paolo Cignoni
6bd3faae14
removed a wrongly surviving duplicate copy of the space/point_matching.h. It was moved one years ago but for some strange svn reasons it was still around...
...
Killed.
2013-12-01 22:54:33 +00:00
Nico Pietroni
a445902e56
corrected 2 warnings on castings
2013-10-23 16:57:28 +00:00
Paolo Cignoni
04268b170f
Removed all references to the useless old vcg::math::Swap
2013-07-26 07:01:21 +00:00
Paolo Cignoni
90bb95a971
Refactorized to a uniform naming and parameters the various templated functions for generating random points
...
GenerateBarycentricUniform
GeneratePointInBox3Uniform
GeneratePointOnUnitSphereUniform
GeneratePointInUnitBallUniform
2013-06-24 08:34:53 +00:00
mtarini
90cdbb6214
(just fixed a warning-producing redundant assert)
2013-06-05 11:08:55 +00:00
Paolo Cignoni
246345bf19
removed a weird "#define static_assert assert" that was surviving since 2004...
2013-03-22 16:43:59 +00:00
Paolo Cignoni
ba58ef9c1e
corrected stupid error did in the conversion process (inverse was not returning anything...)
2013-03-19 22:04:35 +00:00
Paolo Cignoni
837329d98c
Renaming to settle the old attempt of integrally using eigen matrix for matrix44 and matrix33
2013-03-19 21:53:52 +00:00
Paolo Cignoni
e1dda51e85
Renaming to settle the old attempt of integrally using eigen matrix for matrix44 and matrix33
2013-03-19 21:52:39 +00:00
Paolo Cignoni
94a9b9a0f9
Renaming to settle the old attempt of integrally using eigen matrix for matrix44 and matrix33
2013-03-19 21:51:13 +00:00
Paolo Cignoni
2b47dcbb3d
renamed the unused old lin_algebra and Matrix. just to be sure that NOBODY use them.
2013-03-19 17:05:56 +00:00
Paolo Cignoni
33c341b464
harmless change: added a missing vcg::
2013-03-19 17:04:07 +00:00
Paolo Cignoni
2e65cae10e
HEAVY CHANGE. Further cleaning of the matrix classes of VCG.
...
Get rid of all the unused stuff.
internally use Eigen for computing Inverse.
Removed the stupid incomprehensible method Invert() that changed the matrix itself.
Nobody was using it in a reasonable way.
2013-03-19 16:59:45 +00:00
Paolo Cignoni
d3d50e6858
Added two functions to generate point inside a box and over the surface of a sphere.
2013-02-23 06:15:23 +00:00