Paolo Cignoni
18d91de047
Updated to reflect the Normal() -> TriangleNormal() change
...
And added function to compute normals per polygonal faces
2014-11-12 00:09:58 +00:00
Paolo Cignoni
884795203c
Added VertexBorderFromFaceAdj function (needed for managing polymesh that do not have per face border bit)
2014-11-12 00:08:59 +00:00
giorgiomarcias
1f369bbf09
Added the option for selecting polychord loops only.
2014-11-07 15:38:00 +00:00
Nico Pietroni
8c93868ca7
major modification to works with constraints
2014-11-07 12:02:24 +00:00
Nico Pietroni
06bc9ba660
generalized to polygonal faces
2014-11-07 11:42:10 +00:00
Nico Pietroni
d93bfe908f
changed reference to vertex function in order to compile with polygonal faces
2014-11-07 11:41:41 +00:00
Paolo Cignoni
177cf43069
Added two other meshAssert tests (quads and tris)
2014-11-06 15:10:00 +00:00
giorgiomarcias
e1027dedb5
Added method to find all polychords on a mesh (returns the list of Pos's, one for each polychord start edge).
2014-11-06 11:04:19 +00:00
Nico Pietroni
66bd26ed70
minor warning corrected
2014-11-05 19:25:57 +00:00
Nico Pietroni
505fa04c73
Changed per vertex nomal computation to works with polygons
2014-11-05 19:24:46 +00:00
Nico Pietroni
f115db004c
major changes in UpdateSingularByCross, used the additional parameter to set if a vertex is singular or not
2014-11-05 19:23:42 +00:00
Paolo Cignoni
e29b6f4a46
More refactoring of implicit smooting class
2014-11-05 17:23:13 +00:00
Paolo Cignoni
eb2b5e7fa5
refactoring to remove quality
2014-11-05 16:22:06 +00:00
Paolo Cignoni
d03a5a97d2
First version of the implicit smoother
2014-11-05 15:48:34 +00:00
Paolo Cignoni
db53a1ff06
Cleaned up harmonic.h (added standard header, needed meshassert)
2014-11-03 15:00:06 +00:00
Paolo Cignoni
e1a327e556
added a missing include callback.h
2014-11-03 14:59:07 +00:00
Paolo Cignoni
b328a5f94a
Added the new mechanism for run time checking of mesh adequacy to a given algorithm.
...
While the many RequireXXX functions allow to check the static correctness of a mesh and
have a O(1) complexity, in many cases we need to run more complex checks to be sure that
the subsequent algorithm can run without issues.
Typical cases are the fact that there are no unreferenced vertices (NoUnreferencedVertex)
or a given adjacency is correctly initialized (and not only statically present as a type component).
2014-11-03 14:50:37 +00:00
Paolo Cignoni
df6865a6de
Changed many explicit exception throwing for missing components into the shorthand RequireXXXX
2014-11-03 14:38:05 +00:00
Paolo Cignoni
5565647e82
Added two functions VertexFromAttributeHandle and FaceFromAttributeHandle to map a pervertex/perface scalar handle into the quality
2014-11-03 14:36:58 +00:00
Paolo Cignoni
b278f29129
Changed many explicit exception throwing for missing components into the shorthand RequireXXXX
2014-11-03 14:34:35 +00:00
Paolo Cignoni
6830b4aea4
Changed many explicit exception throwing for missing components into the shorthand RequireXXXX
2014-11-03 14:33:45 +00:00
giorgiomarcias
af0f42fedf
"public"-ized some previously "private" static method which are useful also outside. Added a "PC_OTHER" result code for user-defined purposes.
2014-10-17 08:54:34 +00:00
ganovelli
46031c54ca
added GetClosestEdgeBase from space/index/index2/closest_2d.h which is going to be removed
2014-10-09 12:53:40 +00:00
granzuglia
9f647f2460
- added missing cast causing compiler error
2014-09-25 17:11:45 +00:00
Paolo Cignoni
03fb236a82
Improved EdgeMeshUniform to sample also closed loops of edges correctly
2014-09-19 17:07:02 +00:00
Luigi Malomo
70154e50bb
face border computation from FF adjacency fixed for polygon meshes
2014-09-19 10:57:05 +00:00
granzuglia
42e1ae0cfb
- fixed a compatibility problem with MeshLab single precision version
2014-09-17 14:13:45 +00:00
Nico Pietroni
e9ba519fa4
small change to do not insert and cycle to find polygons of size 0
2014-09-14 01:02:42 +00:00
Nico Pietroni
0a91defac8
templated the function VertexClamp wrt input scalar type
2014-09-11 20:42:30 +00:00
Paolo Cignoni
053b649ed2
Added perturbation to the voronoi seed relaxing
2014-09-07 21:36:30 +00:00
Paolo Cignoni
d8293c0c05
Updated RestrictedVoronoiRelaxing to use area weighted sum of nearest vertexes to compute barycenter
2014-08-30 07:50:22 +00:00
Nico Pietroni
6d042e5200
added FaceFauxBorder function
2014-08-29 15:10:06 +00:00
Paolo Cignoni
0e15b05070
Added more control on the initialization of the random generator in the poisson sampling
2014-08-29 13:21:27 +00:00
Nico Pietroni
feff81dd01
solved minor error with templated scalar type
2014-08-28 09:46:49 +00:00
Nico Pietroni
ae18d9b445
added VectorFromCoord function
2014-08-28 09:46:16 +00:00
Paolo Cignoni
0337582896
Added managment of fixed vertices in the restricted voronoi relaxing
2014-08-28 09:28:39 +00:00
Paolo Cignoni
636cf7bf8a
Added possibility of specifying approximation tolerance in the posson disk sampling by number
2014-08-28 09:28:14 +00:00
Paolo Cignoni
c08ca27367
harmless warning
2014-08-28 01:56:28 +00:00
Paolo Cignoni
fdf0b5b2ec
minor aestetical changes and added edge size checking to the IsSizeConsistent function
2014-08-28 01:55:43 +00:00
Paolo Cignoni
875a7d1aac
Added RestrictedVoronoiRelaxing mode to the voronoi framework
2014-08-28 01:54:32 +00:00
Paolo Cignoni
b452c7a305
Changed the wrapper for poisson disk sampling to use the exact pruning option if radius is not specified.
...
Corrected bug in the exact pruning that failed to return radius in some cases
2014-08-28 01:53:58 +00:00
Paolo Cignoni
60ca2f2d72
Updated 4pcs to float/double independnece
2014-08-26 08:45:04 +00:00
Paolo Cignoni
967f61b2be
Added EdgeMeshUniform method that generate samples over the edges of a polyline in a uniform way.
2014-08-26 01:43:04 +00:00
Paolo Cignoni
c6e5015090
Added SplitSelectedVertexOnEdgeMesh that split an edge mesh along the selected vertices. Useful to decompose an edgemesh into simple manifold polylines.
2014-08-26 01:42:09 +00:00
Paolo Cignoni
a9202ed7db
Added method BuildFromNonFaux to build an edgemesh composed by the "non faux edges".
2014-08-26 01:40:46 +00:00
Paolo Cignoni
9682fcd27d
Added to the UpdateFlags::FaceFauxSignedCrease the option to mark as non faux also the boundary edges.
2014-08-26 01:39:18 +00:00
Paolo Cignoni
331021191e
cleaned up the field smoohter (includes, headers etc)
2014-08-23 01:37:18 +00:00
Paolo Cignoni
855280fc08
better comments
2014-08-23 01:36:16 +00:00
Paolo Cignoni
6ba1493e3e
Small changes for float/double independence
2014-08-23 01:35:52 +00:00
Paolo Cignoni
9b519cb2b8
Added ValidCell check to manage invalid cell in the trivial_walker.
...
Corrected compiling error due to the derivation from a templated base class (a few "this->" required)
2014-08-23 01:35:15 +00:00