Commit Graph

851 Commits

Author SHA1 Message Date
mtarini fc29465c4a Cleaned + added one-quad-per-edge schema to it. 2010-04-29 15:08:18 +00:00
Paolo Cignoni d8cfbc5e51 Modified mark/unmark of mesh elements to the new static function style 2010-04-28 07:50:30 +00:00
Paolo Cignoni 493553c5f1 cleaned up and added all the refinement strategies including catmull clark (that now crash...) 2010-04-27 14:59:12 +00:00
ganovelli 6aa09931c4 updated to comply with:
[introduction of half edges as alternative representation]

No modification should be necessary for the existing code.

most relevant changes:

creation of folder:
vcg/connectors  
vcg/connectors/hedge.h
vcg/connectors/hedge_component.h

addition to the container of half edges to the trimesh:
HEdgeContainer hedge; // container
int hn;               // number of half edges

addition of 
vcg/trimesh/update/halfedge_indexed.h
which contains:
- the functions to compute the half edge representation from the indexed  and vivecersa
- the functions to add or remove an half edge
2010-03-25 16:47:03 +00:00
ganovelli 3256d9517c updated to the new definition of mesh type [with UsedTypes] 2010-03-18 13:25:20 +00:00
ganovelli ae83ca17ed [ Changes in definition of TriMesh: PART I ]
Note for the developers: the change to make to existing projects is very little 
but strictly necessary to compile. This change IS NOT backward compliant.


==== OLD ==== way to define a TriMesh:

// forward declarations
class MyVertex;
class MyEdge;
class MyFace;

class MyVertex: public VertexSimp2 < MyVertex, MyEdge, MyFace, vertex::Coord3f,...other components>{};
class MyFace: public FaceSimp2 < MyVertex, MyEdge, MyFace, face::VertexRef,...other components>{};
class MyMesh: public TriMesh<vector<MyVertex>,vector<MyFace> >{};


==== NEW ==== way to define a TriMesh:
// forward declarations
class MyVertex;
class MyEdge;
class MyFace;

// declaration of which types is used as VertexType, which type is used as FaceType and so on...
class MyUsedTypes: public vcg::UsedType < vcg::Use<MyVertex>::AsVertexType,
                                          vcg::Use<MyFace>::AsFaceType>{};

class MyVertex: public Vertex < MyUsedTypes, vertex::Coord3f,...other components>{};
class MyFace: public Face < MyUsedTypes, face::VertexRef,...other components>{};
class MyMesh: public TriMesh<vector<MyVertex>,vector<MyFace> >{};

                                 
===== classes introduced          
[vcg::UsedType] : it is a class containing all the types that must be passed to the definition of Vertex, Face, Edge... This
class replaces the list of typenames to pass as first templates and the need to specify the maximal simplicial. So 

<MyVertex, MyEdge, MyFace  becomes <MyUsedTypes<

and 

VertexSimp2 becomes Vertex

[vcg::Use] : an auxiliary class to give a simple way to specify the role of a type

Note 2: the order of templates parameters to vcg::UsedTypes is unimportant, e.g:

class MyUsedTypes: public vcg::UsedType <vcg::Use<MyVertex>::AsVertexType,
                                         vcg::Use<MyEdge>::AsEdgeType,
                                         vcg::Use<MyFace>::AsFaceType>{};

is the same as:
class MyUsedTypes: public vcg::UsedType <vcg::Use<MyFace>::AsFaceType,
                                         vcg::Use<MyEdge>::AsEdgeType,
                                         vcg::Use<MyVertex>::AsVertexType>{};

Note 3: you only need to specify the type  you use. If you do not have edges you do not need 
to include vcg::Use<MyEdge>::AsEdgeType in the template list of UsedTypes.
==== the Part II will be a tiny change to the class TriMesh it self.
2010-03-15 10:44:40 +00:00
ganovelli cdfed059d3 [ Changes in definition of TriMesh: PART I ]
Note for the developers: the change to make to existing projects is very little 
but strictly necessary to compile. This change IS NOT backward compliant.


==== OLD ==== way to define a TriMesh:

// forward declarations
class MyVertex;
class MyEdge;
class MyFace;

class MyVertex: public VertexSimp2 < MyVertex, MyEdge, MyFace, vertex::Coord3f,...other components>{};
class MyFace: public FaceSimp2 < MyVertex, MyEdge, MyFace, face::VertexRef,...other components>{};
class MyMesh: public TriMesh<vector<MyVertex>,vector<MyFace> >{};


==== NEW ==== way to define a TriMesh:
// forward declarations
class MyVertex;
class MyEdge;
class MyFace;

// declaration of which types is used as VertexType, which type is used as FaceType and so on...
class MyUsedTypes: public vcg::UsedType < vcg::Use<MyVertex>::AsVertexType,
                                          vcg::Use<MyFace>::AsFaceType>{};

class MyVertex: public Vertex < MyUsedTypes, vertex::Coord3f,...other components>{};
class MyFace: public Face < MyUsedTypes, face::VertexRef,...other components>{};
class MyMesh: public TriMesh<vector<MyVertex>,vector<MyFace> >{};

                                 
===== classes introduced          
[vcg::UsedType] : it is a class containing all the types that must be passed to the definition of Vertex, Face, Edge... This
class replaces the list of typenames to pass as first templates and the need to specify the maximal simplicial. So 

<MyVertex, MyEdge, MyFace  becomes <MyUsedTypes<

and 

VertexSimp2 becomes Vertex

