Commit Graph

758 Commits

Author SHA1 Message Date
Paolo Cignoni 6b4cb4a4b5 cambiato parentesi nel costruttore di GetUV per rendere compatibile tale costruttore con MVC e borland 2005-05-06 14:45:33 +00:00
Paolo Cignoni f9e9301f30 replaced all the occurences of min.v[0] with min.X(), max.v[0] with max.X() etc. 2005-05-06 14:02:37 +00:00
Paolo Cignoni d775371a3a Corretto accessi vecchio stile (.v[i] e .x()) nel nuovo stile ([i] e .X() ) 2005-05-05 12:22:08 +00:00
Paolo Cignoni 58bc2efa18 changed #include <vcg/space/point3> to #include <vcg/space/point2.h>
croccia
2005-05-05 10:20:24 +00:00
Nico Pietroni b12f308b33 *** empty log message *** 2005-04-28 12:55:41 +00:00
Marco Callieri a0b3813df9 in addfaces, added casting for face* returned from vertex.VFp() [borland] 2005-04-27 16:08:39 +00:00
Marco Callieri 43f4cfe2b3 line 466, added parentesis on default value creator getUV [borland] 2005-04-27 16:05:19 +00:00
Nico Pietroni 966e1e52f0 *** empty log message *** 2005-04-26 09:36:17 +00:00
Nico Pietroni dbb88409e3 added size of sampling parameter 2005-04-20 15:23:31 +00:00
Paolo Cignoni 08f4270101 Initial Commit 2005-04-18 13:51:52 +00:00
ganovelli c3db21bd39 tolto il const a interpolate 2005-04-17 21:57:03 +00:00
Federico Ponchio 59c1559e59 Typo: Point3 -> Point4 2005-04-15 09:19:50 +00:00
Paolo Cignoni 1cb26bdfbd Created (Vertex-Face Topology And Incremental Mark). 2005-04-14 17:25:42 +00:00
Federico Ponchio f766cf6773 *** empty log message *** 2005-04-14 17:23:08 +00:00
Federico Ponchio 2328e5b1e4 *** empty log message *** 2005-04-14 11:35:09 +00:00
Federico Ponchio b3e2bf3ba7 Including math/bash.h 2005-04-13 09:40:30 +00:00
Nico Pietroni 9cb3c240e6 changed swap to math::Swap in Traspose Function 2005-04-11 14:11:22 +00:00
Nico Pietroni 82240231a0 Changed detach to FFdetach , compiled tested in manifold cases 2005-04-11 09:17:24 +00:00
Paolo Cignoni 1363b8c4a8 Added missing functions Avg, rms etc, now fully (almost) functional 2005-04-04 10:48:35 +00:00
Paolo Cignoni 16b0bd16c6 Minor changes 2005-04-01 13:04:55 +00:00
Paolo Cignoni 825c3b9a0c minor changes to comply gcc compiler 2005-03-30 17:18:13 +00:00
Nico Pietroni 061c49ab5e corrected 1 bug in distance function (use of templated coords type) 2005-03-23 17:32:01 +00:00
Paolo Cignoni 594087a963 minor changes 2005-03-23 13:49:04 +00:00
Paolo Cignoni 22ba690fda Wrong left parenthesis removed. 2005-03-23 13:22:57 +00:00
ganovelli c00bed83e6 cast int->iterator corrected 2005-03-23 11:29:49 +00:00
Paolo Cignoni 0fc0f795c4 add FaceAFAVFNFQRT 2005-03-22 10:11:08 +00:00
Paolo Cignoni 9d106c50c1 Minor changes 2005-03-18 16:38:36 +00:00
Paolo Cignoni eda550ba49 minor changes to comply gcc compiler 2005-03-18 16:35:53 +00:00
Paolo Cignoni f8fb041641 minor bugs fixed 2005-03-18 16:31:02 +00:00
Paolo Cignoni 4c1f6e73b6 removed small gcc compiling issues 2005-03-18 00:14:40 +00:00
Paolo Cignoni b4b7f45041 Removed NormalizedNormalV (out of standard and wrong) and
added the member functions Normal and NormalizedNormal() (just like for faces)
2005-03-18 00:13:45 +00:00
Paolo Cignoni b6b04faabc removed small gcc compiling issues 2005-03-17 16:16:08 +00:00
Paolo Cignoni eb117f8394 aggiunta funzione PasoDobleSmooth e relative:
- FitMesh
- FaceErrorGrad
- CrossProdGradient
- TriAreaGradient
- NormalSmooth

