Paolo Cignoni
4cf6f3d6e8
Added edge collapse of short edges and triangulation of voronoi regions
2013-10-09 08:49:13 +00:00
Paolo Cignoni
2a552f8976
Corrected a wrong call to GetAreaAndFrontier that I forgot to update after the api change...
2013-10-07 08:07:16 +00:00
Paolo Cignoni
97a8cb9238
Removed the missing face bug and the wrong orientation bug.
2013-10-03 21:09:28 +00:00
Paolo Cignoni
bf17b1b9f8
Heavylly change. Rewrote the voronoi to mesh converter. Added option for locking vertices
2013-10-03 14:32:53 +00:00
Paolo Cignoni
46dc55fb3c
Refactored code to use the AddFace of the Allocator that add and fill a face with three vertex pointers.
2013-09-10 10:51:15 +00:00
Paolo Cignoni
05d262ba9b
Added conversion to polygonal mesh and to edge mesh of the generated voronoi diagram.
...
Improved behavior for biased distance diagrams
2013-07-26 12:20:40 +00:00
Paolo Cignoni
42da29417b
cleaned up a bit the interface and formatting of the code of the voronoiclustering alg
2013-07-05 14:46:48 +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
ganovelli
8c998ccd11
vcg::tri::Allocate<MESH>::Get*Attribute(m,name);
...
has CHANGED!
Before it was returning a valid handle to the attribute
IF it existed, otherwise the handle was invalid.
Now it always returns a valid handle to the attribute,
by creating the attribute name if it did not exist or returning
the handle to it if it was already there.
ALl the code using Get*Attribute has been changed accordingly.
2013-01-30 17:18:55 +00:00
Paolo Cignoni
4e6a97770b
Significant changes to the Geodesic computation class
...
- Cleaned: removed useless wrapper
- Documented
- Removed the automatic computation of the farthest vertex NOBODY never ever used it in all our basecode (but every one declared a useless var for that...)
- Changed the name of the class to something meaningful (Geodesic::Compute instead of Geo::FarthestVertex)
2012-11-07 01:07:08 +00:00
granzuglia
1151b88b54
- updated file according to new vcglib syntax
2012-10-22 12:06:43 +00:00
Paolo Cignoni
f036874693
better comments
2012-07-03 09:14:17 +00:00
Paolo Cignoni
776fbe45a0
First Version of the Voronoi Atlas parametrizator.
2012-07-02 16:41:28 +00:00
Paolo Cignoni
ae58754015
Significant change of names to the UpdateSelection Class.
...
now follows the standard VertexClear instead of ClearVertex.
Updated all the other files of vcg using it...
(added also selection stuff for edges..)
2011-12-13 10:07:00 +00:00
Paolo Cignoni
e886684842
moved voronoi_clustering here from meshlab...
2011-10-20 22:26:46 +00:00