ganovelli
22aa059de2
factorized, see vcg/container/derivation_chain.h
2008-06-23 14:27:44 +00:00
ganovelli
d35e8ba0c4
factorized, see vcg/container/derivation_chain.h
2008-06-23 14:25:39 +00:00
ganovelli
c7f76ab84b
factorized, see vcg/container/derivation_chain.h
2008-06-23 14:22:32 +00:00
Paolo Cignoni
3779f19eee
Corrected nasty bug in the newest version of the point-face distance, now the two versions are quite coherent
2008-06-13 06:03:27 +00:00
Paolo Cignoni
7f4d6cbd76
Added a version of the point-face distance function that does NOT require the precomputed edgeplane additional data.
2008-06-04 13:27:10 +00:00
Paolo Cignoni
89bdafdf8c
Other improvements in the ImportLocal. Bug removed (ocf data was imported even if the component was not enabled)
2008-05-28 07:25:20 +00:00
Paolo Cignoni
6bb1ea8fcc
Small syntax error in the various ImportLocal
2008-05-27 16:32:58 +00:00
Paolo Cignoni
19c4510a33
Corrected bug in the management of ocf curvature components
2008-05-26 09:52:38 +00:00
Paolo Cignoni
36361be798
Big change. removed nexte.
...
Now the function is NextFE.
added find border function
2008-04-11 10:13:01 +00:00
Paolo Cignoni
0caa683764
better comments, renamed I() -> E()
...
removed wrong coherent function
2008-04-11 10:11:32 +00:00
Paolo Cignoni
de92614c18
FaceType::VerteType --> FaceType::VertexType
2008-04-06 08:55:16 +00:00
Paolo Cignoni
46096f6b64
Cleaned up names, now Kg() gives back Gaussian Curvature (k1*k2), while Kh() gives back Mean Curvature 1/2(k1+k2)
2008-04-04 10:26:12 +00:00
Paolo Cignoni
89a4321cdf
added optional mark and cleaned up some nasty type bugs.
2008-04-03 23:15:40 +00:00
Paolo Cignoni
242e5ab82a
compacted two pair of empty components to shorten derivation chains
2008-04-03 23:12:28 +00:00
Paolo Cignoni
0a367b89ba
Increased the derivation chain lenght. God save the compiler patience!
2008-04-03 23:02:17 +00:00
Paolo Cignoni
f9538e9f56
added missing include
2008-03-18 14:29:01 +00:00
ganovelli
bd36c63923
added curvature and curvatruredir (compiled .net 2005 and gcc)
2008-03-17 11:39:15 +00:00
Paolo Cignoni
3d4222b231
Completed the garbage collecting functions CompactVertexVector and CompactFaceVector.
2008-03-11 09:22:07 +00:00
Paolo Cignoni
97c0bd9ffa
Added FFpi methods and better init of texture coords
2008-02-28 15:41:17 +00:00
Paolo Cignoni
28c5847ec9
Other small typos
2008-02-05 20:42:43 +00:00
Paolo Cignoni
a0cd1fc321
A small typo (a T:: instead of TT::)
2008-02-05 10:11:34 +00:00
ganovelli
0b53e968b8
typo in EmptyVertexRef corrected
2008-02-05 09:38:18 +00:00
ganovelli
a39a42d2ca
added ImportLocal which imports all local attributes into vertexplus and faceplus.
...
A local attribute is everything (N(), C(), Q()....) except pointers to other simplices
(i.e. FFAdj, VFAdj, VertexRef) which are set to NULL.
Added some function for const attributes
2008-02-04 21:26:49 +00:00
Paolo Cignoni
343df1c14c
Important Change. Now GetBBox return a null bbox if called on a deleted face (instead of crashing)
2008-02-03 23:49:42 +00:00
Paolo Cignoni
8883301247
added assert when writing on empty data members
2008-01-28 08:42:51 +00:00
ganovelli
b13473bdc7
missing const cVF added
2008-01-19 17:49:05 +00:00
Nico Pietroni
491317ecd5
*** empty log message ***
2008-01-07 10:36:00 +00:00
Paolo Cignoni
61f42ea419
added missing include limits
2007-12-11 18:25:31 +00:00
Paolo Cignoni
7d6a210e75
Added the CompactVertexVector garbage collecting function.
2007-12-11 11:36:03 +00:00
ganovelli
5c97fd3dc3
added missing include to color4
2007-11-20 09:43:53 +00:00
Paolo Cignoni
a45b2e8fa0
Added I() access function for the z member to the pos
2007-10-17 19:46:50 +00:00
Nico Pietroni
00f3907e1b
*** empty log message ***
2007-10-11 08:39:05 +00:00
Massimiliano Corsini
1e6b800880
remove signed/unsigned warning
2007-10-09 12:04:06 +00:00
Paolo Cignoni
dcd031a38d
added some using keywords and templates
2007-07-16 10:00:14 +00:00
Paolo Cignoni
6f6da43f69
Minor changes in VT Adjacency component.
2007-06-07 10:22:42 +00:00
Paolo Cignoni
d26833fac1
Deleted redundant EdgePlane attribute: it is already defined in component_rt
2007-06-06 15:30:00 +00:00
Paolo Cignoni
d399094a16
Add vertex-tetrahedron adjacency component VTAdj.
2007-06-04 15:40:22 +00:00
Paolo Cignoni
2c49236f37
Minor changes in includes.
2007-06-04 14:04:21 +00:00
Paolo Cignoni
f354a9f445
Small gcc compiling issues
2007-05-31 09:39:56 +00:00
Paolo Cignoni
38bb37185a
removed useless typename
2007-05-29 14:00:26 +00:00
Paolo Cignoni
1a3ea71ef5
Added Set method which takes a face pointer and a vertex pointer.
2007-05-28 14:09:41 +00:00
Paolo Cignoni
9b7d4fc359
Initial commit
2007-05-16 15:13:54 +00:00
Paolo Cignoni
1f231b5a3f
Added std:: prefix to swap call
2007-05-16 15:12:40 +00:00
Paolo Cignoni
d207af03d2
Replaced ambigous StarSize method with NumberOfIncidentVertices and NumberOfIncidentFaces
2007-05-16 15:11:32 +00:00
ganovelli
1f61ffc1ca
added
2007-05-09 10:31:53 +00:00
ganovelli
c2e2b2cd0a
changes to comply "plus" types
2007-05-04 16:44:06 +00:00
ganovelli
a40dad5c08
standardized to component style
2007-05-04 16:16:40 +00:00
ganovelli
0b39edf945
added include to texcoor2
2007-05-04 16:16:04 +00:00
Paolo Cignoni
cde27e321a
Corrected V() operator. It was plainly wrong. Luckly enough it was not very used
2007-04-20 12:40:31 +00:00
Paolo Cignoni
5ae948ea38
Added Visited flags
2007-03-27 09:22:11 +00:00
mtarini
84946de883
Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD.
2007-03-12 15:42:11 +00:00
mtarini
22fd220c6f
Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD.
2007-03-12 15:37:19 +00:00
Paolo Cignoni
4e3c3c110e
Added constructor to the VFadj component to comply to the allocator needs
2007-02-27 09:32:00 +00:00
Paolo Cignoni
b7ab2cfe56
VTb moved to VTp
2007-02-26 14:21:44 +00:00
ganovelli
01a81c63de
added QualityType to comply vertexplus type
2007-02-20 14:08:34 +00:00
ganovelli
142880a279
added QualityType to comply faceplus type
2007-02-20 14:07:53 +00:00
Paolo Cignoni
a2127ce062
Corrected small syntax errors detected by gcc
2007-02-18 07:41:32 +00:00
ganovelli
ffbd7ea55f
added Name(std:vector<std::string>& n) that fills n with the names of the attribute of the face type
2007-02-12 19:01:23 +00:00
ganovelli
bf964ff70c
added Name(std:vector<std::string>& n) that fills n with the names of the attribute of the vertex type
2007-02-12 19:00:56 +00:00
Nico Pietroni
25b916162d
corrected wrong initial define
...
from:
#ifndef __VCGLIB_VERTEX__VN__TYPE
#define __VCGLIB_VERTEX__VN__TYPE
to:
#ifndef __VCGLIB_VERTEX__VNVT__TYPE
#define __VCGLIB_VERTEX__VNVT__TYPE
2007-01-25 01:08:09 +00:00
Paolo Cignoni
0ba87a93f0
commented UberP access method (syntax errors)
2007-01-18 01:29:48 +00:00
Paolo Cignoni
bcc7bb0c83
Added #ifdefs to guarantee that ComputeNormal would be defined only once
2007-01-13 00:25:36 +00:00
Paolo Cignoni
5c63b84bf8
Added include assert.h
2007-01-11 10:37:08 +00:00
Paolo Cignoni
7f78cbb1d5
Added intialization of vertexRef to 0.
2007-01-11 10:22:39 +00:00
Paolo Cignoni
d72aabbe64
Rewrote the template of ComputeNormal functions to a more readable form.
2007-01-11 10:13:11 +00:00
Paolo Cignoni
07fb3ae2df
Added access functions F()
2007-01-02 10:06:53 +00:00
Paolo Cignoni
b226ba87ba
Corrected wrong assert in V(i) access function
2006-12-29 13:13:00 +00:00
mtarini
8b66ea4b94
newline at endoffile
2006-12-14 13:38:10 +00:00
ganovelli
d24100b903
bug Index()() instead of Index()
2006-12-11 23:42:00 +00:00
ganovelli
7be5cc63cf
Has*Opt migrated to Has*Occ
2006-12-11 23:40:57 +00:00
Paolo Cignoni
588582f470
Added FFp1 and FFp2 shortcuts
2006-12-06 00:08:57 +00:00
Paolo Cignoni
efa2743316
Removed Oldstyle uberZ access to FF adjacency
2006-12-06 00:08:21 +00:00
Paolo Cignoni
c680da71f9
Added FFlip() and const VFlip() operators
2006-12-04 16:06:12 +00:00
ganovelli
5a19b99039
added forward declaration of TriMesh
2006-12-04 11:17:42 +00:00
ganovelli
ee863845d1
Cambiate Has*Opt in Has*Occ e aggiunti typedef per la compilazione di Occ
2006-12-04 11:00:02 +00:00
ganovelli
480c16bbfe
aggiunte funzioni di override per Has*
2006-12-04 10:59:15 +00:00
Paolo Cignoni
d614e6baa5
Added default constructor with null initialization to adjacency members.
...
AddFaces and AddVertices NEED to know if the topology is correctly computed to update it.
2006-11-28 22:34:28 +00:00
Paolo Cignoni
63f09aa04b
Added a missing prototype to ismanifold
2006-11-13 01:57:23 +00:00
Nico Pietroni
e35961b498
*** empty log message ***
2006-11-10 11:50:57 +00:00
Paolo Cignoni
43facb8954
Corrected Detach; added FFCorrectness; Corrected ComplexSize, Dissemination of a lot of assert()
2006-11-09 17:28:42 +00:00
Paolo Cignoni
4be312c7f2
Added ismanifold
2006-11-09 17:22:56 +00:00
Paolo Cignoni
642158fc32
many gcc compiling issues
2006-11-07 17:22:53 +00:00
Paolo Cignoni
e2733d55df
Necessary changes for compilation with gcc 3.4.6. Especially the hash function is a problem
2006-11-07 15:13:57 +00:00
Paolo Cignoni
865bb26e54
Corrected some errors in the reflections Has*** functions
2006-11-07 11:29:24 +00:00
ganovelli
a44013b865
vesione 2005 compliant
2006-10-31 16:02:59 +00:00
ganovelli
3997779a97
added overrides to HasFFAddAdjacency and HasVFAddAdjacency
2006-10-27 14:15:10 +00:00
Paolo Cignoni
81e0f25754
Better managment of resize overloading when reducing the size of a vector
2006-10-16 08:49:29 +00:00
Paolo Cignoni
302e24189d
first version
2006-10-13 14:11:49 +00:00
Paolo Cignoni
904814041d
Added some missing Add***Ocf() for the default case.
2006-10-09 20:20:55 +00:00
Paolo Cignoni
f41e699da1
Increased the maximum number of possible template args from 8 to 9
2006-10-09 20:20:18 +00:00
Paolo Cignoni
be10b9167b
Explained the use of V() operator of a pos
2006-10-07 14:24:26 +00:00
Paolo Cignoni
a3ba09a069
Added missing typename for interp.parameters
2006-10-07 10:02:16 +00:00
Paolo Cignoni
dbe0a4d4cf
Added missing const to EmptyFF
2006-10-07 09:59:42 +00:00
Paolo Cignoni
739e46587e
Added Missing GetBBox function
2006-09-28 17:34:11 +00:00
Marco Di Benedetto
1fbdc88c2c
First Commit.
2006-09-28 13:30:39 +00:00
Paolo Cignoni
a4ecdb2635
Better comment on usage of VF iterators
2006-09-25 09:57:49 +00:00
Paolo Cignoni
837f3482f5
added severla comments
...
reimplemented operator ()
2006-08-23 15:35:36 +00:00
Paolo Cignoni
7810ccc68e
added minimal comments
2006-08-23 15:34:20 +00:00
Nico Pietroni
5f842ad53e
*** empty log message ***
2006-07-26 08:13:57 +00:00
Nico Pietroni
184edbcc3f
first release version
2006-07-26 08:09:09 +00:00
Paolo Cignoni
ec2e478c4a
changes for compilation on linux. Not sure about using either SphereOfTriangle or SphereOfTetra, please check.
2006-07-12 12:14:31 +00:00
ganovelli
19a6e60812
cambiato VTb in VTp
2006-07-10 17:04:41 +00:00
Paolo Cignoni
eae0930e15
added include to sphere3.h for SmallestEnclosingSphere()
2006-07-10 10:36:44 +00:00
ganovelli
46bbeb164c
added GeometicType e SmallestEnclosingSphere
2006-07-06 12:46:19 +00:00
ganovelli
67d370e4f4
added SmallestEnclosingSphere
2006-07-06 12:45:08 +00:00
ganovelli
ba17e043fc
aggiunte wedge coord
2006-06-08 20:32:10 +00:00
Paolo Cignoni
0102ac5f9f
missing std and other gcc detected syntax errors
2006-05-25 09:41:09 +00:00
Marco Di Benedetto
3c222fd583
First Commit.
2006-05-08 15:19:21 +00:00
Paolo Cignoni
c7196917fd
Added possibility of not updating the topology during a SwapEdge
2006-05-03 21:38:57 +00:00
Paolo Cignoni
30b1d99a4c
Added Optional Mark
2006-05-03 21:37:02 +00:00
Paolo Cignoni
9df4f755ec
Initial commit.
2006-04-21 08:05:44 +00:00
Paolo Cignoni
53dfb84a07
newline at end of file please
2006-04-11 08:41:31 +00:00
Federico Ponchio
40e4a353bd
g++ compliance:
...
begin() -> (*this).begin() and for end(), size(), Base(), Index()
2006-02-28 11:59:55 +00:00
Federico Ponchio
524fc2574c
Added some documentation
2006-02-27 17:58:11 +00:00
Federico Ponchio
4ed45caeee
Added some documentation.
2006-02-27 17:42:43 +00:00
Paolo Cignoni
7c20ead0c3
Corrected HasPerWedgeTexture
2006-01-30 08:47:40 +00:00
Paolo Cignoni
381ce72a56
Corrected use of Area with the unambiguous DoubleArea
2006-01-22 10:06:23 +00:00
Paolo Cignoni
92c21e838d
Very Important Change: Area->DoubleArea (and no more Area function)
2006-01-22 10:00:56 +00:00
Paolo Cignoni
fa5979e2ac
Added Initialization of Color in Vertex and Face Components
2006-01-09 13:58:56 +00:00
Paolo Cignoni
07f5fe7d42
Removed a syntax error (double >) in HasPerWedgeTexture/HasPerFaceColor
2006-01-05 15:46:06 +00:00
Paolo Cignoni
52c3db40a7
Corrected push_back (did not worked at all!)
...
added missing cFFi
2006-01-04 18:46:25 +00:00
Paolo Cignoni
dda2cfbcaa
Corrected HasPerFaceColor and HasPerWedgeTexture to comply gcc
2006-01-03 10:54:21 +00:00
Massimiliano Corsini
009f633576
Rewrite SwapEdge to fix problems with borders
2005-12-19 13:47:26 +00:00
Paolo Cignoni
51180b7d58
Increased the maximum number of possible template args from 7 to 8
2005-12-16 13:28:09 +00:00
Massimiliano Corsini
c334cebb47
Add some user bit
2005-12-16 11:42:23 +00:00
Massimiliano Corsini
a088ee1ba6
Remove trivial warnings
2005-12-16 11:01:26 +00:00
Massimiliano Corsini
c1ffab75de
Add further comment to FlipEdge
2005-12-16 10:47:48 +00:00
Massimiliano Corsini
67dca7d9e6
Fix one bug
2005-12-16 10:43:23 +00:00
Massimiliano Corsini
8133c87819
Add CheckOrientation
...
Reimplement SwapEdge function
2005-12-16 10:29:10 +00:00
Massimiliano Corsini
becbfab7da
Replace Pos<FaceType> with PosType
2005-12-15 11:57:48 +00:00
Massimiliano Corsini
fa45011ed9
Fix operators
2005-12-15 11:19:00 +00:00
Massimiliano Corsini
bd8e59e0b4
Add constructor which takes as input a face and a vertex
2005-12-15 10:53:16 +00:00
Paolo Cignoni
cb6757048f
Corrected update function, now only the needed simplexes should be updated.
2005-12-12 11:17:32 +00:00
ganovelli
f73fa19346
modifications to compile with gcc
2005-12-12 11:15:26 +00:00
Paolo Cignoni
7050635bd5
Removed spurious definition of flags in Aritymax that was overriding the correct definition in EmplyBitFlags and BitFlags classes
2005-12-05 15:58:10 +00:00
Paolo Cignoni
b3db79d874
Reformatted and compacted flags code.
2005-12-02 00:44:41 +00:00
Paolo Cignoni
cfd778ec1b
Added and removed typenames for gcc compiling.
...
Added this-> qualifier for referencing the elemntes of the templated base class
(e.g. to refer the possibly overridden flags()) it seems to be needed by the standard
2005-12-02 00:41:38 +00:00
Paolo Cignoni
2d7b7a4532
Removed excess ';' from end of template functions, for gcc compiling
2005-12-01 23:54:59 +00:00
Paolo Cignoni
2587a22c49
Added HasFlags
2005-12-01 23:54:29 +00:00
ganovelli
cc0e745c09
creation
2005-11-30 14:44:47 +00:00
Federico Ponchio
7f2aac509e
Fixed some UberZ fuynctions and non defined _flags
2005-11-30 14:05:04 +00:00
Paolo Cignoni
13e9c8f264
Corrected a lot of bugs about the use of enabled entities
2005-11-26 00:16:44 +00:00
Nico Pietroni
7629e40b53
added cFFi function
2005-11-23 14:40:09 +00:00
ganovelli
bb972b9ace
changed IsBOrder
2005-11-23 13:04:26 +00:00
Paolo Cignoni
88753fa7bc
Added intiailization of flags to zero in the constructor,
2005-11-22 23:58:03 +00:00
Paolo Cignoni
c0a40ade47
removed two spurious computenormal
2005-11-22 15:49:39 +00:00
Paolo Cignoni
dbc5a559c4
Moved ComputeNormal and ComputeNormalizedNormal out of the face class (no more a member function!)
2005-11-22 15:47:35 +00:00
Paolo Cignoni
019fb69c53
Changed HasColor -> HasFaceColor and HasNormal ->HasFaceNormal
2005-11-21 21:46:20 +00:00
Paolo Cignoni
0d97fa92f5
Moved ComputeNormal and ComputeNormalizedNormal out of the face class (no more a member function!)
2005-11-21 21:44:47 +00:00
Paolo Cignoni
10daa05e85
Access to constant normal changed from by val to by reference
2005-11-18 15:44:51 +00:00
Paolo Cignoni
ff27f8cdad
Added some missing members to EmptyMark
...
Standardized name of flags. It is plural becouse each simplex has many flag.
2005-11-16 23:02:37 +00:00
Paolo Cignoni
47f1ceb215
Standardized name of flags. It is plural becouse each simplex has many flag.
2005-11-16 22:59:35 +00:00
Paolo Cignoni
6f9a18897c
Added IncrementalMark and WedgeTexCoord
...
Standardized name of flags. It is plural becouse each simplex has many flag.
2005-11-16 22:58:17 +00:00
Paolo Cignoni
293a23721d
Added EmptyMark to base class
...
Standardized name of flags. It is plural becouse each simplex has many flag.
2005-11-16 22:56:32 +00:00
Paolo Cignoni
4b7b1c1015
Added WedgeTexture component
2005-11-16 22:43:36 +00:00
Paolo Cignoni
ce250c83a2
Added Incremental Mark
2005-11-14 23:50:57 +00:00
Paolo Cignoni
e6db8b5c7d
added missing cFFi
2005-11-12 18:43:14 +00:00
Paolo Cignoni
19fd589795
Added ClearS and GetBBox
2005-11-12 18:42:18 +00:00
Paolo Cignoni
f8e4bf2c94
Added HasFlags and initialization of flags at construction.
2005-11-12 18:41:14 +00:00
Paolo Cignoni
fab34558d7
Added dummy static member for avoiding annoying warning in empty functions...
2005-11-12 18:39:54 +00:00
Paolo Cignoni
d3c1165fe6
Added 'Visited' flag functions
2005-11-12 18:36:51 +00:00
Paolo Cignoni
fca4bdc2d5
Changed HasFlag -> HasFlags
2005-11-12 18:35:49 +00:00
Paolo Cignoni
4d952f8de7
Made IsManifold Constant
2005-11-10 15:49:32 +00:00
Paolo Cignoni
9bc80c05ea
Added an assert(0) in all the accesses to empty components
2005-11-01 18:17:52 +00:00
Paolo Cignoni
9df077d22f
Added intialization of _flags to zero in the default constructor of face
2005-11-01 18:16:36 +00:00
Federico Ponchio
a9ed92f5f0
Tired of no newline at end of file warnings.
2005-10-26 21:22:11 +00:00
Paolo Cignoni
46cf45eda3
*** empty log message ***
2005-10-26 15:45:56 +00:00
Paolo Cignoni
db81a6ef1f
Added a missing ';' in FFAdjOcf (thanks to Mario Latronico).
2005-10-22 13:16:46 +00:00
ganovelli
b586da1c64
EdgePLaneType added (_RT)
2005-10-18 14:27:22 +00:00
Federico Ponchio
69240d2ddc
IsBorder(...) declaration needed.
2005-10-16 23:30:39 +00:00
ganovelli
0c0627ad11
Working release (compilata solo su MSVC), component_occ è migrato da component_opt
2005-10-15 16:24:10 +00:00
Paolo Cignoni
ca26ad417e
First Really Working version
2005-10-14 15:07:59 +00:00
Paolo Cignoni
71b34e6b95
Added constant access functions and reflective functions (HasSomething stuff)
...
to all the components This is the first really working version...
2005-10-14 13:30:07 +00:00
Paolo Cignoni
84866a3b0d
First Really Working version
2005-10-14 13:26:57 +00:00
Paolo Cignoni
9d764b3a8c
Added cVFp member
2005-10-14 13:25:50 +00:00
Paolo Cignoni
4be15d81cd
Added ordered constructor that build a edge with unique ordering
...
among vertices (useful for edge-collapse simplification)
2005-10-14 12:34:55 +00:00
Paolo Cignoni
b63a90172e
Removed the reference to Deprecated f->IsBorder(i) now everyone should use IsBorder(*f,i);
2005-10-13 09:29:10 +00:00
Paolo Cignoni
ff83bb3a24
Added cFFp and cVFp const member functions
2005-10-13 09:25:43 +00:00
Paolo Cignoni
b84b47b5f1
Removed reference to IsBorder() member of face and substituted with the face templated function version.
2005-10-13 08:34:19 +00:00
Paolo Cignoni
69123d036e
updated to the new naming scheme
2005-10-07 15:22:07 +00:00
Paolo Cignoni
b166dd19da
Initial release
2005-10-07 15:20:52 +00:00
Paolo Cignoni
0bf4c6a185
minor updates to keep it in line with the rest of the library
2005-10-07 15:20:00 +00:00
Nico Pietroni
dae0988085
added getBBox method
2005-10-06 14:26:39 +00:00
Nico Pietroni
644fca68bf
minor changes
2005-10-05 17:39:14 +00:00
Nico Pietroni
de125d7f59
first release version
2005-10-03 14:13:13 +00:00
Paolo Cignoni
a60af2bbb7
*** empty log message ***
2005-10-01 09:26:57 +00:00
Paolo Cignoni
957255b9a8
Major rewriting of the whole class edge. Removed default flags and nonsense attibutes. Given consistent naming to defines.
2005-10-01 09:22:51 +00:00
Nico Pietroni
c19fce46a3
first release version
2005-09-30 12:51:39 +00:00
Marco Di Benedetto
36aedffa72
Added class PointDistanceFunctor.
2005-09-28 19:35:06 +00:00
Marco Di Benedetto
3a76ce3a01
Added const qualifier in GetBBox method.
2005-09-28 19:32:09 +00:00
Paolo Cignoni
2cfe4038ab
*** empty log message ***
2005-09-14 14:32:35 +00:00
Nico Pietroni
93c310391e
changed min calls to Min<ScalarType> of math.h of vcglib
2005-09-14 12:58:44 +00:00
Nico Pietroni
e82ae93bf8
removed min definition generate warnings
2005-09-14 09:58:32 +00:00
Nico Pietroni
f5b0b9f8f2
added definition of min function
2005-09-14 09:03:54 +00:00
Paolo Cignoni
2e895eaf22
Initial Commit.
2005-09-09 13:09:14 +00:00
ganovelli
8ca165bb98
template parametere Scalar removed
2005-07-15 15:45:51 +00:00
Paolo Cignoni
e3b4ba1f45
Initial commit
2005-07-06 08:09:26 +00:00
Paolo Cignoni
38db49c827
first version
2005-07-05 11:26:09 +00:00
granzuglia
580e1eb075
new tetra type
2005-06-30 15:46:24 +00:00
ganovelli
3d0dee1073
*** empty log message ***
2005-06-30 10:16:11 +00:00
Paolo Cignoni
d481f58234
Added a named typedef for the per wedge TexCoordinate
2005-06-17 00:43:34 +00:00
Paolo Cignoni
7761b396ab
Initial Commit.
2005-05-17 13:42:25 +00:00
Nico Pietroni
b12f308b33
*** empty log message ***
2005-04-28 12:55:41 +00:00
Nico Pietroni
966e1e52f0
*** empty log message ***
2005-04-26 09:36:17 +00:00
Paolo Cignoni
08f4270101
Initial Commit
2005-04-18 13:51:52 +00:00
Paolo Cignoni
1cb26bdfbd
Created (Vertex-Face Topology And Incremental Mark).
2005-04-14 17:25:42 +00:00
Federico Ponchio
2328e5b1e4
*** empty log message ***
2005-04-14 11:35:09 +00:00
Nico Pietroni
82240231a0
Changed detach to FFdetach , compiled tested in manifold cases
2005-04-11 09:17:24 +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
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
150036bb8b
Initial Release
2005-03-15 01:28:46 +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
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
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
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
507a7c89e6
Removed a 'using namespace'
2005-01-24 15:35:25 +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
8b88b2520e
Added better documentation (with an example and the V0 V1 V2 access members
2005-01-03 11:22:31 +00:00
Paolo Cignoni
5bd4d8b2b1
Better Doxygen documentation
2004-10-28 00:56:44 +00:00
Federico Ponchio
8ca8327f5d
inline Set(...) -> inline void Set(...)
2004-10-25 16:25:12 +00:00
ganovelli
d4e5b26c12
added default template paramteer
2004-10-25 16:17:30 +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
Federico Ponchio
e99cb94a03
Created.
2004-10-22 14:35:11 +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
Paolo Cignoni
c8b9c96f29
Added constant access function FFp and renamed F1 F2 to FFp1 FFp2
2004-10-20 08:28:31 +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
ganovelli
22c677246e
added ::IsBorder
2004-10-18 17:13:50 +00:00
ganovelli
f10b76771b
added template on corrdinate type (default Point3)
2004-10-11 17:45:05 +00:00
Nico Pietroni
b3a0c638cd
changed Q() function
2004-10-04 17:07:58 +00:00
ganovelli
11d5e8b4a8
minor chamges
2004-10-04 13:53:02 +00:00
Paolo Cignoni
db05ba4282
DUMMY classes definition moved into vcg namespace
2004-09-28 15:24:56 +00:00
ganovelli
de4b5c1d43
changed P() to cP()
2004-09-15 11:20:15 +00:00
ganovelli
6b328610fa
removed "&" in FFp
2004-09-14 19:47:02 +00:00
ganovelli
66d136ed78
constructor added
2004-09-14 19:46:10 +00:00
Paolo Cignoni
359c3a841d
Initial Update
2004-09-09 23:15:43 +00:00
ganovelli
6137d15e7e
removed
2004-09-09 12:51:01 +00:00
ganovelli
11ed8f5715
created (changed from afvnvm)
2004-09-09 12:50:39 +00:00
Nico Pietroni
cf20e1d0c1
minor changes to comply gcc compiler (typename's )
2004-09-01 12:22:04 +00:00
Nico Pietroni
a7d6742fda
added IsS() function
2004-08-26 13:15:23 +00:00
ganovelli
0bbd5bb33b
minor changes to comply gcc compiler (typename's and stuff)
2004-08-25 15:15:27 +00:00
Nico Pietroni
fe34dc9c78
vertex with normal FFtopology and temporary mark for decimation
2004-08-10 14:53:11 +00:00
Nico Pietroni
87b79eecad
corrected errors on vfappend
2004-08-06 01:47:57 +00:00
Nico Pietroni
50b5c30d05
added VFAppend funtion
2004-08-05 22:27:00 +00:00
Nico Pietroni
64c5cb56cf
corrected vfdatach and added vf append
2004-08-04 20:50:12 +00:00
Paolo Cignoni
8e71d0f5ae
Removed warning about postfix incremnet of VFIterator
2004-07-27 09:49:23 +00:00
Paolo Cignoni
c8d1e28f66
Added V() access function instead of V(0)
2004-07-27 09:47:49 +00:00
Nico Pietroni
2ce9499498
corrected NormalizedNormalV function...
2004-07-20 15:24:53 +00:00
Paolo Cignoni
b143b27807
Removed two const modifiers from the VFIterator
2004-07-18 07:45:30 +00:00
ganovelli
c15f2fb66c
minor changes
2004-07-15 12:04:14 +00:00
ganovelli
4a57fadc00
minor changes
2004-07-15 11:31:59 +00:00
ganovelli
01f33c04ce
overwritten previous version (it was a copy of base.h)
2004-07-15 11:31:06 +00:00
ganovelli
3edc5d70bf
basefacetype to facetype
2004-07-15 11:28:44 +00:00
ganovelli
0243e21354
VFDetach corrected
2004-07-15 11:26:48 +00:00
ganovelli
16e27ee1e8
VFb moved to VFp, userbit to bitflag,setV, inclusion of pos.h
2004-07-15 11:25:01 +00:00
Nico Pietroni
9b76dfbd2b
adde NormalizedNormalV funtion to compute the normal on a vertex
2004-07-15 10:13:48 +00:00
Nico Pietroni
ac215c4dbc
added function NormalizedNormal
2004-07-12 12:17:09 +00:00
mtarini
1f3fc8f9ce
*** empty log message ***
2004-07-09 15:52:04 +00:00
ganovelli
ad95a30be6
minor changes
2004-07-09 10:16:42 +00:00
ganovelli
2b9cd14fec
C() ,Q() ,hastetracolor(),hasqualityt()....
...
plus some misuse of tetra3 corrected
2004-07-09 10:13:00 +00:00
ganovelli
24583cbed2
muted from atvnvm
2004-07-09 10:10:22 +00:00
ganovelli
2542c1654a
renamed to comply alphabetical order
2004-07-08 13:20:10 +00:00
ganovelli
ae23bd9a4b
tv-->av
2004-07-08 09:02:27 +00:00
Nico Pietroni
20f941401c
vertex with tetra topology. normals and temporary mark
2004-07-08 08:46:15 +00:00
Nico Pietroni
e6bc1b19d2
changed assignement operator
2004-07-08 08:44:27 +00:00
Nico Pietroni
e5a126d378
changed functions used to compute the aspect ratio
2004-07-08 08:43:22 +00:00
ganovelli
16965b7e06
newline
2004-07-07 14:06:43 +00:00
Paolo Cignoni
a267ba1a63
changed the VFIterator ++ to return a facepointer instead of a bool
2004-07-06 06:25:44 +00:00
ganovelli
73f3a54b0c
created
2004-06-28 13:25:02 +00:00
Nico Pietroni
a139c7006c
vertex with tetrahedron adiacency, normal and mark for decimation
2004-06-22 14:29:36 +00:00
Nico Pietroni
025069a560
resolved some error on nextT on loopPos
2004-06-10 08:46:05 +00:00
ganovelli
8096308cb2
changed F(.. to FFp
...
changed Z( to FFi(
2004-06-02 16:25:45 +00:00
Nico Pietroni
cd68a72b5b
modified flipT function
2004-05-31 16:04:19 +00:00
Nico Pietroni
038cf7712b
modified setBorderV function
2004-05-20 13:04:23 +00:00
Nico Pietroni
19a75647d2
first version release
2004-05-17 15:28:35 +00:00
Nico Pietroni
77f585da38
first version ...not compiled
2004-05-14 16:04:51 +00:00
Nico Pietroni
ba3f257801
templated with also tetratype...
2004-05-14 11:48:43 +00:00
ganovelli
8d094c17b9
created
2004-05-14 11:28:15 +00:00
Paolo Cignoni
98247c842b
Changed swap in std::swap.
2004-05-14 11:07:36 +00:00
ganovelli
91e427d61f
created
2004-05-14 00:39:27 +00:00
ganovelli
ba71d8f492
syntax error (typo)
2004-05-13 22:44:40 +00:00
ganovelli
ebdf01794a
define updated
2004-05-13 22:42:57 +00:00
ganovelli
ccce11f1e0
default template parameters
2004-05-13 22:40:02 +00:00
Nico Pietroni
06a7d3a6de
no default template parameters..
2004-05-13 12:49:42 +00:00
Nico Pietroni
54aaa60259
no default template parameters... each one must be specified
2004-05-13 12:49:22 +00:00
Paolo Cignoni
ff5a1cbdc4
Changed ComputeMormalizedNormal() using Triangle3
2004-05-13 11:01:06 +00:00
ganovelli
68ff2a601b
removed call to ComputeRT and put its body here
2004-05-13 09:49:59 +00:00
ganovelli
76051030e2
created
2004-05-12 18:50:25 +00:00
ganovelli
2fe139f9ac
dist and coputeRT removed (see distance.h and updateEdges)
2004-05-12 18:49:05 +00:00
Paolo Cignoni
88926f2af7
removed warning of unused variables
2004-05-12 14:43:36 +00:00
Paolo Cignoni
522f0025c7
include color4
2004-05-12 12:50:20 +00:00
ganovelli
eeb8bf47f3
name of the type corrected
2004-05-12 12:29:17 +00:00
Paolo Cignoni
ed904aa9ac
Conformed C++ syntax to GCC requirements
2004-05-12 12:23:23 +00:00
Paolo Cignoni
f9eae452b7
Initial Commit
2004-05-12 10:31:34 +00:00
ganovelli
f31d87a79c
changed from "thi" to "&f" in Vfdetach
2004-05-11 16:03:18 +00:00
ganovelli
a989a39c19
*** empty log message ***
2004-05-11 15:20:30 +00:00
ganovelli
0c7004af16
created
2004-05-11 15:16:59 +00:00
Paolo Cignoni
72ebcd4b23
Added a constructor without vertex pointer
2004-05-10 15:21:47 +00:00
Paolo Cignoni
98b8a3ae39
Updated names of POS and adj functions to the new standards for many functions
2004-05-10 15:20:49 +00:00
ganovelli
d7d6388dbf
created
2004-05-10 14:45:46 +00:00
ganovelli
b8463d106f
name of adhacency function updated
2004-05-10 14:41:45 +00:00
ganovelli
0574784d39
created
2004-05-10 14:14:07 +00:00
ganovelli
7ca3eb884f
created
2004-05-10 14:02:29 +00:00
ganovelli
c89d2526f7
assert(i*0) for using "i" and preventing the compiler warning for unreferenced variable
2004-05-10 14:01:09 +00:00
Paolo Cignoni
369e160dcf
Updated names of adj functions to the new standards
2004-05-10 13:50:32 +00:00
Paolo Cignoni
6a8c6d6046
Added VFIterator
2004-05-10 13:41:57 +00:00
ganovelli
0a09df39f8
function for edge adjacency added
2004-05-10 13:31:13 +00:00
Paolo Cignoni
ff45c6d2e5
Added mandatory template params for edge and face class names to the face class
...
Changed type of return face pointer to the one passed by templ params
Changed name of func FV to VF (it stores Vertex-Face Topology)
2004-05-10 13:19:38 +00:00
Paolo Cignoni
30cac403d3
added void to Convert, corrected return object in VFb
2004-05-10 13:13:17 +00:00
Nico Pietroni
0352044681
changed names to topology functions
2004-05-06 15:29:42 +00:00
Nico Pietroni
4bc6a6ff7b
changed names to VF topology function (was missed)
2004-05-06 15:28:10 +00:00
Nico Pietroni
8d49b3d7f5
face with both topology ( vertex -face) (face-face)
2004-05-06 14:58:00 +00:00
Nico Pietroni
169206d8d9
vertex with normals and vertex-tetra topology
2004-05-06 13:55:50 +00:00
Nico Pietroni
4cfba6c4a3
base face type only pointerto vertices
2004-05-06 13:06:48 +00:00
Nico Pietroni
7f3374cd46
changed names to topology functions
2004-05-06 09:06:59 +00:00
Nico Pietroni
38f2fae248
vertex tetrahedra topology...
2004-05-05 17:04:15 +00:00
Nico Pietroni
e605dc6d74
changed name to topology functions
2004-05-05 17:03:25 +00:00
Nico Pietroni
bdb47046da
with normal and vertex-face topology
2004-05-05 16:31:47 +00:00
Nico Pietroni
99d05b351a
with vertex-face topology
2004-05-05 16:30:34 +00:00
Nico Pietroni
dba60317fa
with face topology and colour
2004-05-05 16:30:07 +00:00
Nico Pietroni
286971f8ae
with face topology
2004-05-05 16:29:33 +00:00
Nico Pietroni
3bd2e495b6
with quality
2004-05-05 13:09:37 +00:00
Nico Pietroni
3915e378ee
with quality
2004-05-05 12:27:11 +00:00
Nico Pietroni
152e3b1022
with normal
2004-05-05 12:23:25 +00:00
Nico Pietroni
14bc73eccb
with tetrahedron - tetrahedron vertex - tetrahedron topology and quality
2004-05-05 12:15:16 +00:00
Nico Pietroni
cf60d1aad9
with tetrahedron - tetrahedron and vertex - tetrahedron topology
2004-05-05 12:05:35 +00:00
Nico Pietroni
aaf3147f05
with tetrahedron - tetrahedron topology
2004-05-05 12:02:22 +00:00
Nico Pietroni
06eaf9cabe
vertex - tetrahedron topology
2004-05-05 11:58:52 +00:00
Nico Pietroni
b86267d0a5
changed names to vertex's attributes (2 letters)
2004-05-05 09:15:17 +00:00
Nico Pietroni
e11d0ffcdd
vertex with normal.
2004-05-05 09:12:53 +00:00
Nico Pietroni
d320e3a124
vertex with color and normal.
2004-05-05 09:09:39 +00:00
Nico Pietroni
52fd0aab80
vertex with vertex-face topology...
2004-05-05 08:58:43 +00:00
Nico Pietroni
d59a47608b
vertex with vertex-face topology...
2004-05-05 08:54:10 +00:00
ganovelli
c601fcd17f
added function Dist
2004-05-04 02:46:23 +00:00
ganovelli
43682d9ada
created
2004-05-04 02:41:07 +00:00
ganovelli
b032085a0e
created
2004-05-04 02:40:47 +00:00
ganovelli
f6c416728a
created
2004-04-29 12:31:39 +00:00
Nico Pietroni
f154f17acd
*** empty log message ***
2004-04-28 11:37:15 +00:00
Paolo Cignoni
39ff8b63d7
Added : #include <color4.h>
2004-04-27 14:15:23 +00:00