Commit Graph

889 Commits

Author SHA1 Message Date
Paolo Cignoni 604bc3903f 2013-11-25 13:12:09 +00:00
Paolo Cignoni 0bf3377f67 Rewrote sample for voronoi sampling.
Now it also delete short edges and triangulate the regions.
2013-10-09 09:20:21 +00:00
Paolo Cignoni cc52ce5439 Rewrote sample for voronoi sampling. Now it also fix some vertexes just to show how to constrain some vertices. 2013-10-03 14:33:47 +00:00
Paolo Cignoni 18dbdc8fb2 Added another pointcloud simplification approach. 2013-09-11 13:34:02 +00:00
Paolo Cignoni e04875d33d Added sample for point cloud subsampling 2013-09-11 11:08:23 +00:00
Paolo Cignoni de2738a7c3 Updated to the recent changes 2013-09-10 10:56:23 +00:00
Paolo Cignoni a20f579018 updated to the func name changes in Stat 2013-09-10 10:55:17 +00:00
Paolo Cignoni eada2c02db First version of the voronoi sampler 2013-07-26 12:16:02 +00:00
Paolo Cignoni 33bab2157f removed useless include from the tridecimator sample 2013-07-23 07:37:29 +00:00
Paolo Cignoni 5e36e051a4 improved comments and corrected a small bug in the topology sample 2013-07-23 07:36:40 +00:00
Paolo Cignoni ce0dfc02d2 minor changes to the samples, removed harmless warnings, updated interfaces 2013-07-23 07:33:48 +00:00
Paolo Cignoni 1c4e43955b Added new sample for voronoiclustering 2013-07-05 14:21:48 +00:00
Paolo Cignoni de332065d1 Added the feature aware poisson disk sampling example 2013-07-01 14:09:40 +00:00
Paolo Cignoni 880e617233 First Sample to use the voronoi based paramterizer 2013-04-16 15:20:05 +00:00
Paolo Cignoni de7b61b7e5 Corrected a EnableWedgeTex into EnableWedgeTexCoord 2013-04-16 15:15:33 +00:00
Paolo Cignoni af942bc503 added the old small original samples of metro 2013-04-15 20:59:56 +00:00
Paolo Cignoni 14d7fc5bff spurius file of doubtful utility. 2013-04-15 20:17:43 +00:00
Paolo Cignoni 5928ca28b6 Updated the generic packing sample and added a sample that (partially) repack textures of a mesh using the new packer 2013-03-26 11:33:17 +00:00
Paolo Cignoni fce6ab1138 Added a sample to show the techniques to repack parametrizations 2013-03-25 13:19:22 +00:00
Paolo Cignoni c4fde3e879 Updated the spacepacker sample to the new interfaces for dumping, creating random outlines etc 2013-03-25 13:13:28 +00:00
Paolo Cignoni e94cfb5a43 Refactored a bit the extended marching cube core. Cleaned up a bit the trivial walker to be used by both of them. Updated the sample for marching cube. 2013-03-22 17:06:41 +00:00
Paolo Cignoni f156a5a82c Updated version of the oldpolyrect packer. Reasonably extended to multiple domain. To be tested/replaced 2013-03-13 19:09:50 +00:00
ganovelli 5c7608030f updated 2013-03-08 09:07:25 +00:00
Paolo Cignoni 55d278cdff updated to the last changes of the library (standardization of naming Vertex->PerVertex) 2013-02-20 21:21:49 +00:00
ganovelli 8c998ccd11 vcg::tri::Allocate<MESH>::Get*Attribute(m,name);
has CHANGED!

Before it was returning a valid handle to the attribute
IF it existed, otherwise the handle was invalid.
 
Now it always returns a valid handle to the attribute,
by creating the attribute name if it did not exist or returning
the handle to it if it was already there.

