Paolo Cignoni
1655f806df
removed M_PI_2 constant. (not more supported by vs2010 on)
2013-07-03 21:12:08 +00:00
Paolo Cignoni
29b3c4e1ec
Added VertexCrease, EdgeMontecarlo sampling methdo
...
Improved PoissondDisk sampling algorithm with the bestSampleChoiceFlag parameter
2013-06-24 10:51:53 +00:00
Paolo Cignoni
98e49178ba
Added IsCoherentlyOrientedMesh and cleaned up a bit the self intersection
2013-06-24 10:50:14 +00:00
Paolo Cignoni
9acdf598a1
removed harmless gcc warning
2013-06-24 09:36:46 +00:00
Paolo Cignoni
388435d15a
Added a default value to the optional cb parameter in the pointcloud normal generation function
2013-06-24 08:36:08 +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
Paolo Cignoni
be3e74ca6a
Refactored CountInSphere / RemoveInSphere for the PoissonDisk sampling optimizations (now you can just count the element inside a given sphere without removing them.
2013-06-24 07:57:18 +00:00
Paolo Cignoni
9ad68bc573
Added DihedralAngleRad that computes the signed dihedral angle between the normals of two adjacent faces
2013-06-24 07:55:54 +00:00
Paolo Cignoni
49d759af2a
Added EdgeBarycentricToFaceBarycentric to convert an edge position into a face barycentric position
2013-06-24 07:31:11 +00:00
Paolo Cignoni
5049407069
Added FaceFauxSignedCrease that Marks feature edges according to two signed dihedral angles.
2013-06-24 06:56:15 +00:00
Paolo Cignoni
efe6379b4b
Added updating of the bbox for generic mesh build
...
Added build for point clouds
Added Clear at the beginning of the Build(m)
2013-06-24 06:49:51 +00:00
mtarini
90cdbb6214
(just fixed a warning-producing redundant assert)
2013-06-05 11:08:55 +00:00
Nico Pietroni
5f59f1fa5a
corrected some non templated type on SplitNonManifoldVertex function
2013-05-08 09:05:58 +00:00
Nico Pietroni
a52a4d0ad3
added ClearCreases function..
...
corrected setting B for non manifold in VertexBorderFromNone
2013-04-24 14:22:43 +00:00
Nico Pietroni
04bca27a7e
erased first assert of RemoveDuplicateEdge function
2013-04-20 15:13:49 +00:00
Paolo Cignoni
4ab12a165f
uniformed syntax of the name of the parameters of the rect packer
2013-04-15 20:57:15 +00:00
Paolo Cignoni
a1c03d2e61
uniformed syntax of the name of the parameters of the rect packer
2013-04-15 20:56:40 +00:00
Paolo Cignoni
cbba83d17c
added Annulus and OrientedAnnulus to mesh creation helpers
2013-04-15 20:14:27 +00:00
Paolo Cignoni
371ff46282
added a missing RequireVFAdjacency and corrected a bug into the RequireXX for a couple of other adjacency...
2013-04-12 09:16:49 +00:00
Paolo Cignoni
eeddfe6a90
Updated to include better control of the voronoi parametrization. Changed packer (warning it requires qt...)
2013-04-03 10:07:29 +00:00
Paolo Cignoni
135f5f9ecb
added Outline2VecBBox method
2013-04-03 10:02:19 +00:00
Nico Pietroni
01c0681291
added #include <vcg/complex/exception.h>
2013-03-30 15:31:57 +00:00
Nico Pietroni
8454fb5fc9
removed some commented part and changed FixDefaultVertices
2013-03-30 15:30:18 +00:00
Paolo Cignoni
84b8170401
Changed the default of the param and added the automatic reverse of flipped outlines
2013-03-26 23:02:23 +00:00
Paolo Cignoni
c73b9a7727
Added first version of the rasterized outline packer written by Andrea Bernabei
2013-03-26 11:30:59 +00:00
Paolo Cignoni
9bd9f9fdc7
Further cleaning up and factorization of the stuff for the raster outline packer
2013-03-26 11:25:47 +00:00
Paolo Cignoni
ea5c88be1a
corrected harmless bug (misleading j/i scopes in nested for's)
2013-03-25 13:10:40 +00:00
Paolo Cignoni
4fa516b8d7
Added first version of the outlinesupport.h to manage various interaction between meshes, borders and outlines
2013-03-25 13:09:15 +00:00
Paolo Cignoni
668bf05a1d
Refactored a bit CountConnectedComponents (added requiremens)
2013-03-25 10:33:22 +00:00
granzuglia
5bcce6a3d5
//static_cast<VertexPointer>(NULL) has been introduced just to avoid an error in the MSVS2010's compiler confusing pointer with int. You could use nullptr to avoid it, but it's not supported by all compilers.
...
//The error should have been removed from MSVS2012
std::pair<float,VertexPointer> zz(0.0f,static_cast<VertexPointer>(NULL));
2013-03-24 16:33:50 +00:00
Paolo Cignoni
1fef63b1da
improved a bit the basic step of the voronoi clustering
2013-03-22 17:07:55 +00:00
Paolo Cignoni
e94cfb5a43
Refactored a bit the extended marching cube core. Cleaned up a bit the trivial walker to be used by both of them. Updated the sample for marching cube.
2013-03-22 17:06:41 +00:00
Paolo Cignoni
3a9a72c098
removed a useless template specialization to a few std::make_pair
2013-03-22 16:53:42 +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
f3337dcb7c
updated polygon component to the cP/P behavior for access to elements
2013-03-20 08:56:20 +00:00
Paolo Cignoni
12543d68a2
Removed also from this file the deprecated dependencies from linalg. NOW EVERY PIECE OF THE VCG relies on eigen for linalgebra.
2013-03-20 08:32:53 +00:00
Paolo Cignoni
72d67f4a11
Added parenthesis to clearly disambiguate if/then/else
2013-03-20 08:28:30 +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
f156a5a82c
Updated version of the oldpolyrect packer. Reasonably extended to multiple domain. To be tested/replaced
2013-03-13 19:09:50 +00:00
Paolo Cignoni
5aaa6f4720
harmless small refactoring
2013-03-13 14:59:34 +00:00
Paolo Cignoni
f62e07ee66
Corrected the behavoiour of the allocate::Compact when managing uninitialized and null element in adjacency
2013-03-13 14:33:09 +00:00
Paolo Cignoni
4665f36e40
Improved component documentation. Added IsVFInitialized, VFClear function for VF component. Clarified the difference between null and uninitialized for a VF component.
2013-03-13 14:02:03 +00:00
Paolo Cignoni
6950be4594
Improved comment/documentation. Changed throws in require
2013-03-13 14:00:29 +00:00
ganovelli
9e45730d93
DIstance to SignedDistance
2013-03-13 09:40:55 +00:00