Nico Pietroni
e2cac43714
first version... add vertex to mesh
2004-05-13 08:46:16 +00:00
Nico Pietroni
42f85b22f1
the relation between entities functions are in tetra class (don't neeed template argoument)
2004-05-13 08:42:36 +00:00
Paolo Cignoni
1bf422be2b
Chenged #include <space\\box3.h> in #include <vcg\\space\\box3.h>
2004-05-13 07:41:47 +00:00
ganovelli
da7d87bb75
removed call to ComputeRT and put its body here
2004-05-12 18:52:35 +00:00
ganovelli
2739634d38
changed calls to Dist
2004-05-12 18:50:58 +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
Nico Pietroni
51d795b795
*** empty log message ***
2004-05-12 13:52:11 +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
ganovelli
e826bde7c3
created
2004-05-12 10:39:45 +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
ganovelli
cfbe1314df
changed to grid_static_obj to grid_static_ptr
2004-05-11 14:33:46 +00:00
ganovelli
2f4f632fc7
general comment: minor modifications to compile with g++. Almost all
...
insertions of "typename" keyword and new line at the end of file
2004-05-11 14:12:13 +00:00
Paolo Cignoni
a05cc7fc6e
Changed a FV -> VF in VertexFace topology computation
2004-05-10 15:23:43 +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
51d36a0451
created
2004-05-10 14:57:23 +00:00
ganovelli
d7d6388dbf
created
2004-05-10 14:45:46 +00:00
ganovelli
8394de63b0
nimor changes
2004-05-10 14:42:17 +00:00
ganovelli
930864929a
mionr changes
2004-05-10 14:42:01 +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
c80fbfd59c
Added use of VFIterator in VertexGeodesicFromBorder
2004-05-10 13:43:00 +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
b4d5b219eb
missing ending newline
2004-05-10 13:26:53 +00:00
Paolo Cignoni
95f6c410d7
Updated names of adj functions and added ending newline
2004-05-10 13:24:21 +00:00
Paolo Cignoni
6a75af2188
small syntax error Math -> math in Angle
2004-05-10 13:22:25 +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
b7fb0325c3
missing ending newline
2004-05-10 13:15:54 +00:00
Paolo Cignoni
30cac403d3
added void to Convert, corrected return object in VFb
2004-05-10 13:13:17 +00:00
ganovelli
700d8efbef
limits function cancelled
2004-05-10 13:00:14 +00:00
ganovelli
2c75393c45
include assert.h added
2004-05-10 11:16:19 +00:00
ganovelli
9afae94da0
name of the constructor changed from LineType to Line3
2004-05-10 10:58:35 +00:00
ganovelli
c69a02d71d
return type of length and squaredlength corrected
2004-05-08 14:07:50 +00:00
Paolo Cignoni
ff99671468
added ifdef for gcc [Bug c++/14479]
2004-05-07 12:46:55 +00:00
Paolo Cignoni
ab4f6f00ef
missing final newline
2004-05-07 10:09:13 +00:00
Paolo Cignoni
16f2e7ebd7
Corrected template specialization syntax for gcc compiling
2004-05-07 10:06:55 +00:00
Paolo Cignoni
c38be34a40
include Plane3 removed.
2004-05-07 10:06:46 +00:00
Paolo Cignoni
6978e8e861
Corrected abuse of for index variable scope
2004-05-07 10:05:50 +00:00
Paolo Cignoni
9e6c17c72b
Added History Info
2004-05-07 09:35:09 +00:00
Paolo Cignoni
832bc72b74
Added Copyright Info
2004-05-07 09:29:50 +00:00
Paolo Cignoni
d47ee966a2
Initial Commit
2004-05-07 09:27:07 +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
62528938e1
changed names to topology functions
2004-05-06 15:24:38 +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
d0f8ae3c23
changed neme to topology functions
2004-05-06 10:58:57 +00:00
Nico Pietroni
ea5dd6b1ad
first commit: update bounding box of tetrahedral mesh
2004-05-06 10:58:30 +00:00
Nico Pietroni
da21c985f6
changed names to topology functions
2004-05-06 10:57:49 +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
Paolo Cignoni
ff948edd54
syntax errors in inersection plane line.
2004-05-05 08:21:55 +00:00
Paolo Cignoni
e263653851
syntax error in set and better comment
2004-05-05 08:20:47 +00:00
Paolo Cignoni
b1415f5484
unified to the gl stlyle matix*vector. removed vector*matrix operator
2004-05-04 23:23:45 +00:00
Paolo Cignoni
4705d0e5ef
Clarified initial comment, removed vector*matrix operator (confusing!)
...
Corrected translate and Rotate, removed gl stuff.
2004-05-04 23:19:41 +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
bd4dad797c
Triangle3<T> replaced by TRIANGLE
...
Segment<T> replaced by EDGETYPE
2004-05-04 02:37:58 +00:00
ganovelli
115111f1bb
wrong use of operator [] corrected
2004-05-04 02:34:03 +00:00
ganovelli
9614b44161
removed Const from ConstFacePointer and ConstVertexPointer in the arguement function Mark, which are meant to be changed
2004-05-04 02:29:54 +00:00
ganovelli
cee79014d1
correction on templates
2004-05-03 08:38:08 +00:00
Nico Pietroni
f5976ee86f
Added subSet function.
2004-04-29 12:37:00 +00:00
ganovelli
f6c416728a
created
2004-04-29 12:31:39 +00:00
ganovelli
6524344684
error in plane segment corrected
2004-04-29 10:48:44 +00:00
ganovelli
7263ed4589
some siyntax error corrected
2004-04-29 10:47:06 +00:00
ganovelli
91205e6346
created
2004-04-29 01:00:07 +00:00
ganovelli
f8b9c845de
created
2004-04-29 00:02:38 +00:00
ganovelli
43b0f7f922
created
2004-04-28 23:33:24 +00:00
Paolo Cignoni
167845dce4
Changed :
...
in Distance(plane, point) :
return plane.Direction() * point - plane.Offset;
in
return plane.Direction() * point - plane.Offset();
2004-04-28 16:36:55 +00:00
Paolo Cignoni
a92bdebe76
Changed :
...
in SolidAngle(vind) :
double da0=DiedralAngle(EV(vind,0));
double da1=DiedralAngle(EV(vind,1));
double da2=DiedralAngle(EV(vind,2));
in
double da0=DiedralAngle(EofV(vind,0));
double da1=DiedralAngle(EofV(vind,1));
double da2=DiedralAngle(EofV(vind,2));
Changed :
in DiedralAngle(edgeind) :
int f1=FE(edgeind,0);
int f2=FE(edgeind,1);
in
int f1=FofE(edgeind,0);
int f2=FofE(edgeind,1);
Changed :
in DiedralAngle(edgeind) :
Point3d p0=FV(f1,0)->P();
Point3d p1=FV(f1,1)->P();
Point3d p2=FV(f1,2)->P();
in
Point3d p0=_v[FofV(f1,0)];
Point3d p1=_v[FofV(f1,1)];
Point3d p2=_v[FofV(f1,2)];
Changed :
in DiedralAngle(edgeind) :
p0=FV(f2,0)->P();
p1=FV(f2,1)->P();
p2=FV(f2,2)->P();
in
p0=_v[FofV(f2,0)];
p1=_v[FofV(f2,1)];
p2=_v[FofV(f2,2)];
2004-04-28 16:31:17 +00:00
Nico Pietroni
f154f17acd
*** empty log message ***
2004-04-28 11:37:15 +00:00
Nico Pietroni
6d04f844de
*** empty log message ***
2004-04-28 11:37:14 +00:00
Paolo Cignoni
62e4e8825b
Changed :
...
in Init(p0, norm) _dist = p0 * _dir; in _offset = p0 * _dir;
Changed :
in Init(p0, p1, p2) _offset = p0 * _dist; in _offset = p0 * _dir;
2004-04-28 11:19:52 +00:00
Paolo Cignoni
39ff8b63d7
Added : #include <color4.h>
2004-04-27 14:15:23 +00:00
Paolo Cignoni
d74aa98a6d
*** empty log message ***
2004-04-27 09:30:44 +00:00
Paolo Cignoni
f19537f3f3
*** empty log message ***
2004-04-27 08:49:47 +00:00
ganovelli
13035f61d2
created
2004-04-26 19:10:04 +00:00
ganovelli
0fe71a6e69
created
2004-04-26 19:04:23 +00:00
ganovelli
cbbb1cd0ff
plane line
...
plane segment
triangle triangle added
2004-04-26 12:34:50 +00:00
ganovelli
faf56a6219
first version
2004-04-26 12:33:59 +00:00
Nico Pietroni
adeca3e96f
*** empty log message ***
2004-04-26 09:40:15 +00:00
ganovelli
00de9443f0
it changed name to tetra3
2004-04-22 13:20:22 +00:00
ganovelli
c115b3c688
first version
2004-04-22 13:19:12 +00:00
Paolo Cignoni
f1ea75bbe8
Initial Commit
2004-04-21 14:22:27 +00:00
ganovelli
5903e60ec7
#ifndef added
2004-04-21 14:06:10 +00:00
Nico Pietroni
cd9f4d323c
*** empty log message ***
2004-04-20 16:26:48 +00:00
Nico Pietroni
7980702bd2
*** empty log message ***
2004-04-20 12:42:51 +00:00
ganovelli
1b3fc69fac
Min and Max changed from const members to static class function
...
Use: Value<float>::Min()
2004-04-15 09:36:59 +00:00
Nico Pietroni
c30060577e
*** empty log message ***
2004-04-15 08:54:20 +00:00
Paolo Cignoni
5f1450fd62
updated access to matrix44 elements through V() instead simple []
2004-04-07 10:48:37 +00:00
Paolo Cignoni
7ea2f49da5
Added: [i][j] access, V() for the raw float values, constructor from T[16]
2004-04-07 10:45:54 +00:00
ganovelli
13a9005367
Aggiunto typename
...
Eliminata bug di ricorsione nell'istanzazione dei template
2004-04-05 18:20:50 +00:00
ganovelli
a1a41a9718
Aggiunto typename
2004-04-05 18:20:08 +00:00
ganovelli
ad6d5c2bed
Aggiunto typename
2004-04-05 13:53:37 +00:00
mtarini
98433b6bfc
unified version: PointBase version, with no guards "(N==3)"
2004-04-05 12:36:43 +00:00
mtarini
c73064b1fa
unified version: PointBase version, with no guards "(N==3)"
2004-04-05 12:35:33 +00:00
Paolo Cignoni
c5502d119f
Add V() access function
2004-04-05 11:57:32 +00:00
Paolo Cignoni
711c2a00d9
First working version!
2004-04-05 11:56:14 +00:00
Paolo Cignoni
a62ad3cc1b
addend constant access funcs
2004-04-05 11:53:06 +00:00
Paolo Cignoni
ec3c53d1d5
wrong define FACE_N instead of FACE_FN
2004-04-05 11:51:22 +00:00
Paolo Cignoni
2c95c0cd3a
minor changes
2004-04-03 14:12:48 +00:00
Paolo Cignoni
03b335b154
minor changes
2004-04-03 14:10:31 +00:00
Paolo Cignoni
75e3df439e
minor changes
2004-04-03 13:35:51 +00:00
Paolo Cignoni
d11fc2356d
Missing include
2004-04-03 13:33:55 +00:00
Federico Ponchio
4f266201df
Ehm... a couople of small errors.
2004-04-02 09:49:01 +00:00
Federico Ponchio
b7a9093265
Sphere ->Sphere3
2004-04-02 09:44:13 +00:00
ganovelli
c3dc8c46e4
First Working Release (with this comment)
2004-03-31 22:36:44 +00:00
ganovelli
c121ea989e
one bug corrected and other minor changes
2004-03-31 22:33:38 +00:00
ganovelli
0ede25d91c
First working release
2004-03-31 22:32:31 +00:00
Federico Ponchio
18ea5dd5db
Untested first draft.
2004-03-31 22:19:24 +00:00
Paolo Cignoni
e75f79b6ed
First working version!
2004-03-31 14:59:14 +00:00
Paolo Cignoni
49691db569
Added Vertex-Face Topology
2004-03-31 14:44:43 +00:00
Paolo Cignoni
a6269df8cd
bug in update of VF adj
2004-03-31 14:43:56 +00:00
ganovelli
82a897b53e
Data structure to handle temporary attributes. First version
2004-03-31 14:16:40 +00:00
Paolo Cignoni
d5f924cd26
Added optional cpmponent
2004-03-31 13:15:28 +00:00
Paolo Cignoni
48bf28971c
First working version!
2004-03-31 12:46:53 +00:00
mtarini
0002503283
debugged Max and Min const values (to make them linkable)
2004-03-31 12:41:55 +00:00
ganovelli
48d93d6339
Data structure to handle temporary attributes. First version
2004-03-31 12:40:42 +00:00
ganovelli
851c64717e
*** empty log message ***
2004-03-31 12:38:20 +00:00
ganovelli
2324d22a95
*** empty log message ***
2004-03-31 12:28:37 +00:00