ALl the code using Get*Attribute  has been changed accordingly.
2013-01-30 17:18:55 +00:00
Paolo Cignoni 794f2f27a7 Small Change of the Trackball apply interface. It does no more require a bool to specify if the trackball icon has to be drawn because it is always wrong to draw the trackball at the apply time (two reasons, antialiasing and transparency and zbuffer preservation) So now the standard call is just Apply() without the useless bool parameters.
Updated also all the vcg samples using the trackball
2013-01-28 15:15:14 +00:00
Paolo Cignoni 6990ec48d3 Added sample for point matching 2012-11-22 23:30:42 +00:00
Paolo Cignoni 7a8aba311b harmless gcc warnings in the samples 2012-11-10 16:57:26 +00:00
Paolo Cignoni 302e8130b0 Added Geodesic Sample 2012-11-07 01:16:21 +00:00
Paolo Cignoni c72396e6f7 Cleaned up the pro of two sample 2012-11-05 10:10:33 +00:00
Paolo Cignoni b6d198362c Small changes to the compactVector (added a check on empty vectors) and improved the sample on allocation. 2012-10-31 06:58:08 +00:00
Paolo Cignoni fe95eeca43 Improving Documentation: removed a ton of doxygen warnings. Cleared a bit the groups structure, added a few comments to allocator 2012-10-26 06:16:15 +00:00
Paolo Cignoni 6c3d86d448 Still Improving the documentation. 2012-10-25 23:52:48 +00:00
Paolo Cignoni a90b24dca5 Improved documentation... 2012-10-25 23:40:51 +00:00
Paolo Cignoni fc5a0216ac Improved documentation about allocation. Added sample on allocation. 2012-10-25 22:53:33 +00:00
Paolo Cignoni bf7511c68b removed useless include from some samples 2012-10-25 21:18:49 +00:00
Paolo Cignoni b50b1e88c3 Still improving documentation 2012-10-25 07:20:06 +00:00
Paolo Cignoni 5adb83c8c9 Added kdtree sample and updated a bit the comments of the other samples 2012-10-24 09:40:15 +00:00
Paolo Cignoni c87cd495de Rewrote of the Fitting to plane functions. Added Weighted version and sample 2012-10-22 18:27:30 +00:00
ganovelli afc883bfc1 removed 2012-10-19 15:08:37 +00:00
Paolo Cignoni 75122cd193 Improved comments and interface of perlin noise color 2012-10-19 12:32:05 +00:00
Paolo Cignoni d81d14189c Still improving doxygen base docs and samples... 2012-10-19 11:48:33 +00:00
Paolo Cignoni a88964b4cd Small changes to quadrangulator 2012-10-18 16:49:26 +00:00
Paolo Cignoni deea64827a Small changes to the pro of quadrangulator 2012-10-18 16:47:38 +00:00
Paolo Cignoni c699766356 Completed the (partially failed) move of the MIQ folder 2012-10-18 16:31:08 +00:00
Paolo Cignoni 0282aafd90 2012-10-18 16:28:50 +00:00
Paolo Cignoni bba85aeddb Renamed the miq into quadrangulator 2012-10-18 16:21:55 +00:00
Paolo Cignoni e641f6f44c removed no more used files 2012-10-18 16:06:09 +00:00
Paolo Cignoni 5ba6675838 Cleaning up the quadrangulator application 2012-10-18 16:03:57 +00:00
Paolo Cignoni 51534fc79a Moved unsupported vcg app into the apposite folder 2012-10-18 12:48:09 +00:00
Nico Pietroni 154e88ee21 first release version 2012-10-18 00:42:37 +00:00
Paolo Cignoni c83fd4d7bb Renamed as standard the sample file names 2012-10-17 05:15:58 +00:00
Paolo Cignoni a25d0197a9 Moved unsupported vcg app into the apposite folder 2012-10-16 09:32:39 +00:00
Paolo Cignoni 8e5d2c1140 Moved unsupported vcg app into the apposite folder 2012-10-16 09:29:06 +00:00
Paolo Cignoni b17079c7b9 Moved unsupported vcg app into the apposite folder 2012-10-16 09:23:55 +00:00
Paolo Cignoni 9ae5490a8b Still improving the documentation of the samples 2012-10-16 09:08:19 +00:00
Paolo Cignoni bebfa3eb8b Removed using namespace vcg from samples 2012-10-15 14:09:24 +00:00
Paolo Cignoni c40c1b7f6b Changed all vn,fn into VN(),FN() in all the samples.
Shortened the curvature example
Cleaned the attribute Example comments
2012-10-15 07:52:40 +00:00
Paolo Cignoni 6760de8bdd added per mesh attribute example to the trimesh_attribute sample 2012-10-13 21:35:42 +00:00
Paolo Cignoni 3778d69fd4 Removed useless include 2012-10-12 06:14:04 +00:00
Paolo Cignoni cd3af281cc Added a few more samples (normals, inertia, sampling) 2012-10-12 06:07:06 +00:00
Paolo Cignoni 6750b5d80a Cleaning and updating all the samples... 2012-10-11 10:40:07 +00:00
Paolo Cignoni 75c7ac1873 Improving documentation tags in the sample 2012-10-10 08:42:59 +00:00
Paolo Cignoni 699164ea11 removed useless example snippet 2012-10-10 08:14:24 +00:00
Paolo Cignoni 89d3fa3c43 Added a sample for curvature 2012-10-09 10:25:00 +00:00
Paolo Cignoni 69000a6af7 Yet another big cleaning pass to the samples 2012-10-09 08:43:35 +00:00
Paolo Cignoni dd520b4fc4 Cleaned up all a bit all the samples. Now they compile with the upcoming changes... 2012-10-09 07:12:31 +00:00
Paolo Cignoni c22ebbf304 Yet another iteration in the quest of a portable qt+antttweakbar example... 2012-10-08 05:52:54 +00:00
Paolo Cignoni 8e1176d803 Yet another iteration in the quest of a portable qt+antttweakbar example... 2012-10-08 05:51:28 +00:00
Paolo Cignoni a2f65f19ca Corrected errors for gcc-4.6 under ubuntu (conflicts between glew and qt :( ) 2012-10-07 17:33:19 +00:00
Paolo Cignoni e7f1949d8e Removed useless folder with unsupported not working project files 2012-10-04 16:30:30 +00:00
Paolo Cignoni 155f48a25c Cleaning up the old metro app 2012-10-04 16:28:41 +00:00
Paolo Cignoni eb8baaeee0 Cleaning up the old metro app 2012-10-04 16:26:52 +00:00
Paolo Cignoni 591031c47e Cleaning up the old metro app 2012-10-04 16:25:22 +00:00
Paolo Cignoni 9bac133933 Cleaned the first sample 2012-10-04 11:11:27 +00:00
Nico Pietroni 7bb3900d3b added support for primitive subdivision into cells 2012-08-27 12:46:31 +00:00
Nico Pietroni 143169d28c first release version 2012-08-27 12:45:30 +00:00
mtarini de84cc1081 2012-07-18 22:10:11 +00:00
Paolo Cignoni 5380a6f7f6 updated to the latest changed to the closest and grid changes 2012-07-12 08:03:22 +00:00
Paolo Cignoni 118eb65a9f Better testing of the point to mesh distance functions. 2012-07-06 09:07:38 +00:00
Paolo Cignoni f314e050a4 Added Sample for testing of the framework for searching the closest point on a mesh 2012-07-06 05:12:19 +00:00
Paolo Cignoni 4356ed9833 simple reorganization of the testing code 2012-07-04 13:52:32 +00:00
Nico Pietroni aee1bedb59 resolved 1 bug in getBBox function 2012-06-25 16:14:57 +00:00
Nico Pietroni 670799b8fe first release version 2012-06-22 14:32:48 +00:00
Paolo Cignoni 1267bc080b Added qt svg and opengl package to the space_packer sample 2012-05-29 13:48:00 +00:00
Paolo Cignoni 615b4867d4 better pro for improved compatibilty when you move the sample to another folder... 2012-04-18 21:13:14 +00:00
Paolo Cignoni 93b4573910 Moved the trimesh_copy sample to the apps/sample folder 2012-04-03 10:52:51 +00:00
granzuglia 4d4ac4b41e added (commented) code for copying non-optional attribute mesh in an ocf one. 2012-04-03 08:03:30 +00:00
granzuglia 3d46da2cb5 unit test function for meshcopy. It uses ftime to get time. 2012-04-02 14:47:04 +00:00
Paolo Cignoni 3ed7a817e2 yet another surviving m.hasSomething -> has something (m) 2012-03-04 17:48:04 +00:00
Paolo Cignoni 858e4c575f Improved the anttweakbar sample now has zoom with doubleclick... 2012-03-04 16:26:15 +00:00
Paolo Cignoni 0464c9f822 removed a surviving UpdateFlags::FaceProjection that should have been deleted a few month ago... 2012-02-13 23:03:38 +00:00
Nico Pietroni 6bf2eda3b6 2012-02-09 13:58:22 +00:00
Nico Pietroni c9f9effef6 added stuff for windows compilation 2012-02-03 14:06:09 +00:00
Nico Pietroni 6bed834958 added several cast and include time.h 2012-02-03 14:05:29 +00:00
Paolo Cignoni a12597eeac Better factorization of the qt mouse handler for the sample qt+anttweakbar example. Now there is a separated file under wrap/qt with the mouse and keyboard event handler 2012-02-02 06:48:40 +00:00
Paolo Cignoni ecddd5b76a Added sample to use AntTweakBar with meshes and QT 2012-02-01 10:16:12 +00:00
Paolo Cignoni 2621f5777e updated the sample to the new polydumper 2012-01-30 15:25:23 +00:00
Paolo Cignoni b338a57f67 Added sample for polygon packers 2011-11-15 11:01:05 +00:00
Paolo Cignoni d155a34740 Cleaned up the example of the mesh slicing. Now the sample take a mesh, split it along a random plane and saves two meshes, one with the filled triangulated slice and one with the two pieces of the mesh moved apart to reveal the cut. 2011-10-24 12:19:05 +00:00
Paolo Cignoni 6bd8470965 Small harmless changes. Mostly cleaning up. 2011-10-24 11:23:49 +00:00
Paolo Cignoni 98cc5ee028 Added minimal example of disk parametrization. 2011-10-18 00:02:12 +00:00
Paolo Cignoni ed9e9df701 updated to the recent changes (no more edge meshes and changes in the optimiz framework) 2011-10-16 22:14:33 +00:00
Paolo Cignoni 2fe129645b Rolled back 2011-10-05 15:04:40 +00:00
Paolo Cignoni c17b10bf63 fixed cross-platform math usage 2011-06-15 12:33:28 +00:00
Paolo Cignoni 62a5d3856d Small changes to the texdeci sample (better depend path and corrected saving) 2011-06-06 15:14:10 +00:00
Paolo Cignoni 0941ea0474 Updated the tridecimator sample to the new localoptimimization framework 2011-06-06 00:13:51 +00:00
Paolo Cignoni 8f17d6b9bd Mini sample with texture aware edge collapse based quadric simplification 2011-06-06 00:11:18 +00:00
Massimiliano Corsini d6400c816c add further test about vcg::Shot::ApplySimilarity 2011-05-25 06:55:54 +00:00
Massimiliano Corsini ad6866f1a3 fix test9 about roto-translation
add test10 abut similarity transformation
2011-05-24 21:11:21 +00:00
Massimiliano Corsini 8dd6bd85b4 shot roto-translation test fixed 2011-05-24 09:20:56 +00:00
Massimiliano Corsini 6dda092689 2011-05-23 16:29:06 +00:00
Massimiliano Corsini 779e6d2dc5 2011-05-23 14:08:48 +00:00
Massimiliano Corsini e99b67e72a add other tests 2011-05-19 16:27:32 +00:00
Paolo Cignoni ee5473c279 cleaned up a bit the quad simplifier 2011-05-19 13:51:41 +00:00
Massimiliano Corsini 8f8f4fdfc9 2011-05-18 11:33:06 +00:00
Paolo Cignoni 8d77ac39e3 updated the slicing/capping/edgemesh sample 2011-05-11 10:07:27 +00:00
Paolo Cignoni 6b7e9fb37d Added sample on edge mesh (intersection of a mesh with a plane 2011-05-11 06:06:50 +00:00
ganovelli 95713e5723 updated to current version of the library 2011-04-15 14:02:55 +00:00
ganovelli d967184dee Basic app with AntTweakBar and freeglut.
Added. Still to fix pro file to use freeglut and AntTweakBar
2011-04-06 15:10:44 +00:00
ganovelli c018a60762 Ongoing Rearrangement of filepath
replaced the path to comply the filepaths modification.
The replacements are as follows:

/complex/trimesh/base.h --> /complex/complex.h
/complex/trimesh/allocate.h --> /complex/allocate.h
/complex/trimesh/append.h --> /complex/append.h
/complex/trimesh/ --> /complex/algorithms/
/complex/local_optimization/ ---> /complex/algorithms/local_optimization/
/complex/local_optimization.h ---> /complex/algorithms/local_optimization.h
/complex/intersection.h ---> /complex/algorithms/intersection.h
/complex/boundary.h ---> /complex/algorithms/boundary.h
2011-04-01 17:09:03 +00:00
ganovelli 5909925947 Ongoing Rearrangement of filepath
replaced the path to comply the filepaths modification.
The replacements are as follows:

/complex/trimesh/base.h --> /complex/complex.h
/complex/trimesh/allocate.h --> /complex/allocate.h
/complex/trimesh/append.h --> /complex/append.h
/complex/trimesh/ --> /complex/algorithms/
/complex/local_optimization/ ---> /complex/algorithms/local_optimization/
/complex/local_optimization.h ---> /complex/algorithms/local_optimization.h
/complex/intersection.h ---> /complex/algorithms/intersection.h
/complex/boundary.h ---> /complex/algorithms/boundary.h
2011-04-01 17:07:57 +00:00
ganovelli d52126591c minor corrections for recompiling all the samples and removal of some warnings:
removed deprecated LIBPATH
2011-03-31 15:47:27 +00:00
Paolo Cignoni cc5645ca46 Added removals of degenerate configurations 2011-02-04 17:12:20 +00:00
Paolo Cignoni 764b2779cb Added quad simplification sample 2011-01-31 17:05:24 +00:00
ganovelli 7f5f09b492 obsolete: removed. Use qmake (.pro files) 2010-12-07 13:46:01 +00:00
ganovelli 49cb3744b5 uypdated to the new definition of vcg mesh 2010-12-07 13:03:36 +00:00
ganovelli 732a1437bc added 2010-11-06 16:09:32 +00:00
Paolo Cignoni 1b8ae49999 Moved old SDL stuff out of the sample folder into the more junky test folder 2010-10-15 08:43:41 +00:00
Paolo Cignoni ee675f4f01 start to cleaning up the sample folder 2010-10-15 08:42:22 +00:00
Paolo Cignoni fc27271fc9 added edge class as required by the new declaration style 2010-09-02 21:42:07 +00:00
Paolo Cignoni 6b28cb9501 changed to the new mesh clipping framework 2010-07-05 10:27:38 +00:00
Paolo Cignoni 5e3b15b690 added missing include 2010-07-05 10:15:59 +00:00
Paolo Cignoni 572170bfdd minimal formatting changes 2010-07-05 10:15:30 +00:00
Paolo Cignoni b10bfc04e2 Better comment and printing 2010-05-04 15:17:52 +00:00
Paolo Cignoni ee38039e83 Add simple example that compute Shape Diameter Function using ray tracing and exploiting VCG library indexing structure 2010-05-04 08:17:13 +00:00
Paolo Cignoni 7e2e81bdc9 cleaned up to new interfaces 2010-04-30 09:56:37 +00:00
ganovelli 38dcf9bc00 updated to changes in clean.h 2010-04-30 09:42:52 +00:00
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