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
Paolo Cignoni
3cbbebedb7
First working version of the LocalOptimization/Simplification Framework
2004-07-27 09:46:15 +00:00
Paolo Cignoni
6b6ffccf46
Uncommented Add of matrix transformed bbox
2004-07-20 23:10:01 +00:00
Nico Pietroni
2ce9499498
corrected NormalizedNormalV function...
2004-07-20 15:24:53 +00:00
Paolo Cignoni
ae8e3c0ce7
added a missing return value to Priority
2004-07-18 10:10:56 +00:00
Paolo Cignoni
b143b27807
Removed two const modifiers from the VFIterator
2004-07-18 07:45:30 +00:00
Paolo Cignoni
e0762e5b5e
NewUserBit -> NewBitFlag
2004-07-18 06:55:37 +00:00
Paolo Cignoni
b53fe209a1
Added the standard P() access function instead of the shortcut P0()
2004-07-15 13:22:37 +00:00
ganovelli
c15f2fb66c
minor changes
2004-07-15 12:04:14 +00:00
ganovelli
361126dcf7
access to imark added
2004-07-15 12:03:50 +00:00
ganovelli
b2013c8ed6
VFb to VFp
2004-07-15 11:40:34 +00:00
ganovelli
6b76ff4570
IsDeleted to IsD
2004-07-15 11:39:24 +00:00
ganovelli
858b87d98b
first working draft (trivial collapse)
2004-07-15 11:36:13 +00:00
ganovelli
b5a8c54cb2
Vfb to VFp
2004-07-15 11:35:08 +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
ganovelli
db900ae484
added inclusion of point3.h
2004-07-15 11:01:43 +00:00
Nico Pietroni
f7bd6ddb20
correct access to point funtions call in usage of triangle3 (ex. t.P(0) in t.P0(0))
2004-07-15 10:17:42 +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
0f8de64388
correct use of tetra3 to map entities call funtions (ex Tetra3::VofE in Tetra::VofE)
2004-07-15 10:11:50 +00:00
ganovelli
21ddeb28cc
*** empty log message ***
2004-07-15 10:01:44 +00:00
ganovelli
e75eca830b
moved
2004-07-15 09:57:52 +00:00
ganovelli
b6e059a47b
created
2004-07-15 09:52:07 +00:00
ganovelli
aa4cdc3701
added function P(int i) to list the box's vertices
2004-07-15 09:47:55 +00:00
Paolo Cignoni
d011d644dd
Better doxigen documentation
2004-07-15 00:16:37 +00:00
Paolo Cignoni
2376184409
removed uppercase references in include
2004-07-13 06:48:30 +00:00
Paolo Cignoni
dd9ebaba8e
Initial Commit
2004-07-12 23:46:03 +00:00
Nico Pietroni
ac215c4dbc
added function NormalizedNormal
2004-07-12 12:17:09 +00:00
Paolo Cignoni
398a5a60cc
Added a cast to remove a warning
2004-07-11 22:08:04 +00:00
mtarini
1f3fc8f9ce
*** empty log message ***
2004-07-09 15:52:04 +00:00
mtarini
556364c751
Added an include (<algorithm>)
2004-07-09 15:48:37 +00:00
mtarini
1706a1a0b5
Dodecahedron added! (and doxigened a little bit)
2004-07-09 15:34:29 +00:00
ganovelli
ba4965a409
changed to static class
2004-07-09 10:32:46 +00:00
ganovelli
90ef0ba4e7
major changes. Reorganized to be a wrapper for the edge_collapse to be used in the LocalOpimization routine
2004-07-09 10:28:57 +00:00
ganovelli
cd84a47864
made it as a static class
2004-07-09 10:24:06 +00:00
ganovelli
44daf54e0f
working draft
2004-07-09 10:22:56 +00:00
ganovelli
985d986623
addtetra corrected
2004-07-09 10:20:21 +00:00
ganovelli
336a9145bb
added access functions to vn and tn
2004-07-09 10:18:49 +00:00
ganovelli
bc3714ccf9
added access functions to vn and fn
2004-07-09 10:18:19 +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
936850026b
ComputeVOlume moved outside the class and other
...
minor corrections
2004-07-09 10:08:21 +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
Nico Pietroni
cc537cd0dc
deleted some function used to see aspect ratio media tetrahedrons collapsed
2004-07-08 08:39:56 +00:00
ganovelli
4676d87413
first draft
2004-07-08 08:25:15 +00:00
Paolo Cignoni
d8649c92be
removed the infamous Inflate. Now only Offset exists
2004-07-07 23:26:25 +00:00
ganovelli
16965b7e06
newline
2004-07-07 14:06:43 +00:00
Paolo Cignoni
29b8f8ab5f
removed assumption of a using namespace std and added a missing include
2004-07-06 06:29:53 +00:00
Paolo Cignoni
1dd0f30375
Added FaceBorderFromVF
2004-07-06 06:27:02 +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
ganovelli
260665c528
added Grid to return all the cells sharing a specified edge
2004-06-25 18:34:23 +00:00
ganovelli
39028e633e
minor changes
2004-06-25 18:17:03 +00:00
Nico Pietroni
b4765fb09e
derived form abstract operator class for edge collapse
2004-06-25 11:33:13 +00:00
Nico Pietroni
e03613d6cd
define of abstract class of mofier operator for decimation
2004-06-25 11:31:49 +00:00
Nico Pietroni
b19307fbf0
decimation and optimizator of tetrahedral mesh
2004-06-25 11:30:25 +00:00
Nico Pietroni
e3e32237aa
erased some error evalutation parameters function (added to deimation)
2004-06-25 11:29:21 +00:00
Nico Pietroni
8f3f11432f
added function to access temporary mark for decimation
2004-06-25 11:27:21 +00:00
Nico Pietroni
dff2dfb828
changrd update for a vertex normal functions void PerVertex(VertexType *v)
2004-06-25 11:25:07 +00:00
Paolo Cignoni
f73edd3adb
Better Doxygen documentation
2004-06-24 15:15:12 +00:00
Paolo Cignoni
535a76ce2b
Initial Release
2004-06-24 09:12:28 +00:00
Paolo Cignoni
4333c2177d
Initial Release
2004-06-24 08:03:59 +00:00
Paolo Cignoni
f7c2dae086
now use std::numeric_limits instead of old max val()
2004-06-24 07:56:54 +00:00
Paolo Cignoni
71dbb53a60
Now color ramp can do reverse color ramp
2004-06-24 07:55:50 +00:00
Federico Ponchio
956a626273
Added some help and inndentation
2004-06-23 15:49:03 +00:00
Nico Pietroni
a139c7006c
vertex with tetrahedron adiacency, normal and mark for decimation
2004-06-22 14:29:36 +00:00
Nico Pietroni
5334ca63b7
*** empty log message ***
2004-06-18 11:49:47 +00:00
Nico Pietroni
831a570d0b
modified some errors
2004-06-15 16:15:18 +00:00
Nico Pietroni
7fd10bfcef
modified the conversion funtion to take submesh (containers of tetrahedrons)
2004-06-15 16:13:59 +00:00
Nico Pietroni
841b0966bb
added funtion to see if an edge is exter or not
2004-06-15 16:12:56 +00:00
Nico Pietroni
e33cfa2cab
added functions to update local vertices normal
2004-06-15 16:01:26 +00:00
Nico Pietroni
06125c7f29
first version of edge collapse
2004-06-15 16:00:21 +00:00
Nico Pietroni
0584d7df57
*** empty log message ***
2004-06-15 15:58:53 +00:00
Nico Pietroni
025069a560
resolved some error on nextT on loopPos
2004-06-10 08:46:05 +00:00
Nico Pietroni
68a6f52588
first realease only link conditions control are implemented
2004-06-08 15:24:58 +00:00
Paolo Cignoni
ae77c7c439
added InverseMatrix,
2004-06-04 13:35:07 +00:00
ganovelli
ea756467ea
typename for gcc compilation
2004-06-02 16:42:44 +00:00
ganovelli
5b4b14ca0e
minor changes (swap =>> math::Swap)
2004-06-02 16:28:22 +00:00
ganovelli
8096308cb2
changed F(.. to FFp
...
changed Z( to FFi(
2004-06-02 16:25:45 +00:00
ganovelli
20f49352f1
pragma once removed ,
...
load ts removed to be put in io_tetramesh
CLear() added
2004-06-01 17:17:29 +00:00
ganovelli
c1ec82f5ab
addVertices corrected (two copies instead of specializing te call)
...
and put static (also addTetra) * g++ compliant *
2004-06-01 17:12:46 +00:00
Nico Pietroni
3f2d58a60e
first release edge split
2004-06-01 09:45:29 +00:00
Nico Pietroni
146626fbe3
added TestExternalVertex function
2004-06-01 09:44:18 +00:00
Nico Pietroni
cd68a72b5b
modified flipT function
2004-05-31 16:04:19 +00:00
Nico Pietroni
57294c89e0
modified test topology funtion and added function to test VT topology
2004-05-31 16:03:14 +00:00
Nico Pietroni
f682054c6d
added function addtetra
2004-05-31 16:01:56 +00:00
ganovelli
e463b177f3
created
2004-05-28 13:09:05 +00:00
ganovelli
dbf04df4b2
removed
2004-05-28 13:08:15 +00:00
ganovelli
27891d3198
changed scalar to ScalarType
2004-05-28 13:01:50 +00:00
ganovelli
7680f6a7bf
created
2004-05-28 13:00:39 +00:00
Paolo Cignoni
1ca59ac830
Corrected bug in setgrayshade
2004-05-26 15:10:29 +00:00
Paolo Cignoni
d97337ee47
better comments in set rotate
2004-05-26 15:09:32 +00:00
Paolo Cignoni
60935b36b6
Changed : Use Of vector In Use Of std::vector.
2004-05-26 11:59:09 +00:00
Nico Pietroni
f2bb31568f
modified face declaration
2004-05-26 11:53:17 +00:00
Paolo Cignoni
4f4fac482d
Changed : include Path.
2004-05-26 11:48:53 +00:00
Nico Pietroni
ad2b56bad6
modified setExternalVertices
2004-05-20 13:25:39 +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
Paolo Cignoni
bc793e067a
Changed : Parameters Order As In vcg::tetra::SubSet.
2004-05-17 08:26:28 +00:00
Paolo Cignoni
2c83cc632c
Minor Changes and Now Use STLContainer of Tetrahedron Pointers.
2004-05-17 08:22:45 +00:00
Paolo Cignoni
0ccf940115
Minor Changes To Compile Even Without using namespace std.
2004-05-17 07:58:16 +00:00
Nico Pietroni
77f585da38
first version ...not compiled
2004-05-14 16:04:51 +00:00
Paolo Cignoni
e69bb80e2f
Adjusted VCG Style
2004-05-14 15:51:47 +00:00
Paolo Cignoni
d54a0e189c
Initial Commit
2004-05-14 15:43:41 +00:00
Paolo Cignoni
23796d2e2b
Added $Log: allocate.h,v $ for CVS History Log
2004-05-14 15:14:34 +00:00
Nico Pietroni
ba3f257801
templated with also tetratype...
2004-05-14 11:48:43 +00:00
Paolo Cignoni
d09e65a2dc
Changed mesh ClearFlag call.
2004-05-14 11:43:17 +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
Federico Ponchio
99b51766f6
Fixed some minor bugs
2004-05-14 03:14:29 +00:00
Federico Ponchio
62bba63f19
Added Distance
2004-05-14 03:14:04 +00:00
ganovelli
91e427d61f
created
2004-05-14 00:39:27 +00:00
Federico Ponchio
ee86220f5c
minor bug
2004-05-13 23:43:54 +00:00
Federico Ponchio
65c81124dd
SegmentType -> Segment3 in constructor (g++ complained)
2004-05-13 23:39:47 +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
Paolo Cignoni
b717573d47
Conformed C++ syntax to GCC requirements
2004-05-13 21:08:00 +00:00
ganovelli
e8b3080c93
function Clear added
2004-05-13 16:00:31 +00:00
ganovelli
ad7b82955c
changed from UpdateClearFlags to UpdateFlags
2004-05-13 15:56:02 +00:00
Paolo Cignoni
3f828fa279
Initial Commit
2004-05-13 15:51:40 +00:00
Paolo Cignoni
dc9456a1cc
Changed SolidAngle : table EV in table EofV
...
Changed DiedralAngle : tables FE and FV in tables FofE and FofV
2004-05-13 12:51:00 +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
Nico Pietroni
48160d1a85
first version... add vertex to mesh
2004-05-13 12:16:12 +00:00
Paolo Cignoni
ff5a1cbdc4
Changed ComputeMormalizedNormal() using Triangle3
2004-05-13 11:01:06 +00:00
Paolo Cignoni
e9ce5ba039
Added typedef typename in InsertedV
2004-05-13 09:59:20 +00:00
ganovelli
68ff2a601b
removed call to ComputeRT and put its body here
2004-05-13 09:49:59 +00:00
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
Paolo Cignoni
0ef532be67
First working version!
2004-03-31 10:24:32 +00:00
Paolo Cignoni
9b763a1643
missing return value in zero()
2004-03-31 10:09:58 +00:00
Paolo Cignoni
0a7cf4514f
int64 -> long long for GCC compatibility
2004-03-31 10:09:19 +00:00
ganovelli
6dfbfb3ec8
*** empty log message ***
2004-03-31 03:00:40 +00:00
ganovelli
3ad3628994
*** empty log message ***
2004-03-31 00:26:36 +00:00
ganovelli
733e581689
*** empty log message ***
2004-03-30 22:48:54 +00:00
Paolo Cignoni
9c4727960d
First working version!
2004-03-29 14:26:57 +00:00
Paolo Cignoni
d7d79a8867
Error in color
2004-03-29 14:26:38 +00:00
Paolo Cignoni
5e8b06d5cd
First working version!
2004-03-29 14:05:43 +00:00
Paolo Cignoni
9ddcfd8420
missing include
2004-03-29 08:37:09 +00:00
Paolo Cignoni
6ea584884a
First working version!
2004-03-29 08:36:26 +00:00
Federico Ponchio
760a82a416
#include sbagliato.
2004-03-25 17:25:46 +00:00
Federico Ponchio
ae639dd45a
Microerror. ($LOG$ -> $Log: $
2004-03-25 14:57:50 +00:00
Federico Ponchio
7f79205b30
Microerror. ($LOG$ -> $Log: $
2004-03-25 14:57:49 +00:00
Federico Ponchio
fcdf344cf6
*** empty log message ***
2004-03-25 13:54:06 +00:00
Federico Ponchio
5a69f4fe30
First version.
2004-03-21 17:51:57 +00:00
Federico Ponchio
7638edc6e1
Added a math::
2004-03-21 17:14:56 +00:00
Paolo Cignoni
ad431fccd3
minor changes
2004-03-18 16:00:10 +00:00
Paolo Cignoni
1a4283c2af
Completed Octahedron and Icosahedron
2004-03-18 15:29:07 +00:00
mtarini
68b448da9e
first version
2004-03-16 03:08:17 +00:00
mtarini
6e7e008ed3
first commit
2004-03-16 03:08:02 +00:00
mtarini
223902e61c
"dimensionally unified" version: first commit
2004-03-16 03:07:38 +00:00
mtarini
e4cf5549cd
- added VoidType - added "static_assert"
2004-03-16 00:23:50 +00:00
Paolo Cignoni
1416372b32
Corrected bug on the return of a wrong iterator
2004-03-12 15:25:29 +00:00
Paolo Cignoni
a341239296
Written some documentation and added to the trimes doxygen module
2004-03-12 15:22:28 +00:00
mtarini
5156f16cf4
prova
2004-03-11 18:14:19 +00:00
mtarini
35d6370a57
added commets (doxy), uniformed with new style, now using math::, ...
...
added HomoNormalize(), Zero()... remade StableDot() (hand made sort).
2004-03-11 17:17:49 +00:00
mtarini
f36d1e007a
minor updates, corrections, added documentations, etc.
2004-03-11 11:47:20 +00:00
Paolo Cignoni
49c4d52f70
Written some documentation and added to the face module
2004-03-11 09:02:35 +00:00
Paolo Cignoni
70d23b8bdb
Written some documentation and added to the space module
2004-03-11 08:54:12 +00:00
Paolo Cignoni
c735627fae
Written some documentation and added to the space module
2004-03-10 21:38:40 +00:00
mtarini
b84e4c7460
Added comments (Dox) !
...
Added Import(). Costruct(), ScalarType... Corrected cross prod (sign). Added Angle. Now using Math:: stuff for trigon. etc.
2004-03-10 17:42:40 +00:00
mtarini
bc1fdc913b
Added Atan2.
...
Added common utilities: Max, Min, Swap, Sort(a,b), Sort(a,b,c).
Changed Max values syntax. example: Value<float>::Max
2004-03-10 17:37:54 +00:00
mtarini
eda1533770
Added Atan2.
...
Added common utilities: Max, Min, Swap, Sort(a,b), Sort(a,b,c).
Changed Max values syntax. example: Value<float>::Max
2004-03-10 16:54:57 +00:00
mtarini
017afe95d0
added Normalized flag
2004-03-10 15:27:48 +00:00
mtarini
9215ea92e7
first version
2004-03-10 15:27:18 +00:00
Paolo Cignoni
f56ea4cc0d
Initial commit
2004-03-10 08:32:30 +00:00
Paolo Cignoni
2fb492d90a
minor changes
2004-03-10 01:00:21 +00:00
Paolo Cignoni
07267f54f0
Moved geometric stuff to the space/triangle class
2004-03-10 00:52:38 +00:00
Paolo Cignoni
d08568913e
First working version!
2004-03-10 00:50:41 +00:00
Paolo Cignoni
78e4cccaba
changed to the face::IsBorder() style
2004-03-10 00:48:06 +00:00
Paolo Cignoni
68beee8a27
Added gcc required typenames to tetrahedron and octaehedron
2004-03-10 00:37:31 +00:00
Paolo Cignoni
b68d85894d
added a math namespace reference
2004-03-10 00:35:24 +00:00
Paolo Cignoni
9ec5d86675
Removed a wrong (?) copy constructor
2004-03-10 00:35:01 +00:00
Paolo Cignoni
7d78a93492
Initial commit
2004-03-10 00:30:21 +00:00
Federico Ponchio
499b368150
Double - float conversions.
2004-03-09 20:54:57 +00:00
mtarini
86e23fb5d4
smaller update
2004-03-09 19:29:52 +00:00
mtarini
5ed7bf6aba
(CVS did not want to undo update)
2004-03-09 17:55:04 +00:00
mtarini
5f11437fd1
Added "Normalize" flag
2004-03-09 16:47:32 +00:00
Paolo Cignoni
c24a286899
cr lf mismatch
2004-03-09 14:17:58 +00:00
Paolo Cignoni
417940a2d5
Initial commit
2004-03-09 14:16:55 +00:00
Federico Ponchio
1fb1bcafd5
Variuos errors and minor changes.
2004-03-09 13:57:29 +00:00
mtarini
43f74f4627
First Version (tarini)
2004-03-08 19:46:47 +00:00
mtarini
7a5b65928b
*** empty log message ***
2004-03-08 19:40:48 +00:00
mtarini
ed506a2ea5
first version (tarini)
2004-03-08 19:38:29 +00:00
mtarini
f179d1caa6
first version (tarini)
2004-03-08 16:15:48 +00:00
Federico Ponchio
745f415f4e
Small errors.
2004-03-08 15:33:58 +00:00
Federico Ponchio
a9f4159490
Transpose had some errors.
2004-03-08 14:49:58 +00:00
Federico Ponchio
a462f2ce71
Aggiunti un po di inline davanti alle funzioni
2004-03-08 14:49:37 +00:00
Paolo Cignoni
b91d8334d5
Initial commit
2004-03-08 09:24:59 +00:00
Paolo Cignoni
42e0406b07
Initial commit
2004-03-08 05:25:48 +00:00
Federico Ponchio
a7a6bc009e
Added header.
2004-03-08 01:48:13 +00:00
Paolo Cignoni
9150fdfb37
Initial commit
2004-03-08 01:13:31 +00:00
Paolo Cignoni
12d0d04898
Moved quality and normal functions to the triangle class.
2004-03-07 22:45:32 +00:00
Paolo Cignoni
5cc5474ad2
some more reflection functions
2004-03-07 21:54:56 +00:00
Federico Ponchio
10e01614a6
Renamed.
2004-03-06 15:48:16 +00:00
Federico Ponchio
ae18099281
Added Import.
2004-03-06 15:46:43 +00:00
Federico Ponchio
59d5a521a8
Renamed from similar
2004-03-06 15:45:35 +00:00
Paolo Cignoni
c11adb316e
First working version for face face
2004-03-05 21:49:21 +00:00
mtarini
1a8c8a6199
errorino: upper case in Zero()
2004-03-05 17:55:01 +00:00
mtarini
dc05252eec
Errorino "ScalarType" -> "BoxScalarType"
2004-03-05 17:51:28 +00:00
Paolo Cignoni
7ba68001eb
Changed name from plural to singular (normals->normal)
2004-03-05 15:56:17 +00:00
Federico Ponchio
02966b735b
Created.
2004-03-05 15:15:11 +00:00
Paolo Cignoni
0267a76a42
Changed name from plural to singular (normals->normal)
2004-03-05 11:26:40 +00:00
Paolo Cignoni
3bdaf481ea
Initial commit
2004-03-05 11:26:15 +00:00
Paolo Cignoni
5c0b925ef8
Changed name from plural to singular (normals->normal)
2004-03-05 10:59:24 +00:00
Federico Ponchio
edb97e9493
Varie correzioni.
2004-03-04 02:10:14 +00:00
Paolo Cignoni
807aec3803
Initial commit
2004-03-04 00:53:24 +00:00
Federico Ponchio
827fcf31b1
Post moltiplication was wrong.
2004-03-04 00:45:51 +00:00
Paolo Cignoni
2181539c6b
First working version!
2004-03-04 00:37:56 +00:00
Paolo Cignoni
36829a099d
First working version!
2004-03-04 00:29:45 +00:00
Federico Ponchio
bace904c2e
Added a return in Invert
2004-03-04 00:28:39 +00:00
Federico Ponchio
5a3ae0799c
first version
2004-03-04 00:21:33 +00:00
Federico Ponchio
e5cde4e163
added Acos e Asin
2004-03-04 00:21:00 +00:00
Paolo Cignoni
d52cbb2602
First working version!
2004-03-04 00:08:15 +00:00
Paolo Cignoni
5332b4ac5b
changed math from class to template
2004-03-03 22:51:49 +00:00
Paolo Cignoni
f657ab9c6c
First working version (tetrahedron!)
2004-03-03 16:11:46 +00:00
Paolo Cignoni
71749144a2
First working version
2004-03-03 16:08:38 +00:00
Paolo Cignoni
3b155f73e2
Yet another cr lf mismatch
2004-03-03 16:07:57 +00:00
Paolo Cignoni
0556b33b65
Yet another cr lf mismatch
2004-03-03 15:35:53 +00:00
Paolo Cignoni
cd85d6ca7d
renamed protected member v -> _v
2004-03-03 15:07:40 +00:00
Paolo Cignoni
e6a05ea921
Yet another cr lf mismatch
2004-03-03 14:32:13 +00:00
Paolo Cignoni
86786bc121
Yet against cr lf mismatch
2004-03-03 14:22:48 +00:00
Paolo Cignoni
f61873646f
grouped documentation, changed typenames and reflection mechanism
2004-02-24 21:36:42 +00:00
Paolo Cignoni
547edd7427
cr lf mismatch
2004-02-23 23:44:21 +00:00
Paolo Cignoni
adb4bd3f1b
Translated comments, removed unusued stuff. corrected linefeed/cr
2004-02-23 23:42:26 +00:00
Paolo Cignoni
ba0ae377c2
cr lf mismatch 2
2004-02-19 16:12:28 +00:00
Paolo Cignoni
e5dbdbe05c
cr lf mismatch
2004-02-19 16:06:24 +00:00
Federico Ponchio
2a7b7cd304
*** empty log message ***
2004-02-19 15:54:11 +00:00
Paolo Cignoni
04fe64ca77
Added doxygen groups
2004-02-19 15:40:56 +00:00
Federico Ponchio
ca807a0787
*** empty log message ***
2004-02-19 15:28:01 +00:00
Federico Ponchio
a952f745a0
Sqrt -> Math<...>::Sqrt
2004-02-19 15:27:40 +00:00
Paolo Cignoni
cf744db2db
corrected sqrt and added doxygen groups
2004-02-19 15:13:40 +00:00
Federico Ponchio
9b71765561
Doxygen and minimal changes.
2004-02-19 14:58:23 +00:00
Federico Ponchio
073d9ba770
Created.
2004-02-19 14:42:05 +00:00
Paolo Cignoni
067b327350
removed dangerous 'using namespace vcg'
2004-02-19 14:33:00 +00:00
Paolo Cignoni
5df7571769
sorted types in alphabetic order
2004-02-19 14:24:37 +00:00
Paolo Cignoni
2c061402f5
Initial commit
2004-02-19 13:11:06 +00:00
Paolo Cignoni
b3469007e8
Definively removed
2004-02-19 13:09:01 +00:00
Paolo Cignoni
d84b6632fa
Definively removed
2004-02-17 23:38:36 +00:00
Paolo Cignoni
df4546eb32
Di prova...
2004-02-17 02:08:47 +00:00
Paolo Cignoni
30bc1a1c17
Initial commit
2004-02-17 01:06:50 +00:00
Paolo Cignoni
456da92c39
Cambiato nome type template in accordo alla styleguide
2004-02-15 23:35:47 +00:00
Paolo Cignoni
a5aa7d19f2
Initial commit
2004-02-15 23:34:04 +00:00
Paolo Cignoni
5a558b0f8c
Edited Comments and GPL license
2004-02-13 02:18:57 +00:00
Paolo Cignoni
baeb123312
First working release.
2004-02-13 02:16:22 +00:00
Paolo Cignoni
afb966c8d8
First working release, with doxygen comment structure
2004-02-13 02:09:39 +00:00
Paolo Cignoni
b2481bc732
First commit...
2004-02-13 00:44:53 +00:00
Paolo Cignoni
c6f15ed3ad
Edited Comments and GPL license
2004-02-10 01:11:28 +00:00
Paolo Cignoni
c6ba9e39cc
Edited doxygen comments
2004-02-09 13:48:02 +00:00
Federico Ponchio
ea0cf9013d
*** empty log message ***
2004-02-09 13:33:32 +00:00
Federico Ponchio
04afe4c81e
Adding base.h
2004-02-09 13:32:16 +00:00
Paolo Cignoni
24cd6edda1
Initial commit
2004-02-09 01:28:24 +00:00
Paolo Cignoni
2ddf441524
Corrected Clamp
2004-02-09 01:19:49 +00:00
Paolo Cignoni
159bd2bf10
Added Magnitudo Comparer
2004-02-09 00:27:38 +00:00
Paolo Cignoni
a77d22988c
cleaned up todeg and torad
2004-02-08 18:11:21 +00:00
Paolo Cignoni
3d0bea8089
First working release.
2004-02-06 02:25:54 +00:00
Paolo Cignoni
08a437c3c3
First commit...
2004-02-06 02:24:47 +00:00
Paolo Cignoni
23653c6752
First commit...
2004-02-06 02:17:09 +00:00
Paolo Cignoni
1e79ceef6f
First commit...
2004-02-05 16:08:27 +00:00