[vcg::Use] : an auxiliary class to give a simple way to specify the role of a type

Note 2: the order of templates parameters to vcg::UsedTypes is unimportant, e.g:

class MyUsedTypes: public vcg::UsedType <vcg::Use<MyVertex>::AsVertexType,
                                         vcg::Use<MyEdge>::AsEdgeType,
                                         vcg::Use<MyFace>::AsFaceType>{};

is the same as:
class MyUsedTypes: public vcg::UsedType <vcg::Use<MyFace>::AsFaceType,
                                         vcg::Use<MyEdge>::AsEdgeType,
                                         vcg::Use<MyVertex>::AsVertexType>{};

Note 3: you only need to specify the type  you use. If you do not have edges you do not need 
to include vcg::Use<MyEdge>::AsEdgeType in the template list of UsedTypes.
==== the Part II will be a tiny change to the class TriMesh it self.
2010-03-15 10:42:03 +00:00
ganovelli 9768533095 (involuntary commit reverted) 2010-03-12 14:58:02 +00:00
ganovelli 898fedcfdf ongoing 2010-02-14 10:23:28 +00:00
Paolo Cignoni 092211c82c cleaned up a bit 2009-10-27 21:43:01 +00:00
Marco Di Benedetto 58f3af4c82 2009-10-26 12:19:48 +00:00
Marco Di Benedetto d3243585c5 first commit. 2009-10-23 20:26:38 +00:00
Paolo Cignoni 144a816862 added basic filter sample for image module 2009-08-25 16:53:04 +00:00
Nico Pietroni a3eee3aa3c 2009-06-10 08:44:22 +00:00
Paolo Cignoni 143f9461dd moved (and renamed) trivial walker from apps/ to vcg/complex/trimesh/create 2009-05-18 14:19:12 +00:00
Paolo Cignoni 66b962e142 Moved simple_volume into the trivial_walker.h file. 2009-05-18 14:13:46 +00:00
Paolo Cignoni 3447c82e88 Removed a few harmless warnings 2009-03-30 20:58:18 +00:00
ganovelli 7378ad68a3 removed the (useless) template parameter to Per[XXX]DeleteAttribute 2009-03-20 10:24:13 +00:00
ganovelli 88ffec1d6a update the lates library mods (definition of edge type) 2009-01-21 17:26:48 +00:00
ganovelli aee7504a93 added base example using polygon meshes and halfedges 2008-12-19 15:37:32 +00:00
ganovelli 67219758ff added base example using polygon meshes and halfedges 2008-12-19 15:36:54 +00:00
ganovelli 497a3ed01b added base example using polygon meshes and halfedges 2008-12-19 15:36:15 +00:00
ganovelli 35d0e58149 [SIMPLEXplus promotion]
This modification removes the old way to define simplexes (already deprecated and unsupported).
In the following SIMPLEX = [vertex|edge|face|tetrahedron]

All the stuff that was in vcg/simplex/SIMPLEXplus/ has now been promoted to vcg/simplex/

Details:
- the folder vcg/simplex/SIMPLEX/with has been removed
- the file vcg/simplex/SIMPLEX/base.h has been renamed into  vcg/simplex/SIMPLEX/base_old.h 
- the content of vcg/simplex/SIMPLEXplus/ has been moved into vcg/simplex/SIMPLEX/
- the folder vcg/simplex/SIMPLEXplus/ has been removed

