Nico Pietroni
843c852523
correct template scalar type use in FaceSaturate function
2015-04-12 06:13:35 +00:00
Luigi Malomo
20429b9801
Fixed wrong check for FF adj.
2015-03-16 14:06:09 +00:00
Luigi Malomo
c722cedeaa
Fixed bug in VertexBorderFromFaceBorder function.
2014-12-10 00:55:37 +00:00
Paolo Cignoni
9d89004760
Updated to reflect the Normal() -> TriangleNormal() change
...
Updated to reflect the changes to the UpdateFlags (new function names ::VertexBorderFromFaceAdj ::VertexBorderFromFaceBorder)
2014-11-12 00:14:23 +00:00
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
Nico Pietroni
505fa04c73
Changed per vertex nomal computation to works with polygons
2014-11-05 19:24:46 +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
granzuglia
9f647f2460
- added missing cast causing compiler error
2014-09-25 17:11:45 +00:00
Luigi Malomo
70154e50bb
face border computation from FF adjacency fixed for polygon meshes
2014-09-19 10:57:05 +00:00
Nico Pietroni
0a91defac8
templated the function VertexClamp wrt input scalar type
2014-09-11 20:42:30 +00:00
Nico Pietroni
6d042e5200
added FaceFauxBorder function
2014-08-29 15:10:06 +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
6ba1493e3e
Small changes for float/double independence
2014-08-23 01:35:52 +00:00
granzuglia
b5bfb0e438
complex/base.h:
...
- removed Visual Studio warnings
2014-08-09 10:01:15 +00:00
Paolo Cignoni
f456e8aca3
throw exception -> RequireXXXX refactoring
2014-08-09 00:14:42 +00:00
Luigi Malomo
2e5ac741a8
added closest face function which returns also barycentric coordinates and the interpolated normal for the closest point.
...
fixed Inside class for checking if a point is inside a mesh
minor fixes
2014-07-26 14:44:59 +00:00
Paolo Cignoni
eb642099f1
Corrected another typeclash in the curvature types (a CurVecType definition was missing in the emptycore component)
2014-06-24 08:41:41 +00:00
Paolo Cignoni
bc980f70cc
Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
2014-06-19 11:45:00 +00:00
Paolo Cignoni
c30978903d
Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
2014-06-19 10:23:58 +00:00
Paolo Cignoni
c5efcad9a2
Small changes in the long long way to making meshlab and the vcglib really float/double independent
2014-06-18 17:29:08 +00:00
Paolo Cignoni
3808c3dbd4
Small changes in the long long way to making meshlab and the vcglib really float/double independent
2014-06-18 10:39:43 +00:00
Paolo Cignoni
8ba0e6d6aa
Added method PerBitPolygonFaceNormalized for computing normals for polygonal meshes kept with fauxbit.
...
Added a few Require just for safety
2014-05-20 22:30:59 +00:00
giorgiomarcias
1803989930
Added two methods for computing normals of polygonal meshes.
2014-05-20 15:55:58 +00:00
Paolo Cignoni
4e4775ac60
refactored for shortness and efficiency the heavily used FillEdgeVector that collect all the edges of a mesh
2014-05-13 09:52:17 +00:00
Paolo Cignoni
e99ae117de
Harmless warning (unsigned vs signed int)
2014-02-25 17:40:36 +00:00
Paolo Cignoni
18c0ac1681
Refactored selection face from vertices algorithms and added requiremnts for triangular mesh for the algorithm selecting vertices starting from face border flag
2014-02-19 14:38:54 +00:00
Paolo Cignoni
6f7e2872af
Removed useless include
2014-02-18 20:18:13 +00:00
giorgiomarcias
22a3e51d1a
Corrected some updating selection functions to manage polygonal faces instead of just triangular ones.
2014-02-15 20:56:36 +00:00
Paolo Cignoni
6efdd91ecc
Many small changes to remove useless annoying warnings.
2014-02-13 15:52:17 +00:00
Nico Pietroni
c1403e2fef
- added FaceSaturate function
...
- corrected vertex from face quality copy
2013-12-16 12:07:26 +00:00
Paolo Cignoni
7c0f42c4d7
Include header cleaning and reordering.
2013-11-25 10:35:39 +00:00
Paolo Cignoni
a1471cea44
Cleaned up a bit naming and comments and some interfaces of some bitquad functions
2013-10-10 16:02:27 +00:00
Nico Pietroni
affa165543
added explicit cast to ScalarType , line 286
2013-09-21 00:53:36 +00:00
Paolo Cignoni
b49b2ce1e8
Added PerVertexBasicRadialCrossField for the creation of sample cross field
2013-07-26 12:21:40 +00:00
Paolo Cignoni
f85ce4e334
Removed all references to the useless old vcg::math::Swap
2013-07-26 07:35:02 +00:00
Paolo Cignoni
f9db54196b
Significant Change.
...
Removed old quality from geodesic function. Use the Geodesic class that has a singleCall wrapper doing the same in a eventually better way.
Added a number of RequireXXX at the beginning. To be completed...
2013-07-24 12:00:47 +00:00
Nico Pietroni
fe7565ad2a
commented the part that set as border the non manifold vertex
2013-07-23 11:20:44 +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
Nico Pietroni
a52a4d0ad3
added ClearCreases function..
...
corrected setting B for non manifold in VertexBorderFromNone
2013-04-24 14:22:43 +00:00
Nico Pietroni
01c0681291
added #include <vcg/complex/exception.h>
2013-03-30 15:31:57 +00:00
Paolo Cignoni
6950be4594
Improved comment/documentation. Changed throws in require
2013-03-13 14:00:29 +00:00
Nico Pietroni
e633317b58
added include matrix44.h
2013-01-22 10:51:56 +00:00
Nico Pietroni
37e8a2118b
changed tri::RequirePerEdgeFlags to RequirePerEdgeFlags
2013-01-22 10:50:40 +00:00
Luigi Malomo
8165152573
added UpdateFlags::EdgeSet function
2012-12-11 12:15:16 +00:00
Paolo Cignoni
fd54ab7183
Disambiguated the names of VertexFromGaussianCurvature for case when you have the full curvatures or just the HK values
2012-12-10 09:41:53 +00:00
Paolo Cignoni
e9a0913eee
Added edge selection management in edge selection stack
2012-12-10 09:39:44 +00:00
Paolo Cignoni
63e5ef9763
changed to the new RequireXXXX syntax for type reflections
2012-12-06 11:00:37 +00:00
Paolo Cignoni
e04a37bf60
removed harmless warnings
2012-12-02 14:57:08 +00:00
Nico Pietroni
a95eb5af08
added function EdgeSetV
2012-11-18 18:05:39 +00:00
Paolo Cignoni
ed6042e502
Committed temporary version of the cleaned up curvature computation files
2012-11-12 11:15:21 +00:00
Paolo Cignoni
9cea19e537
Cleaned up the UpdateFlags class. Assert into throw...
2012-11-10 16:33:38 +00:00
Paolo Cignoni
a1e4341c98
assert->trhow and first version of the allocateEdge
2012-11-10 06:45:58 +00:00
Paolo Cignoni
6b48acfa9f
Added all the missing component exceptions for colors
2012-11-09 10:52:35 +00:00
Paolo Cignoni
ed4500a156
Improving Documentation: removed doxygen warnings.
2012-10-26 07:08:18 +00:00
Paolo Cignoni
9658740974
Improving documentation. Reordered groups and started documenting main components
2012-10-25 13:47:31 +00:00
granzuglia
3a6031554b
- updated file according to new vcglib syntax
2012-10-22 12:11:49 +00:00
Paolo Cignoni
75122cd193
Improved comments and interface of perlin noise color
2012-10-19 12:32:05 +00:00
Paolo Cignoni
1918c53a09
Cleaning of names and reordering of Color functions
2012-10-19 11:52:57 +00:00
Nico Pietroni
210b348626
corrected UpdateNormal calls
2012-10-14 07:41:58 +00:00
Paolo Cignoni
41060feef9
Updated to reflect the naming changes in updateNormals
2012-10-11 11:09:30 +00:00
Paolo Cignoni
bf13a8ee8f
Changed a bit the interface of the exception throwing. Updated normals and other to follow this changes
2012-10-11 11:04:37 +00:00
Paolo Cignoni
44b9b56c42
Updated to reflect the naming changes in updateNormals
2012-10-09 08:51:15 +00:00
Paolo Cignoni
34f4e6c98c
**** SIGNIFICANT CHANGE ****
...
Name uniformation NO MORE PLURALS IN NAMES
From UpdateNormals to UpdateNormal
2012-10-09 07:55:30 +00:00
Paolo Cignoni
905e1a7209
Cleaned up a bit
2012-10-09 07:53:55 +00:00
Paolo Cignoni
fc75c0c62d
Harmless gcc warnings
2012-10-09 07:05:45 +00:00
Paolo Cignoni
707577cbf9
Removed unnecessary include files:
2012-10-08 12:07:14 +00:00
Nico Pietroni
c4b53d16cc
edded 2 includes:
...
* component.h for per face Normal calculation function
* exception.h for excepion handling
2012-10-08 11:51:35 +00:00
Paolo Cignoni
33e1231056
Heavily reformatted and cleaned for documentation. Hopefully no semantic changes involved...
2012-10-08 09:01:24 +00:00
Paolo Cignoni
18e2f6dd7c
Updated to the new exception based strategy (no more assert for missing components)
2012-10-04 20:37:49 +00:00
Paolo Cignoni
f62ca270b7
Better naming for the EdgePlane face component for fast closest query
2012-10-04 16:22:08 +00:00
Paolo Cignoni
2b0dbf2d20
Better naming for the EdgePlane face component for fast closest query
2012-10-04 16:19:03 +00:00
Nico Pietroni
e2e948dbd6
added cast to float lines 308 309
2012-09-18 15:18:33 +00:00
Nico Pietroni
d9a95aaffc
added Function FaceClearS
2012-09-03 15:56:24 +00:00
Nico Pietroni
10e827b071
added include <wrap/callback.h>
2012-09-03 15:55:41 +00:00
Paolo Cignoni
cfba5001fd
Disambiguate function name PerVertexWeighted -> PerVertexNelsonMaxWeighted
2012-07-31 09:15:20 +00:00
Paolo Cignoni
45b0deb7eb
Important Change: ** LastBitFlag ** now is named ** FirstUnusedBitFlag **
...
Corrected the name of the function allocating a user bit among the flags of the simplexes.
Changed in ALL the simplexes (vertex, edge, face, etc) and updating functions.
Note that the LastBitFlag should never be used by common users...
2012-07-18 09:37:32 +00:00
ganovelli
d9132e6cbc
corrected assertion
2012-07-09 15:14:36 +00:00
Paolo Cignoni
4c44513d4f
corrected bug in the UpdateTopology::EdgeEdge function: it touched a vector element beyond .end()
2012-04-22 09:01:04 +00:00
Paolo Cignoni
39df21640a
Updated to reflect the change from ColorRamp -> SetColorRamp
2012-04-18 21:19:11 +00:00
Paolo Cignoni
508c733bd4
added a missing updateQuality::FaceFromVertex
2012-04-18 21:09:56 +00:00
Paolo Cignoni
059a2f220b
added EdgeCount method for counting selected edges
2012-04-04 09:59:10 +00:00
msabbadin
7c3687b8db
corrected an assert in PrincipalDirections static method:
...
from assert(m.HasVFAdjency());
to assert(tri::HasPerFaceVFAdjacency(m) && tri::HasPerVertexVFAdjacency(m));
2012-04-02 14:42:56 +00:00
Paolo Cignoni
4bdf843589
Changed all the MeshType::HasSomething() into the now standard tri::HasSomething(MeshType &m)
2012-01-20 08:03:25 +00:00
Paolo Cignoni
e9d476e93c
Changed all the MeshType::HasSomething() into the now standard tri::HasSomething(MeshType &m)
2012-01-20 07:49:26 +00:00
Paolo Cignoni
f4cf3b9221
Changed the name of the Distance from point to plane
...
from DistancePointPlane
to SignedDistancePointPlane
to underline the fact that it is SIGNED!!!
2012-01-18 11:44:42 +00:00
Paolo Cignoni
048b884a3e
Added tri:UpdatePosition::Scale(mesh)
2012-01-18 11:22:40 +00:00
Paolo Cignoni
412ef1aa65
Added UpdateSelection::VertexFromEdgeLoose
...
added parameter for preserving the old selection to the UpdateSelection::VertexFromFaceLoose
2011-12-14 08:54:54 +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
c038b3584e
Corrected blatant bugs in the updateTopology--VertexEdge
2011-12-12 23:28:25 +00:00
Paolo Cignoni
0e76a8e0ce
Removed the useless faceprojection flag update function. No more needed!
2011-11-21 09:10:52 +00:00
Paolo Cignoni
e0055f8b5c
added a missing const...
2011-11-15 11:15:24 +00:00
Paolo Cignoni
2fe129645b
Rolled back
2011-10-05 15:04:40 +00:00
granzuglia
f58b646616
added several missing include file
2011-06-07 14:37:27 +00:00
Paolo Cignoni
3d4ae1b506
Added UpdatePosition::Translate
2011-06-03 08:32:27 +00:00
Paolo Cignoni
27d9cfd6cb
Added VertexFromPlane that put into quality the distance from a plane
2011-06-02 21:28:50 +00:00
Paolo Cignoni
5b6f8055f2
Corrected bug in the computation of VE topology
2011-05-31 08:35:50 +00:00