e le classi:

- PDVertInfo
- PDFaceInfo

necessarie per utilizzare SimpleTempData
2005-03-16 16:14:12 +00:00
Paolo Cignoni 9ca228b8fa Added missing include assert and improved comments and requirements of geodesic quality 2005-03-15 11:48:50 +00:00
Paolo Cignoni e974b9c948 Removed BestDim function from the grid_static_ptr class and moved to a indipendent file (grid_util.h) for sake of generality. 2005-03-15 11:43:18 +00:00
Paolo Cignoni 27694f7a67 Added operator*=( std::vector<PointType> ...) to apply a matrix to a vector of vertexes (replacement of the old style mesh.Apply(tr). 2005-03-15 11:40:56 +00:00
ganovelli 41945cf2d5 added intersection between tow planes (porting from old vcg lib) 2005-03-15 11:22:39 +00:00
ganovelli 95e02ebe5e there was a debug line, now removed 2005-03-15 09:50:44 +00:00
Paolo Cignoni 150036bb8b Initial Release 2005-03-15 01:28:46 +00:00
ganovelli f86843bdb8 created 2005-03-14 17:04:24 +00:00
ganovelli f9ca9b6ad8 *** empty log message *** 2005-03-14 16:46:50 +00:00
ganovelli 6063b7526d *** empty log message *** 2005-03-14 16:36:59 +00:00
ganovelli 2d6e353608 ClosestK added and other minor changes 2005-03-14 15:11:18 +00:00
Paolo Cignoni c272706c18 Added missing include<vector> 2005-03-14 09:23:40 +00:00
ganovelli 7610457632 added ClosersIterator and other minor changes. Not compatible with the previous version.
Still other modifications to do (temporary commit)
2005-03-11 15:25:29 +00:00
ganovelli eed72fadc4 _ffi was a 4 for positions vector (only 3 used) 2005-03-11 14:14:14 +00:00
Paolo Cignoni 7b5459a777 Wrote down the final right version of the naming rules (af and NOT fa) 2005-03-11 13:33:38 +00:00
Paolo Cignoni 88fb1680d2 Wrote down the final right version of the naming rules (af and NOT fa) 2005-03-11 12:11:36 +00:00
Paolo Cignoni d829ce7db6 Removed wrong named vertex and face configuration files 2005-03-11 12:10:59 +00:00
ganovelli e050ef0c2e creation 2005-03-09 13:22:55 +00:00
ganovelli 14a538a731 added vcg header 2005-03-08 14:42:22 +00:00
Nico Pietroni 0467ee0a6f Fixed bug in Square 2005-02-25 11:41:08 +00:00
Nico Pietroni 8225d40cbb added #include<vcg/complex/trimesh/update/topology.h> use of update topology in refineE 2005-02-25 10:28:04 +00:00
ganovelli 05d89ee903 created. This version writes the gaussian curvature on the Q() member of
the vertex
2005-02-22 16:40:29 +00:00
Federico Ponchio 87db18689d assert addded. 2005-02-22 14:18:15 +00:00
Paolo Cignoni b01f11a93e Corrected declaration and some syntax errors in GetFrustum 2005-02-22 10:57:58 +00:00
ganovelli 31ac4bbe6f GetFrustum moved from gl/camera to math/camera.h 2005-02-21 18:11:47 +00:00
Federico Ponchio 70aad83e78 Added Tight creation. 2005-02-21 17:03:03 +00:00
ganovelli 34679d1176 added vcg header 2005-02-21 12:13:25 +00:00
Federico Ponchio cce86d42f8 reverted tarini mod 2005-02-19 10:43:11 +00:00
Paolo Cignoni 5d6d76694c Added matrix-vector multiplication 2005-02-16 11:11:12 +00:00
Paolo Cignoni 099bae2d71 added IntersectionRayMesh 2005-02-15 15:00:26 +00:00
Paolo Cignoni 2fe93647ab added principal point 2005-02-15 14:55:52 +00:00
Nico Pietroni 0ebd1f6f91 optimized ( distance map are calculated 1 time each point) 2005-02-08 17:50:41 +00:00
Nico Pietroni 06adb386ad added if (!l->Elem()->IsD()) test on each element 2005-02-08 17:49:38 +00:00
mtarini 56609abbb0 aggiunto un typecast a (FaceType*) per farlo compilare under Mingw comp 2005-02-08 17:14:28 +00:00
Paolo Cignoni 3c7c3b4653 Warnings Correction 2005-02-08 14:38:05 +00:00
Nico Pietroni a4e78fa119 1 warning corrected added casting in const ScalarType EPSILON = ScalarType( 0.000001); 2005-02-02 16:44:34 +00:00
Nico Pietroni 91ce4200d3 1 warning corrected 2005-02-02 16:01:13 +00:00
Nico Pietroni 7057ec7352 first version tested with marching cubes 2005-02-02 10:01:29 +00:00
Nico Pietroni be92b1fd23 changed HasVFTopology function... control if both vertex and face define the vf topology 2005-01-28 17:56:57 +00:00
Nico Pietroni 1ecdcebd59 added HasEdgePlane function 2005-01-28 17:53:13 +00:00
Paolo Cignoni 5b984e817d small gcc compiling issues for namespaces 2005-01-28 12:00:33 +00:00
Paolo Cignoni 1bc21300da Add std:: to stl containers 2005-01-28 11:59:35 +00:00
Paolo Cignoni 0251d89f11 aggiunta intersect ray-box 2005-01-26 10:03:08 +00:00
Paolo Cignoni 0af38855a4 LookUp table static data moved into static class functions 2005-01-25 16:55:30 +00:00
Paolo Cignoni 507a7c89e6 Removed a 'using namespace' 2005-01-24 15:35:25 +00:00
Paolo Cignoni 2380e1d9a1 Now used also by the official Metro
Removed using namespace (NEVER IN HEADERS!)
Made  the computation of barycentric coords only when necessary
Renamed Mindistpoint to Closest
2005-01-24 11:47:23 +00:00
Paolo Cignoni a23f621635 Initial commit 2005-01-24 09:49:16 +00:00
Federico Ponchio 40e7925c1c <...Point3.h> -> <...point3.h> 2005-01-22 11:20:20 +00:00
Federico Ponchio 8da5fad884 Removed dependence from matrix44 and changed VectProd 2005-01-21 18:02:11 +00:00
Nico Pietroni cc767faf90 included distance.h changed Dist to vcg::face::PointDistance 2005-01-21 17:13:09 +00:00
Nico Pietroni b7b23d4140 changed Dist Function to PointDistance... the function is on vcg::face::PointDistance this file will contain all distance functions between a face and othe entities 2005-01-21 17:11:03 +00:00
Paolo Cignoni a264ec7c78 #define __VCGLIB_FACE_AF
#define __VCGLIB_FACE_FN
#define __VCGLIB_FACE_AV
#define __VCGLIB_FACE_FM
#define __VCGLIB_FACE_RT
2005-01-21 16:42:53 +00:00
Paolo Cignoni 52b224d897 Moved from vcg/complex/trimesh to vcg/complex/trimesh/create 2005-01-19 15:43:16 +00:00
Paolo Cignoni e820e88dfe Initial commit 2005-01-19 15:40:44 +00:00
Paolo Cignoni 1509a9b434 Better management of symmetric/asymmetric edge collapses 2005-01-19 10:35:28 +00:00
Paolo Cignoni 4224284dc4 Improved ClearHeap management 2005-01-19 10:33:50 +00:00
Paolo Cignoni b0978eb3d1 *** empty log message *** 2005-01-18 16:40:50 +00:00
Federico Ponchio 3cf27b9f2b Far and end are reserved. 2005-01-18 15:14:22 +00:00
Federico Ponchio fa6da0bbf3 vcg/Point.h -> vcg/point.h (again!) 2005-01-14 15:28:33 +00:00
ganovelli a991f9b9a4 corrected Point<3 2005-01-12 11:25:52 +00:00
ganovelli 99766e2bd0 added Dimension 2005-01-12 11:25:02 +00:00
ganovelli 5a7921fe9c correction on point<3 2005-01-12 11:23:46 +00:00
ganovelli 280f94069f added inclusion of tetra3.h 2005-01-12 11:10:34 +00:00
ganovelli 017714531b added InitVertexIMark 2005-01-12 11:06:54 +00:00
ganovelli c3627e348e corretto cambiamento di sistema di rif. 2005-01-05 13:26:15 +00:00
ganovelli c2fb300d85 aggiunte conversione di coordinate 2005-01-05 13:25:29 +00:00
Paolo Cignoni 8b88b2520e Added better documentation (with an example and the V0 V1 V2 access members 2005-01-03 11:22:31 +00:00
Paolo Cignoni 7a2475edd5 Added some casts 2005-01-03 11:21:26 +00:00
Nico Pietroni ea41fb5580 first release version 2004-12-16 18:00:51 +00:00
Paolo Cignoni 4a7a4ce0b3 *** empty log message *** 2004-12-16 11:22:30 +00:00
Paolo Cignoni 1b08ca6ab1 *** empty log message *** 2004-12-16 11:21:03 +00:00
Paolo Cignoni 02aee67598 *** empty log message *** 2004-12-15 18:45:50 +00:00
ganovelli f2fde4de52 added one more [], now it is polymorphic, added typenames 2004-12-11 15:37:47 +00:00
ganovelli 3edef6bc60 first partial porting: compiled gcc,intel and msvc 2004-12-11 14:53:19 +00:00
Paolo Cignoni 2730b9857b double copy also in vcg/math 2004-12-10 01:33:46 +00:00
Paolo Cignoni 71a73a7ad6 added an alternative QuadricMinimization (we should use LRU decomposition!!) 2004-12-10 01:31:59 +00:00
Paolo Cignoni 8ca248762a Moved param classes inside; added support for optimal placement and symmetric; added update heap also here (not only in the base class) 2004-12-10 01:07:15 +00:00
Paolo Cignoni a68494587c better comments 2004-12-10 01:04:42 +00:00
Paolo Cignoni 953c594401 better comments and removed logging 2004-12-10 01:03:53 +00:00
Paolo Cignoni 1380ee7712 added an inline and removed loggng 2004-12-10 01:03:15 +00:00
Federico Ponchio d02c45b27f _near and _far are reserved keywords 2004-12-04 15:51:22 +00:00
Federico Ponchio 0d7e92e11f Fixed memory leak... 2004-12-03 21:14:39 +00:00
Federico Ponchio 6a03b9d31c Distance 2004-12-01 16:06:59 +00:00
Federico Ponchio a53f846189 #include <...Point --> #include <...point
Again... Gano malefico.
2004-11-30 21:48:47 +00:00
Paolo Cignoni 96d8ae7ec0 Added a member with a cached copy of the floating Priority() value inside the HeapElem to optimize operator< in heap updating operator 2004-11-23 10:37:17 +00:00
Paolo Cignoni da6bf044f0 passed parameters by reference in many funcs and gcc cleaning 2004-11-23 10:34:45 +00:00
Paolo Cignoni 1d72b1f687 removed comment in comment gcc warning 2004-11-23 10:15:38 +00:00
Paolo Cignoni 191168cc47 aggiunto vettore delle face sel, per poi ripulirle.... 2004-11-19 16:12:57 +00:00
ganovelli 6e38d819bb added GetUV 2004-11-09 15:49:07 +00:00
Paolo Cignoni 1189399728 Added ModifierType::TriEdgeFlipOp 2004-11-05 10:03:47 +00:00
Paolo Cignoni 86f9e28e07 Initial commit 2004-11-05 09:57:18 +00:00
ganovelli e70b193cf0 Point?.h to point?.h 2004-11-03 09:40:53 +00:00
ganovelli d0c1352cf3 SetPerspective and SetFrustum added (same parameters as in opengl) 2004-11-03 09:32:50 +00:00
ganovelli 92f008a33d replaced Matrix44f to Matrix44<S>, added LookAt 2004-11-03 09:25:52 +00:00
Paolo Cignoni 5bd4d8b2b1 Better Doxygen documentation 2004-10-28 00:56:44 +00:00
ganovelli 4337bba265 fftopology update branch commented (to finish) 2004-10-27 09:26:26 +00:00
ganovelli e3380d3702 pos to edge 2004-10-25 16:28:32 +00:00
Federico Ponchio 8ca8327f5d inline Set(...) -> inline void Set(...) 2004-10-25 16:25:12 +00:00
Federico Ponchio 8de360b0ac typedef ScalarType ScalarType; was a problem on g++ 2004-10-25 16:23:51 +00:00
ganovelli d4e5b26c12 added default template paramteer 2004-10-25 16:17:30 +00:00
ganovelli 5f84e02239 template changed 2004-10-25 16:15:59 +00:00
ganovelli d7799df3d6 created 2004-10-25 16:08:08 +00:00
ganovelli 124e8402ba IsBOrder (typecast on return type) 2004-10-25 08:22:40 +00:00
ganovelli 4f9a67327e added: constructor,Set and some minor changes. 2004-10-25 08:21:17 +00:00
ganovelli d9ed23f145 CHanged the PosTYpe into EdgeTYpe 2004-10-25 08:08:30 +00:00
ganovelli 4359486afc A vcg.::Pos was used to implement the collapse type. CHanged
to vcg::Edge
2004-10-25 07:07:56 +00:00
ganovelli 4d02036998 some inline function, logs on file (precompiler directive) 2004-10-25 07:02:56 +00:00
Federico Ponchio 1a66972c51 return in operator+ added. 2004-10-22 14:41:30 +00:00
Federico Ponchio 942705dd10 m.element(x, y) -> m[x][y] 2004-10-22 14:35:42 +00:00
Federico Ponchio e99cb94a03 Created. 2004-10-22 14:35:11 +00:00
Federico Ponchio 29b2d65bb3 #include <...Point --> #include <...point 2004-10-22 14:29:40 +00:00
Paolo Cignoni a231b2137c Added CheckFlipEdge and FlipEdge 2004-10-22 13:41:06 +00:00
Paolo Cignoni cec4122f3a uppercase error in FACE_TYPE 2004-10-22 11:11:46 +00:00
ganovelli b21109bdfe first compiling version (MC,INtel,gcc) 2004-10-20 16:45:21 +00:00
Paolo Cignoni c8b9c96f29 Added constant access function FFp and renamed F1 F2 to FFp1 FFp2 2004-10-20 08:28:31 +00:00
Paolo Cignoni f456dc361c removed FaceBorderFlags (already present in update/flags.h) 2004-10-20 07:33:10 +00:00
ganovelli 33f19dc6df minor change 2004-10-18 17:15:45 +00:00
ganovelli eba78a7a10 error FFP -> FFp 2004-10-18 17:14:42 +00:00