Actions the update the  code using vcglib:
replace <vcg/simplex/SIMPLEXplus/*> with  <vcg/simplex/SIMPLEX/*> in every include
for MESHLAB users: already done along with this commit
2008-12-19 10:43:36 +00:00
mtarini 7f113872fb Vert => Vertex 2008-11-18 17:09:26 +00:00
mtarini 6e0559be18 vert=>vertex 2008-11-12 16:50:47 +00:00
mtarini ced06f5601 First version. 2008-11-12 16:42:24 +00:00
ganovelli aecc82a589 added trimesh_attribute 2008-11-12 15:01:08 +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 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
ganovelli 2dc124d060 created. Example of use of user defined attributes 2008-10-28 09:18:52 +00:00
Paolo Cignoni 4db69febbe big replacement .Zero => .SetZero, and start of Eigen's compatibilities (currently disabled by default) 2008-10-27 14:48:14 +00:00
ganovelli 32bb3561ef [Namespaces changes]
vert->vertex


clean up of some namespaces to comply the following naming:

Complexes (3 letters namespaces):
order 0 (point cloud    ) :vrt
order 1 (edge meshes)     :edg
order 2 (triangle meshes) :tri
order 3 (triangle meshes) :tet

Simplexes (extended namespaces):
order 0 (vertex)      :vertex 
order 1 (edge)        :edge 
order 2 (triangle)    :triangle (temporarily it remains "face")
order 3 (tetrahedron) :tetrahedron
2008-09-30 11:37:41 +00:00
ganovelli 26bf0e3266 [Namespaces changes]
trimesh->tri

clean up of some namespaces to comply the following naming:

Complexes (3 letters namespaces):
order 0 (point cloud    ) :vrt
order 1 (edge meshes)     :edg
order 2 (triangle meshes) :tri
order 3 (triangle meshes) :tet

Simplexes (4 letters namespaces):
order 0 (vertex)      :vert 
order 1 (edge)        :edge 
order 2 (triangle)    :triangle
order 3 (tetrahedron) :tetrahedron
2008-09-30 10:13:58 +00:00
ganovelli a73a806d8b chenged the name of the component RT in the vertex definition (it has chenged to edgeplane)
Corrected GetClosest (to compile with gcc)
2008-09-30 10:12:51 +00:00
ganovelli 0468bab362 change from old to plus definition of simplex and
[Namespaces changes]
edge->edg

clean up of some namespaces to comply the following naming:

Complexes (3 letters namespaces):
order 0 (point cloud    ) :vrt
order 1 (edge meshes)     :edg
order 2 (triangle meshes) :tri
order 3 (triangle meshes) :tet

Simplexes (4 letters namespaces):
order 0 (vertex)      :vert 
order 1 (edge)        :edge 
order 2 (triangle)    :triangle
order 3 (tetrahedron) :tetrahedron
2008-09-30 10:10:42 +00:00
ganovelli f5c74b4b54 cheanges to comply the change of class structure in ball_pivoting.h 2008-09-30 10:09:45 +00:00
ganovelli 9deaad827d changed definiiton from old style to plus type and
[Namespaces changes]
edge->edg

clean up of some namespaces to comply the following naming:

Complexes (3 letters namespaces):
order 0 (point cloud    ) :vrt
order 1 (edge meshes)     :edg
order 2 (triangle meshes) :tri
order 3 (triangle meshes) :tet

Simplexes (4 letters namespaces):
order 0 (vertex)      :vert 
order 1 (edge)        :edge 
order 2 (triangle)    :triangle
order 3 (tetrahedron) :tetrahedron
2008-09-30 10:07:34 +00:00
ganovelli 51105e36e7 added the color to the vertex attributes 2008-09-30 10:06:17 +00:00
ganovelli 164ea33a6c [Namespaces changes]
trimsh->tri

clean up of some namespaces to comply the following naming:

Complexes (3 letters namespaces):
order 0 (point cloud    ) :vrt
order 1 (edge meshes)     :edg
order 2 (triangle meshes) :tri
order 3 (triangle meshes) :tet

Simplexes (4 letters namespaces):
order 0 (vertex)      :vert 
order 1 (edge)        :edge 
order 2 (triangle)    :triangle
order 3 (tetrahedron) :tetrahedron
2008-09-30 10:05:54 +00:00
Paolo Cignoni 774ce56dea Solved small compilation issues. 2008-09-29 10:11:21 +00:00
Federico Ponchio d82f056032 Used to test last modification to quaternions. 2008-07-23 15:10:56 +00:00
Paolo Cignoni c1eb289181 added a useful mac-only config (no bundle for command line tools please) 2008-06-20 15:12:56 +00:00
Paolo Cignoni ae26b6103d Deleted hopefully the last trash files that were incorrectly added by mistake by Giuseppe Turini (who had svn access removed). PLEASE TAKE A BIT OF CARE BEFORE ISSUING A RANDOM COMMIT. 2008-06-04 12:53:29 +00:00
Paolo Cignoni 1f2b207bf2 Deleted all the rest of the orrible trash directories that were incorrectly added by mistake by Giuseppe Turini (who had svn access removed). PLEASE TAKE A BIT OF CARE BEFORE ISSUING A RANDOM COMMIT. 2008-06-04 12:48:51 +00:00
Paolo Cignoni fcc8797035 2008-06-04 09:26:00 +00:00
Paolo Cignoni 07098f87b9 added saving of quality/confidence 2008-05-29 15:10:02 +00:00
Paolo Cignoni a5e0521569 updated to the new "plus" style and corrected minor gcc errors 2008-05-29 13:39:31 +00:00
granzuglia ae12059ff8 removed minor bugs 2008-05-06 16:05:20 +00:00
granzuglia affcaabe96 first version 2008-05-06 15:57:17 +00:00
granzuglia 655207e1dd added UpdateFFAdjacency 2008-05-06 15:56:29 +00:00
granzuglia 6f7899846d added JumpingPos sample 2008-05-06 15:38:48 +00:00
granzuglia 647985b802 first version 2008-05-06 15:07:57 +00:00
granzuglia 5f300f1683 first version 2008-05-06 14:41:54 +00:00
granzuglia 4d435998f1 first version 2008-05-06 14:09:50 +00:00
granzuglia a02e2a7310 first version 2008-05-06 13:17:15 +00:00
granzuglia 89d3fe5676 removed default constructors from mesh classes 2008-05-06 13:16:52 +00:00
granzuglia 70bad7207c newest version using plus components 2008-05-06 13:00:25 +00:00
Federico Ponchio 12b6eab241 Updated to QT 4.3 2008-02-24 16:09:42 +00:00
Paolo Cignoni 16b3a3e11a missing ending newline 2008-02-22 21:00:22 +00:00
Paolo Cignoni 1736e204dd switched to the plus types 2007-12-13 00:31:04 +00:00
Paolo Cignoni 6427910afe updated gennormal path 2007-12-13 00:29:54 +00:00
Paolo Cignoni d5cd26dfc3 cleaned and refactored a little 2007-12-13 00:21:55 +00:00
Paolo Cignoni 416dedd484 mac options 2007-12-03 00:08:28 +00:00
Paolo Cignoni da55f73367 Adapted for wrap/qt/trackball.h 2007-11-01 11:33:06 +00:00
Paolo Cignoni 905795302a Initial release. 2007-10-18 08:52:06 +00:00
Paolo Cignoni 3170af4d5e Removed becouse the correct version is now under vcg/math 2007-05-22 21:22:09 +00:00
Paolo Cignoni 513e99d9ac Removed becouse the correct version is now under vcg/math 2007-05-22 21:09:57 +00:00
Paolo Cignoni 558f9baddc Corrected gcc compiling issues 2007-05-17 09:39:42 +00:00
ganovelli 1f317f011f gestione double click 2007-05-17 09:06:44 +00:00
Paolo Cignoni 28b75a4649 Version 4.07. 2007-05-11 10:32:52 +00:00
Paolo Cignoni 979b237e54 Initial version 2007-05-10 10:49:35 +00:00
Federico Ponchio f01483d94f Created. 2007-05-10 08:36:46 +00:00
ganovelli 62cde7724b added plus types version (#ifdef _PLUS_TYPES_ to use it ). 2007-05-04 16:50:23 +00:00
Paolo Cignoni f1c14c2a33 First rel 2007-03-22 11:08:13 +00:00
Paolo Cignoni 3605747f0d Updated to the new version of quadric that requires orderedEdge constructor 2007-03-22 10:38:52 +00:00
ganovelli 10384cd0df SDL/SDL.h changed to SDL.h 2007-03-19 17:45:12 +00:00
ganovelli f7a3cb4755 some more comment added 2007-03-17 13:22:55 +00:00
granzuglia e64f8c1bd6 updated version number 2007-03-16 15:27:48 +00:00
Paolo Cignoni a0b7fa638c needed a pro file 2007-03-08 22:51:34 +00:00
Paolo Cignoni f79adff0da Changed the include order and the order in which cleaning filters are applied. 2007-03-08 22:49:35 +00:00
Paolo Cignoni e19402c171 Added Rad to the NormalThr Option 2007-02-25 09:21:21 +00:00
Paolo Cignoni 41dfe83e61 *** empty log message *** 2007-02-01 06:30:11 +00:00
Paolo Cignoni ee9dd66e6f Outdated confusing projects 2007-02-01 06:11:06 +00:00
Paolo Cignoni 48049d1e4b Added refinment. 2007-01-31 15:17:36 +00:00
Paolo Cignoni 33d860cbb9 Bug fix 2007-01-31 11:46:12 +00:00
Paolo Cignoni 680279143c *** empty log message *** 2007-01-18 11:18:28 +00:00
Paolo Cignoni 237738785b Changed include order and removed syntax errors 2007-01-18 01:35:31 +00:00
Paolo Cignoni 8b2578e208 removed a wrong template specification for mac gcc compiling 2007-01-18 01:34:07 +00:00
Paolo Cignoni 9e847c9ddd Added a missing include allocate.h 2007-01-18 01:32:11 +00:00
Paolo Cignoni a07b6e638a Added relaxation. 2007-01-15 12:46:25 +00:00
ganovelli b88a447671 added VFIterator (Pos is disabled in this version) 2006-12-10 23:29:57 +00:00
ganovelli cbe27a6f0e cvs problem during frist committ. repeated 2006-12-10 22:17:18 +00:00
ganovelli 812ce8a9b1 first draft. Working but ugly interface. right mouse of the button to place a pos, then prss buttons. 2006-12-10 19:55:09 +00:00
Paolo Cignoni 8e4a9f2011 Added flipping optimization, it compiles but does not work well... 2006-12-06 00:14:33 +00:00
ganovelli c10421aa6b put back Occ-related lines. Types Occ working 2006-12-04 11:10:02 +00:00
Paolo Cignoni 14dc0c2a0f Cleaned up and added option on the size of the holes to be closed 2006-12-01 21:25:23 +00:00
Paolo Cignoni e3e88b010d Added Callback and consistency tests 2006-12-01 08:25:53 +00:00
Paolo Cignoni 5ec748e770 Added trimesh_hole 2006-12-01 08:25:31 +00:00
Paolo Cignoni 7b0c0f6728 Added update normal per vertex. 2006-11-29 15:17:39 +00:00
Paolo Cignoni 2954c88fef Now compiles on gcc under linux. 2006-11-24 10:42:39 +00:00
Paolo Cignoni 2a84b52bc8 Bug-fix 2006-11-22 15:37:50 +00:00
Paolo Cignoni 4ca2f23a10 Clean useless code. 2006-11-22 14:38:16 +00:00
Paolo Cignoni 1baabf65de First working release 2006-11-22 13:42:06 +00:00
Paolo Cignoni 0db8ac28ba Update to the latest version of the trackball 2006-11-21 17:44:06 +00:00
Paolo Cignoni c22d64e65b Version 1.22 2006-11-07 07:57:26 +00:00
ganovelli 38a8596b2c added vert::bitflags to ocf (needed). commented out the lines about occ which is not currently up to date 2006-10-27 13:59:54 +00:00
Paolo Cignoni f786e138ee Added possibility to use Octree as search structure: 2006-10-25 12:40:19 +00:00
Federico Ponchio fe16c59ced Added callback. 2006-10-16 14:28:07 +00:00
Paolo Cignoni f24e4b2da1 correct name in the help line 2006-10-16 08:50:11 +00:00
Federico Ponchio eb691cb768 *** empty log message *** 2006-10-14 16:20:06 +00:00
Federico Ponchio d3aedf18ce *** empty log message *** 2006-10-14 12:04:42 +00:00
Federico Ponchio 729f141ef2 *** empty log message *** 2006-10-13 14:06:58 +00:00
Federico Ponchio 9b09f1a95c *** empty log message *** 2006-10-13 13:35:39 +00:00
Paolo Cignoni 7f3c65238c updated samples to the vertexplus faceplus style 2006-10-13 13:17:23 +00:00
Paolo Cignoni 425a82938f added ball pivoting sample 2006-10-13 13:16:46 +00:00
Paolo Cignoni 05df93e1f7 Heavily restructured. Now it use the new faceplus classes. 2006-10-10 10:01:11 +00:00
Paolo Cignoni a5a1088235 Added Edgemesh sample 2006-10-10 09:26:04 +00:00
Paolo Cignoni d59c8cdc49 Added new version of pasodoble smoothing 2006-09-25 09:41:41 +00:00
Massimiliano Corsini 5d7753b3cf *** empty log message *** 2006-08-29 12:58:40 +00:00
Massimiliano Corsini 33bd01e13e First working version 2006-08-29 12:58:31 +00:00
Nico Pietroni d3a98af017 *** empty log message *** 2006-07-26 08:07:31 +00:00
Paolo Cignoni 83a8f5efa3 Added DoubleFace management 2006-05-21 06:40:31 +00:00
Paolo Cignoni 323c43074a *** empty log message *** 2006-05-18 13:58:11 +00:00
Paolo Cignoni 3f78d3f970 Updated to the new remove zero area syntax 2006-05-16 21:55:28 +00:00
Paolo Cignoni 5988632df5 First working version of the Clustering Sample 2006-05-16 21:54:50 +00:00
Paolo Cignoni a3ab75da33 added missing Include 2006-05-03 21:22:39 +00:00
Paolo Cignoni c5f4a75533 small GCC compiling issues 2006-04-20 08:30:27 +00:00
Paolo Cignoni ae0d30d3e5 added attributes 2006-03-29 09:27:32 +00:00
Paolo Cignoni 2705825f50 Added managemnt of non critical errors 2006-03-29 09:27:07 +00:00
Massimiliano Corsini da79d2a488 Remove XML documentation make it an undocumented feature 2006-03-29 08:38:47 +00:00
Massimiliano Corsini 2d07c3bcbf fix typo 2006-03-29 08:17:56 +00:00
Paolo Cignoni cb236089ad V 1.21 2006-03-27 07:33:28 +00:00
Paolo Cignoni deefb4b699 Added LoadMask 2006-03-27 07:15:59 +00:00
Paolo Cignoni 8ec84be346 moved to generic export.h 2006-03-27 04:17:07 +00:00
Paolo Cignoni e4da618c3e *** empty log message *** 2006-03-27 04:15:55 +00:00
Massimiliano Corsini 5de5d58ed8 Fix load mask initialization 2006-02-28 14:54:10 +00:00
Massimiliano Corsini dd39e70c72 Adjust SVG export 2006-02-15 15:39:04 +00:00
Massimiliano Corsini 285b33737f remove junk code 2006-02-13 16:31:28 +00:00
Massimiliano Corsini d937398944 First working version 2006-02-13 16:17:06 +00:00
Massimiliano Corsini a148df81a0 First working version 2006-02-13 16:15:03 +00:00
Massimiliano Corsini d024fc40ae Add trimesh_intersection project 2006-02-10 09:41:15 +00:00
Massimiliano Corsini d49fae8d52 Add normal, color, texture information 2006-02-09 16:12:27 +00:00
Massimiliano Corsini f7e9d994ae Fix mesh info structure initialization 2006-02-06 12:59:12 +00:00
Massimiliano Corsini e304e42077 fix boolean entry type 2006-01-27 14:18:07 +00:00
Massimiliano Corsini a451687a8d remove junk code 2006-01-27 14:17:10 +00:00
Massimiliano Corsini 010d994711 fix signed/unsigned mismatch 2006-01-27 13:35:51 +00:00
Massimiliano Corsini b2d9990334 fix memory leak in NodeValue 2006-01-27 13:35:10 +00:00
Massimiliano Corsini 91b71e0589 Updated 2006-01-27 09:49:09 +00:00
Massimiliano Corsini c232ad10e9 Enable RTTI 2006-01-27 09:47:13 +00:00
Massimiliano Corsini 64685e7a01 Updated 2006-01-27 09:46:22 +00:00
Massimiliano Corsini 0d37b22c0a Update old-cast style
Add missing break in switch
2006-01-27 09:15:14 +00:00
Massimiliano Corsini 7f03b4be1b Enable RTTI 2006-01-27 08:56:42 +00:00
Massimiliano Corsini 9580823cd5 fix typo 2006-01-26 16:29:21 +00:00
Massimiliano Corsini 2e94f9b4f7 fix protegekb tag 2006-01-26 16:14:48 +00:00
Paolo Cignoni f92675c133 Added box clipping and scan options 2006-01-22 17:13:17 +00:00
Paolo Cignoni 381ce72a56 Corrected use of Area with the unambiguous DoubleArea 2006-01-22 10:06:23 +00:00
Paolo Cignoni 4c0b701ea5 *** empty log message *** 2006-01-11 16:11:16 +00:00
Paolo Cignoni ff862b77cd Added print of removed dup vert 2006-01-11 15:43:18 +00:00
Paolo Cignoni efa1e436aa Added trimesh_join sample 2006-01-11 11:13:43 +00:00
Paolo Cignoni 6dca4be1ab Changed ply::PlyMask to io::Mask 2006-01-10 13:20:42 +00:00
Nico Pietroni 34cce21f3a *** empty log message *** 2006-01-03 11:18:57 +00:00
Paolo Cignoni ac8493bbad Splitted IsComplexManifold in IsTwoManifoldFace and IsTwoManifoldVertex 2005-12-29 12:27:37 +00:00
Massimiliano Corsini 73c418cc05 Fix indentation 2005-12-21 14:46:46 +00:00
Massimiliano Corsini 50cba1b322 Add volume between features list 2005-12-21 14:41:49 +00:00
Massimiliano Corsini 76eebb69d3 updated 2005-12-21 14:40:31 +00:00
Massimiliano Corsini 1c95801da9 Change defs.h directory 2005-12-21 14:28:52 +00:00
Massimiliano Corsini d938165038 Out the number of self intersection 2005-12-21 14:11:59 +00:00
Massimiliano Corsini 3e5c6655d6 Adjust date 2005-12-21 13:57:14 +00:00
Massimiliano Corsini cacc6cfd6c first version of the complete history 2005-12-21 13:56:43 +00:00
Massimiliano Corsini 93ff3e1b11 Add missing details 2005-12-21 13:54:19 +00:00
Massimiliano Corsini 509a684d11 Modify help message 2005-12-21 13:37:14 +00:00
Massimiliano Corsini a2c575bb85 First history 2005-12-21 13:33:17 +00:00
Massimiliano Corsini c19e394e21 Re-add save xml feature 2005-12-21 13:26:58 +00:00
Paolo Cignoni 276c9d8300 first version 2005-12-21 13:20:26 +00:00
Massimiliano Corsini 2e0dc16fba Move duplicated vertices routine
Modify genus computation call
2005-12-21 13:10:10 +00:00
Massimiliano Corsini 0f00bb720e Modify html table 2005-12-20 14:44:10 +00:00
Massimiliano Corsini 42695acbd0 Remove unuseful Clear function 2005-12-20 13:29:41 +00:00
Marco Callieri 326f12749b first working release. since each ptx can contain multiple items and there are lot of variants, there are many options. default values will work with most of the files. 2005-12-19 17:58:50 +00:00
Massimiliano Corsini 47da0f6a24 Disable xml output temporarily 2005-12-19 15:00:53 +00:00
Massimiliano Corsini 449f8c6bfb Fix array allocation 2005-12-19 14:56:29 +00:00
Massimiliano Corsini 0d38d59420 Add filename attribute
Add verbose flag
2005-12-19 14:38:38 +00:00
Massimiliano Corsini 1c336dd097 Remove duplicated XMLTree (and defs.h) 2005-12-19 14:14:57 +00:00
Massimiliano Corsini ebf6ae99a4 Add html output support 2005-12-19 11:35:13 +00:00
Massimiliano Corsini 1d99071cc2 Add manifold check to some properties 2005-12-16 11:16:36 +00:00
Massimiliano Corsini a7e2f058f9 Add vertex-face topology 2005-12-15 11:20:00 +00:00
Massimiliano Corsini ef0b97e97a Adjust comments 2005-12-14 14:05:37 +00:00
Massimiliano Corsini 4911a7acca Adjust options description 2005-12-14 12:16:13 +00:00
Massimiliano Corsini 0838ed47ca Re-add clean mesh saving feature 2005-12-14 12:15:37 +00:00
Massimiliano Corsini a2bdeea8f6 Restructuring code 2005-12-13 15:46:30 +00:00
Massimiliano Corsini 4d691096e2 Adjust help string 2005-12-13 15:45:51 +00:00
Paolo Cignoni 7032bf3d73 Changed names of clean function and tested inertia.h 2005-12-12 12:09:08 +00:00
Paolo Cignoni 9f4c253caf minor updated 2005-12-12 12:08:02 +00:00
Massimiliano Corsini ef49736885 Minor changes 2005-12-12 11:29:21 +00:00
Massimiliano Corsini 0aa18be24e change options 2005-12-12 11:26:54 +00:00
Massimiliano Corsini 0fc829e2b8 Fix indentation 2005-12-12 10:48:16 +00:00
Massimiliano Corsini 77b69c8490 Unified definitions file 2005-12-12 10:14:53 +00:00
Paolo Cignoni 0dcbecda44 removed a couple unnecessary includes 2005-12-06 08:33:37 +00:00
Paolo Cignoni 4ef2e4aeae Reformatted 2005-12-02 00:49:50 +00:00
Paolo Cignoni 706d22e070 Enforced consistence of const parameters among all the funcs 2005-12-02 00:47:15 +00:00
Paolo Cignoni 688af7646e Ported to the vertexplus style 2005-12-02 00:46:12 +00:00
Paolo Cignoni 4469bebbfe Refactored the sample code.
Shortened a lot and removed all unused unnecessary stuff
2005-11-22 17:50:15 +00:00
Paolo Cignoni 8725c0bccf Sample datasets 2005-11-22 15:26:43 +00:00
Paolo Cignoni 302b42e887 Executable 2005-11-22 15:18:13 +00:00
Paolo Cignoni a5b417b904 Third Release of TriMeshInfo 2005-11-22 15:05:02 +00:00
Paolo Cignoni 172d9dd678 Sample datasets 2005-11-22 15:03:55 +00:00
Paolo Cignoni db522519df Second Release of TriMeshInfo with also some Sample DataSets 2005-11-22 15:01:34 +00:00
Paolo Cignoni 29718ca551 First release of TriMeshinfo 2005-11-22 14:58:57 +00:00
Paolo Cignoni 37a5fc317c Test case for TrimeshInfo 2005-11-22 14:54:05 +00:00
Paolo Cignoni 4ba6feba18 Better Histogram description 2005-11-17 00:58:28 +00:00
Paolo Cignoni 8b4ceb6dc4 Changed include order
removed clean::initialize
2005-11-17 00:42:03 +00:00
Paolo Cignoni 213fe182d5 Minor changes 2005-11-16 16:45:51 +00:00
Paolo Cignoni b6bf591ea3 Changed name of the component from <Flag> to <BitFlags> 2005-11-16 15:59:46 +00:00
Paolo Cignoni 304937ada9 removed unused args name in main to remove warnings 2005-11-14 09:29:32 +00:00
Paolo Cignoni a5d8bd82ac Heavily restructured the code of Trimeshinfo.
Now divided the collecting part from the reporting one (xml and ascii)
2005-11-14 09:21:07 +00:00
Paolo Cignoni fe97d7b970 No more useful 2005-11-13 08:05:17 +00:00
Paolo Cignoni a19a728a9f Added a missing proto for Occ 2005-11-13 07:26:52 +00:00
Paolo Cignoni 014e00da52 Added missing include flags 2005-11-12 18:20:50 +00:00
Paolo Cignoni c61676a906 Improved a lot! 2005-11-12 18:20:25 +00:00
Paolo Cignoni ae107eef60 Version 1.0
Added management of point set, correct bug in printing on the screen,
2005-11-12 06:48:47 +00:00
Paolo Cignoni 2624c550bd Added Enhancement, removed type warnings,
started to refactor code in order to remove the unnecessary generality of the class.
2005-11-12 06:47:18 +00:00
Paolo Cignoni e1fb47b786 Version 1.0 2005-11-12 06:45:41 +00:00
Paolo Cignoni 7d402e258d Changed GetClosest -> GetClosestFace 2005-11-12 06:44:29 +00:00
Paolo Cignoni a2ba75b331 better description of -c param 2005-11-12 06:43:20 +00:00
Nico Pietroni f8af64df99 compiled with new version of spatial hashing 2005-11-07 14:12:42 +00:00
Paolo Cignoni aca3eeec83 No more used... 2005-11-04 16:23:05 +00:00
Paolo Cignoni a1b8cb081c Removed Debug option 2005-11-04 15:37:58 +00:00
ganovelli 37e4bcb367 Aggiunta versione Occ, versione compilata solo su microsoft 2005-10-15 16:20:09 +00:00
Paolo Cignoni 0896041baa First working version of optional sample 2005-10-14 17:52:07 +00:00
Paolo Cignoni b9d2016e62 added trimesh optional 2005-10-14 17:50:41 +00:00
Paolo Cignoni 05340422a8 Moved all the main functions inside clean.h 2005-10-11 16:03:41 +00:00
ganovelli 76617c2a7f *** empty log message *** 2005-10-06 10:08:51 +00:00
Paolo Cignoni ab2aa78c54 Cleaned up the code, added missing options, still with some bugs (optimal placement)
Still some issue on the heap size and on the safe update options.
Changed printing style
2005-10-03 00:00:31 +00:00
Paolo Cignoni 6525a2a052 *** empty log message *** 2005-10-02 23:26:38 +00:00
Paolo Cignoni 0a45bfe268 Changed the core for distance computation.
Current version uses the lib flexible search structures.
Now the comparison can be done exploiting a static uniform grid,
a hashed grid or a hierarchy of AA box.
2005-10-02 23:11:50 +00:00
Paolo Cignoni 283e6b822d Version 4.06, Added possibility of using three different search structures UG Hash and AABB 2005-10-02 23:11:00 +00:00
Paolo Cignoni a66d132c9c *** empty log message *** 2005-10-01 21:45:07 +00:00
Paolo Cignoni f380895202 *** empty log message *** 2005-10-01 21:24:00 +00:00
Paolo Cignoni 1610300e86 Fixed manifold Test 2005-09-30 15:48:46 +00:00
Paolo Cignoni 730c9a68bd Problem: Text not aligned 2005-09-30 14:13:01 +00:00
Paolo Cignoni 678ac8a700 Fixed Manifold Test 2005-09-30 13:29:40 +00:00
Paolo Cignoni 3f0170846e Fixed code related to creation o fthe XML file 2005-09-29 14:48:15 +00:00
Marco Di Benedetto 83eb240e34 Changed ray-triangle functor. 2005-09-29 11:52:22 +00:00
Marco Di Benedetto 21d8967063 First Commit. 2005-09-28 20:14:53 +00:00
Paolo Cignoni 895fa1dd37 Fixed some printout not alligned 2005-09-28 13:57:09 +00:00
Paolo Cignoni 541c26e601 Added possibility of saving File in OFF format 2005-09-28 10:46:04 +00:00
Paolo Cignoni ab22877d1d Initial Relase 2005-09-21 10:29:33 +00:00
Paolo Cignoni 8de0a9f67d Changed file name to uniform with other solution projects,
before was main.cpp
2005-09-20 10:15:27 +00:00
Paolo Cignoni 8ae6621524 added optimization 2005-09-16 14:26:33 +00:00
Paolo Cignoni d3cd9930d2 Partial adding of AABB trees, still not working... 2005-09-16 11:55:18 +00:00
Paolo Cignoni f8a9645007 removed wrong %v in vertex number printing 2005-09-16 11:52:14 +00:00
Paolo Cignoni 193b7f8b49 Added scalar type specification in the typedef of MetroMeshGrid 2005-08-26 10:42:47 +00:00
Nico Pietroni a506fdf8c7 minor changes 2005-07-18 15:46:23 +00:00
Paolo Cignoni d34f797d3f Changed some feature in XMLPrint 2005-07-15 20:26:48 +00:00
Paolo Cignoni 4d5a938fb5 Added XMLTree functions: STILL TO FIX some tags 2005-07-15 20:23:39 +00:00
Paolo Cignoni c17ca589f0 File definition added 2005-07-15 11:30:26 +00:00
Paolo Cignoni 09a5372051 Corrected many small c++ errors reported by gcc
removed unused variables
changed a stack of iterator into a stack of face pointers
2005-07-01 11:29:56 +00:00
Nico Pietroni b855e951d7 updated with new spatial hashing version 2005-06-15 10:09:41 +00:00
Nico Pietroni 1fa8b3ec4b *** empty log message *** 2005-04-26 09:20:15 +00:00
Nico Pietroni b7fb150c46 *** empty log message *** 2005-04-22 09:23:09 +00:00
Nico Pietroni 51040fd364 added term to internal force in order to deny area=0 for each face. 2005-04-21 12:24:41 +00:00
Nico Pietroni ab6ca78ee1 minor changes 2005-04-20 15:20:13 +00:00
Federico Ponchio a603f100c8 adding disk_tri 2005-04-14 16:19:34 +00:00
Federico Ponchio 7d982c7cf5 addind dist tri 2005-04-13 14:01:17 +00:00
Nico Pietroni d231e04417 minor changes 2005-04-11 09:26:22 +00:00
Federico Ponchio a5becc1adc *** empty log message *** 2005-04-04 14:27:54 +00:00
Paolo Cignoni 4679fecf83 Release 4.05
Added saving of Error Histogram
2005-04-04 10:47:26 +00:00
Paolo Cignoni 84d860f8f8 Release 4.05
Added saving of Error Histogram
2005-04-04 10:36:36 +00:00
Federico Ponchio 9c05ca5f01 Changes in normal calculation. 2005-03-17 19:12:25 +00:00
Paolo Cignoni 04542fc046 added info rc 2005-03-15 16:17:45 +00:00
Federico Ponchio c453e4da79 *** empty log message *** 2005-03-02 15:39:19 +00:00
Federico Ponchio 85280f97f0 NexusMT -> Nexus 2005-03-02 15:12:50 +00:00
Federico Ponchio b3205c57d2 created 2005-03-02 15:11:31 +00:00
Federico Ponchio 8b79612c1f Added nxs2ply 2005-03-02 14:52:29 +00:00
Federico Ponchio ba729ee777 Extraction rewrittten (to fix recusive problems). 2005-03-02 10:40:18 +00:00
Federico Ponchio 5b922e3d32 Added line intersection 2005-03-01 11:21:20 +00:00
Federico Ponchio 98d30b10cf nothing really 2005-03-01 11:20:22 +00:00
Federico Ponchio 51437a5f23 *** empty log message *** 2005-02-22 14:42:29 +00:00
Federico Ponchio fad0a309c2 created 2005-02-22 14:36:19 +00:00
Federico Ponchio e8ec8db1ed *** empty log message *** 2005-02-22 14:35:53 +00:00
Federico Ponchio 02a1e6f6b0 debug and mostly vertex unifying across borders
(still not perfect... :P)
2005-02-22 14:20:45 +00:00
Federico Ponchio ed2d3c823b Debug, cleaning and optimization. 2005-02-22 10:38:17 +00:00
Federico Ponchio 487f113015 some culling bug. 2005-02-21 20:49:35 +00:00
Federico Ponchio c2df026728 i already fixed this bug. I hate you cvs. 2005-02-21 19:05:58 +00:00
Federico Ponchio 901a4bba37 Created. 2005-02-21 18:26:37 +00:00
Federico Ponchio 00d5475c81 debug debug debug 2005-02-21 17:55:49 +00:00
Federico Ponchio 0a02f99ecf *** empty log message *** 2005-02-21 17:06:19 +00:00
Federico Ponchio 0ccff41441 cleaning (a bit more). 2005-02-20 19:49:44 +00:00
Federico Ponchio 80ddbed065 cleaning. 2005-02-20 18:07:01 +00:00
Federico Ponchio a99a702c9c Less memory x extraction. (removed frags) 2005-02-20 00:43:24 +00:00
Federico Ponchio e9932cfb95 History quick by default. 2005-02-19 17:14:02 +00:00
Federico Ponchio eed1577b2e Minor changes (visited and Cell) 2005-02-19 16:22:45 +00:00
Federico Ponchio 2bbfa50b0c Small opt. 2005-02-19 14:00:43 +00:00
Federico Ponchio c532f14569 Debug... 2005-02-19 12:06:55 +00:00
Federico Ponchio 9ce3dba5f7 Patch generalized and small fixes. 2005-02-19 10:45:05 +00:00
Federico Ponchio 507dabb528 created 2005-02-18 13:05:19 +00:00
Federico Ponchio a61bf20e4c Added patch reordering. 2005-02-18 13:04:13 +00:00
Federico Ponchio 2f2053878b Optimized BuildLevels. 2005-02-17 16:40:35 +00:00
Federico Ponchio 5fb9d84548 Reorderes statistics a bit. 2005-02-17 15:39:44 +00:00
Federico Ponchio 12258dcd25 Full screen options... 2005-02-17 14:02:03 +00:00