Paolo Cignoni
190e1612c7
added VVStarVF that computes the star of a given vertex exploiting VF adjacency
2008-12-21 01:41:07 +00:00
ganovelli
698f6cbd7e
[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:30:51 +00:00
ganovelli
76eefc7fb8
added unsupported to deprecated in the warning
2008-12-12 18:10:36 +00:00
ganovelli
cba885edbe
missing (unreachable) return added
2008-10-24 09:49:47 +00:00
ganovelli
0d4b3fbed0
[Polygon modification]
...
Added components to the face to handle generic polygons.
(compiled with .net and gcc)
This commit includes the following files:
vcg/complex/trimesh/base.h
Added deallocation of polygon data in the destructor
vcg/complex/trimesh/allocate.h
generalization from 3 to VN() vertices
vcg/complex/trimesh/update/topology.h
generalization from 3 to VN() vertices
vcg/complex/trimesh/update/flags.h
generalization from 3 to VN() vertices
vcg/simplex/face/pos.h
generalization from 3 to VN() vertices
vcg/simplex/faceplus/base.h
Added the method VN() to query the number of vertices
of the polygon (deafult 3) and methods Prev and Next
vcg/simplex/faceplus/component.h
added Alloc and Dealloc calls along the hierarchies
2008-10-08 09:10:53 +00:00
ganovelli
b5bca977a7
added pragma message to deprecate this way to define the simplex
2008-09-28 14:30:09 +00:00
ganovelli
68d900ec7e
changes to compile previous commit with gcc
2008-09-24 09:15:38 +00:00
ganovelli
f6da3d936d
DistanceFunctor templated on the type of the query
2008-09-24 08:41:04 +00:00
Paolo Cignoni
d3debc41e4
Changed the SetFF IsFF, ClearFF flag functions to the new names SetF IsF, ClearF
2008-06-30 09:58:43 +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
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
a45b2e8fa0
Added I() access function for the z member to the pos
2007-10-17 19:46:50 +00:00
Paolo Cignoni
dcd031a38d
added some using keywords and templates
2007-07-16 10:00:14 +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
c2e2b2cd0a
changes to comply "plus" types
2007-05-04 16:44:06 +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
mtarini
22fd220c6f
Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD.
2007-03-12 15:37:19 +00:00
ganovelli
142880a279
added QualityType to comply faceplus type
2007-02-20 14:07:53 +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
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
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
Paolo Cignoni
63f09aa04b
Added a missing prototype to ismanifold
2006-11-13 01:57:23 +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
be10b9167b
Explained the use of V() operator of a pos
2006-10-07 14:24:26 +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
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
67d370e4f4
added SmallestEnclosingSphere
2006-07-06 12:45:08 +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
9df4f755ec
Initial commit.
2006-04-21 08:05:44 +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
Massimiliano Corsini
009f633576
Rewrite SwapEdge to fix problems with borders
2005-12-19 13:47:26 +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
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
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
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
fab34558d7
Added dummy static member for avoiding annoying warning in empty functions...
2005-11-12 18:39:54 +00:00
Paolo Cignoni
4d952f8de7
Made IsManifold Constant
2005-11-10 15:49:32 +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
Federico Ponchio
69240d2ddc
IsBorder(...) declaration needed.
2005-10-16 23:30:39 +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
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
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
Paolo Cignoni
38db49c827
first version
2005-07-05 11:26:09 +00:00
Paolo Cignoni
d481f58234
Added a named typedef for the per wedge TexCoordinate
2005-06-17 00:43:34 +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
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
eda550ba49
minor changes to comply gcc compiler
2005-03-18 16:35:53 +00:00
Paolo Cignoni
150036bb8b
Initial Release
2005-03-15 01:28:46 +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
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
ganovelli
124e8402ba
IsBOrder (typecast on return type)
2004-10-25 08:22: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
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