ganovelli
4fc9dd2639
added edgeSimp definition
2008-09-30 09:47:25 +00:00
Paolo Cignoni
8143b27315
added missing include callback.h
2008-09-29 10:12:38 +00:00
ganovelli
b5bca977a7
added pragma message to deprecate this way to define the simplex
2008-09-28 14:30:09 +00:00
ganovelli
a2e3e5b725
Removed Similarity from Shot
...
Problem: Shot was using similarity merely to store
rotation and translation.
There was an incompatibility in that Similarity::ToMatrix
gives scale*rotation*translation while in Shot
the translation stores the viewpoint and the rotation the orientation of the Shot.
In this version, a small class ReferenceFrame was done to play the role of similarity and MultMatrix and MultSimilarity functions were added to transform the frame by multiplying it for a Matrix44 (or applying a similarity).
NOTE: the file export_ply.ply and import_ply.h must also be updated.
-- only compiled with .net ---
2008-09-26 17:07:32 +00:00
Federico Ponchio
e5258c6aa3
Attempting to make similarity compatible with both quaternions and matrix44
2008-09-26 15:37:53 +00:00
Paolo Cignoni
f3bddee157
gcc compiling issues (again using template keyword to disambiguate templated functions in templated classes)
2008-09-25 16:10:47 +00:00
ganovelli
a097ef4df9
automatic rough alignment by using 4pcs (4-points congruent sets for Robust pairwise surface registration, Mitra et al. SIGGREAPH 08). First working draft
2008-09-24 16:17:33 +00:00
ganovelli
41bc27e33e
Changed the type of query type. Made it dependend on distance functor
2008-09-24 09:28:53 +00:00
ganovelli
68d900ec7e
changes to compile previous commit with gcc
2008-09-24 09:15:38 +00:00
ganovelli
f7da79d507
Add template parameter to PointDistanceFunctor
2008-09-24 08:56:06 +00:00
ganovelli
6a649ee257
changes to comply the templatization of distance functor on the query type
2008-09-24 08:45:31 +00:00
ganovelli
a952bb1801
DistanceFunctor templated on the type of the query
...
Added PointNormalDistanceFunctor
2008-09-24 08:42:17 +00:00
ganovelli
f6da3d936d
DistanceFunctor templated on the type of the query
2008-09-24 08:41:04 +00:00
ganovelli
d52199f64c
DistanceFunctor templated on the type of the query
...
Added GetClosestVertexNormal which uses Vertex Position and Normal (see PointNormalDistanceFunctor)
2008-09-24 08:37:42 +00:00
ganovelli
3d8400f86e
added a missing templatization od Point3 in Decompose (thanks Oscar Barney)
2008-09-22 13:49:15 +00:00
ganovelli
efd69c8291
qualifier Camera<S>:: removed in inline definition (thanks Oscar Barney)
2008-09-22 13:42:49 +00:00
ganovelli
b2960231ca
corrected bug on PointBase class (thanks Oscar Barney)
2008-09-22 13:40:53 +00:00
ganovelli
889b2ddaa3
chamged " to < in the #include
2008-09-22 09:35:01 +00:00
ganovelli
f2ed76753c
added inclusion of functional
2008-09-22 09:10:58 +00:00
Paolo Cignoni
7473170272
Improved robustness of FF adj from texture coords adjacency.
...
Now faces with degenerated tex coords are more correctly managed.
2008-09-15 10:08:41 +00:00
ganovelli
4971b69b13
corrected wrong constant in Covariance (thanks F.Ponchio)
...
and minor calculation simplifications
2008-09-10 16:18:32 +00:00
granzuglia
b9ce07204e
Minor changes according to new Point<N,S> definition.
2008-09-10 14:06:13 +00:00
granzuglia
728a9020c4
The class PointBase has been renamed as Point.
...
An empty class PointBase has been added for backward compatibility.
Mathematical operation (+,+=,*,etc) in class Point<N,S> has been implemented.
2008-09-10 14:04:09 +00:00
Paolo Cignoni
e8c7472dca
Corrected name of template type S in UndistortedToDistorted() to avoid the shadowing between S as type and S as variable name.
2008-09-09 17:41:33 +00:00
matteodelle
c94dbdfdaf
2008-09-09 09:22:55 +00:00
matteodelle
0c2491e1b4
new functions to handle distortion: should not affect previous stuff. tested but still error prone...
2008-09-09 09:20:48 +00:00
Paolo Cignoni
e7c9656219
Corrected the ImportLocal function for most of the optional classess. Previous version did not check for the availability of the optional component before trying to import it.
2008-08-28 07:19:04 +00:00
Federico Ponchio
12d5a0e322
Removed compile warning by initializing imax to 0 in Decompose().
2008-08-27 14:33:20 +00:00
Federico Ponchio
696941893d
Translated some italian comments... many more to translate.
2008-08-25 12:33:06 +00:00
Paolo Cignoni
201313a5de
Changed the name of the pointer to edge Ep into the more standard VEp (like vertex plus and the other vertex to simplex adjacencies VFp and VTp)
2008-08-20 20:35:29 +00:00
Paolo Cignoni
559161beda
Changed the name of the pointer to edge Ep into the more standard VEp (like vertex plus and the other vertex to simplex adjacencies VFp and VTp)
2008-08-20 20:34:01 +00:00
ganovelli
a00da7b3f3
minor type changes to compile with gcc
...
removed debug include to export_ply.h
2008-08-19 11:09:52 +00:00
ganovelli
1185e2ab96
minor type changes to compile with gcc
2008-08-19 11:03:39 +00:00
ganovelli
6bda668af8
missing include added
2008-08-19 10:22:31 +00:00
ganovelli
3cb29c805b
changed template from vcg::Triangle to generic class to allow to pass a vcg::FaceSimpX (recall: the disambiguation was done in the function name exactly for this reason)
2008-08-19 10:21:01 +00:00
ganovelli
3c69c98cd8
some clean up PrincipalDirections (not working well)
...
added PrincipalDirectionsPCA
added VertexCurvature that takes a mesh (the name has to be changed)
2008-08-19 10:15:32 +00:00
ganovelli
4e81e65145
added Covariance to to compute the covariance of a generic mesh (without the use of divergence theorem)
2008-08-19 09:43:24 +00:00
ganovelli
1ac5c66e78
added IntersectionBallMesh
...
added some to the functions
2008-08-19 09:40:52 +00:00
ganovelli
4ac273db73
corrected bug in the number of added vertices
2008-08-19 09:09:44 +00:00
Paolo Cignoni
5843045302
Added missing VEAdj (adjacency vertex-edge used in EdgeMesh)
2008-08-17 20:29:23 +00:00
ganovelli
7a03d966d3
corrected small bug in FaceSimilar
2008-08-14 14:19:29 +00:00
Paolo Cignoni
19b903e34b
added a basic Function computing the intersection between a trimesh and a plane that does not require a spatial search structure (useful if you want to make a small number of slices)
2008-08-14 10:04:01 +00:00
Paolo Cignoni
7c66288207
changed a RotateRad to the new SetRotateRad
2008-08-14 10:02:07 +00:00
ganovelli
3462f6a8c2
changed from Rotate (in degrees) to SetRotateRad and SetRotateDeg (the same as in Matrix44.h)
...
Added return type to the functions SetXXX
2008-08-12 17:31:11 +00:00
Paolo Cignoni
eb307140bb
Renamed (and refactored to use Stat::MinMax function) method for ramp-coloring a mesh according to its Quality from UpdateColor::VertexQuality to UpdateColor::VertexQualityRamp.
...
Added UpdateColor::VertexQualityGray.
2008-08-12 08:02:53 +00:00
Paolo Cignoni
9e214da6ff
Re-inserted the return statement in the Invert() function that was erroneously removed with the previous commit.
2008-08-11 12:56:37 +00:00
Paolo Cignoni
65320e40a7
Added a clarifying comment on the Invert versus Inverse issue
2008-08-11 08:04:19 +00:00
ganovelli
1e94f7cf46
Add covariance matrix of a set of points
2008-08-07 18:33:23 +00:00
ganovelli
82d9dec26a
aadded this-> to + operator to compile with .net
2008-08-07 16:22:27 +00:00
ganovelli
8ad902095a
removed ImportVertex for ImportLocal
2008-08-07 16:20:01 +00:00