mtarini
6e0559be18
vert=>vertex
2008-11-12 16:50:47 +00:00
mtarini
ced06f5601
First version.
2008-11-12 16:42:24 +00:00
mtarini
80f1fa2396
Added NavigatorWasdMode: doom-like navigation around/inside objects (see samples/SDL_trackball for an example)
2008-11-12 16:36:55 +00:00
mtarini
1ad548c24c
Added animations and keys (so far, only used by the Navigator Mode)
2008-11-12 16:33:40 +00:00
mtarini
5704acea18
Added handling of a few more keys.
2008-11-12 16:32:18 +00:00
ganovelli
f80c878644
[EDGE SUPPORT] Added template parameter to query function to comply mods in vcg/complex/trimesh/base.h
2008-11-12 16:21:30 +00:00
ganovelli
81a4a5b4f5
added missing cC() access to color
2008-11-12 16:20:53 +00:00
ganovelli
62ff8885c0
Added missing Prev and Next to PolyInfo
...
[EDGE SUPPORT] Added PFEAdj (pointer to edge)
2008-11-12 16:19:52 +00:00
ganovelli
d3ba33039b
[EDGE SUPPORT] Added template parameter to qyery function to comply mods in vcg/complex/trimesh/base.h
2008-11-12 16:18:28 +00:00
ganovelli
085d51edfa
[EDGE SUPPORT] added FEAdj component
2008-11-12 16:17:07 +00:00
ganovelli
896e0edc04
minor - just identation
2008-11-12 16:15:52 +00:00
ganovelli
be05277504
added the components to implement the half edge data structure:
...
HEOppAdj : pointer to the opposite half edge
HEVAdj : pointer to the vertex
HENextAdj : pointer to the next half edge
HEPrevAdj : pointe to the previous half edge
EFAdj : pointer to the face
HEdgeData : groups all previous except (HEPrevAdj)
2008-11-12 16:14:13 +00:00
ganovelli
b6f21780dc
added workaround for std::vector<bool> bitwise implementation.
...
The workaround is a rough reimplementation of std::vector.
If you can, use "char" as temporary data and cast it when you need.
2008-11-12 16:10:04 +00:00
ganovelli
274e20b3df
changed m.HasFFTopology to HasFFTopology(m)
2008-11-12 16:06:59 +00:00
ganovelli
122f0412c8
made compliant to polygon_support
2008-11-12 16:03:24 +00:00
ganovelli
c7e86ab57a
remove unreferenced variable
2008-11-12 16:01:11 +00:00
ganovelli
a5cbc8c7f8
added return to RemoveNonManifoldVertex
2008-11-12 16:00:27 +00:00
ganovelli
e37cca54a3
[EDGE SUPPORT]
...
Added default template to TriMesh to include the edges.
Added peredge attributes.
These modification do not require any change to the code using TriMesh, but it allows
to specify a real type of edge in case you want to use it.
2008-11-12 15:51:01 +00:00
ganovelli
1aa88e635b
added update of newEnd in AddFaces
...
Added [de]allocation of edges and per-edges attributes.
2008-11-12 15:46:16 +00:00
ganovelli
aecc82a589
added trimesh_attribute
2008-11-12 15:01:08 +00:00
Paolo Cignoni
d124cae6fb
added a missing include
2008-11-07 15:37:46 +00:00
Paolo Cignoni
2e7c97e90e
Corrected the update cycle in the AddFace. Thanks to Michele Vannoni for pointing out this bug!
2008-11-07 15:36:19 +00:00
Federico Ponchio
01c0bc106f
Added function to get near and far plane for a box (exact).
2008-11-07 15:15:06 +00:00
Paolo Cignoni
df84db769c
Rewrote the function for the selection and counting of non manifold vertices. Now it does not require VF topology, just FF.
2008-11-07 10:12:39 +00:00
Federico Ponchio
a9e5756eda
Distortion parameter zeroed on creation!
2008-11-06 15:36:44 +00:00
Paolo Cignoni
0927eaf2fb
sounds like I forgot to commit the addition of Transpose compatibility + fix related to recent Eigen change
2008-11-04 12:33:47 +00:00
Paolo Cignoni
cb22994ef5
Restored TMARKER as a copied, not referenced, class
2008-11-03 16:21:52 +00:00
mtarini
b3620bb320
implemented ToEulerAngles + minor changes and fixes.
2008-11-01 15:54:13 +00:00
Paolo Cignoni
336de84d19
Added an unbiased montecarlo and a revised (still to be improved) stratified sampling
2008-11-01 07:22:29 +00:00
Paolo Cignoni
4e46ff3be6
Added HasPerVertexRadius(mesh)
2008-10-31 12:27:37 +00:00
ganovelli
6d59f7000a
updated to comply mods at the lib
...
(deprecated simplex definitions, new namespace "vertex", new vertexquality
function names)
2008-10-31 12:05:24 +00:00
Paolo Cignoni
dfc6417426
Changed IPToP calls into IPiToPf, Markers passed by reference
2008-10-31 10:40:06 +00:00
Paolo Cignoni
0f2d864e05
remove a trailing print()
2008-10-30 11:31:28 +00:00
Paolo Cignoni
dfc97ba1f2
fix Matrix44 infinite product, make glGetv not allocate temporary
2008-10-30 10:47:08 +00:00
Paolo Cignoni
49c72bc54e
Disambiguated some grid utility names (IPtoTP into IPfToPf and IPiToPf) in order to avoid ambiguities (due to automatic cast?)
2008-10-30 09:01:03 +00:00
Paolo Cignoni
6627c21d43
added a missing dot() product for the conservative people still using deprecated stuff...
2008-10-30 07:39:33 +00:00
Paolo Cignoni
60eb470c6c
of course fixing msvc breaked gcc... not anymore... spoke too fast gcc 4.0.1 had troubles
2008-10-29 15:52:07 +00:00
Paolo Cignoni
e90fd9ca16
of course fixing msvc breaked gcc... not anymore
2008-10-29 15:36:08 +00:00
Paolo Cignoni
0414cbc2f3
Fixed includes, new interface to specify polar functions
2008-10-29 15:26:45 +00:00
Paolo Cignoni
c8506daaff
fixed a couple of MSVC issues, meshlab compile, the plugins soon...
2008-10-29 14:01:44 +00:00
Paolo Cignoni
7b075b3905
mvsc does not like #warning
2008-10-29 13:17:32 +00:00
Paolo Cignoni
3d43483497
one more fix gcc 4.0.1 issue in wrap/gl/math
2008-10-29 13:04:11 +00:00
Paolo Cignoni
0d9795d163
fix gcc 4.0.1 issue in wrap/gl
2008-10-29 12:56:32 +00:00
Paolo Cignoni
69a82d6174
fix the is "inaccessible" issue with g++-4.0.1 - more fixes ;)
2008-10-29 11:29:57 +00:00
Paolo Cignoni
696f763c3d
fix the is "inaccessible" issue with g++-4.0.1
2008-10-29 11:28:51 +00:00
Paolo Cignoni
e587581275
add transposeInPlace and duplicate V(int)
2008-10-29 11:17:11 +00:00
Paolo Cignoni
07f2e976ea
* change all remaining Transpose to transpose,
...
* update the gl/math wrappers to make them more Eigen friendly
(and remove the useless, and not used, and somehow dangerous
*Direct and *E functions)
* add automatic reinterpret_casting from Eigen::Matrix to vcg
specialized types
2008-10-29 00:05:44 +00:00
Paolo Cignoni
0361427bc0
big cleaning in Point* and Matrix*, now they are very closed to be simple typedef of
...
Eigen's Matrix. Now the dilema is how to mimic those typedefs, using inheritence ?
or using the classic workaround: typename Point3<float>::Type; with Point3<T>::Type defined
to Eigen::Matrix<T,3,1>. Anyway currently I support both (and the inheritence scheme has
to be preserved for compatibility). The advantage of the second approach is that when
eigen has to evaluate an expression it uses an Eigen::Matrix<>, so it is probably better
to only use Eigen::Matrix but I'm not 100% sure that makes a big difference especially if
we add some automatic reinterpret_cast between Eigen::Matrix and vcg::Point*....
2008-10-28 20:06:17 +00:00
Federico Ponchio
632f4842f1
Polar mode now working.
2008-10-28 16:43:56 +00:00
Paolo Cignoni
c0c76bc5b8
added Polarmode prototype (doesn't work yet)
2008-10-28 15:55:40 +00:00