giorgiomarcias
5085477562
Made constant some parameters, where possible.
2015-01-05 14:58:30 +00:00
Nico Pietroni
94d9a3dbdd
* fixed several bugs
...
* added several functions to compute the quality of a polygonal meshing
* added the template polygon computation as in "Static Aware Grid Shells" by Pietroni et Al.
2015-01-05 12:57:16 +00:00
Luigi Malomo
ee3177b1d9
included missing header.
2014-12-17 19:11:45 +00:00
Nico Pietroni
48b7365ba4
corrected one error in Interpolationparameters
2014-12-17 17:17:47 +00:00
Luigi Malomo
efaabde8d0
Types fixed to avoid clang compiler issues.
2014-12-10 00:54:10 +00:00
Nico Pietroni
472373efbe
minor changes for compilation with Clang
2014-12-08 15:11:01 +00:00
Paolo Cignoni
40aedda6b0
Added also a NormalizedTriangleNormal. Too much practical...
2014-11-14 23:00:36 +00:00
Paolo Cignoni
16f4795588
CRITICAL CHANGE: the commonly used function Normal() used to compute the normal of a triangle has been changed into TriangleNormal()
2014-11-12 00:04:26 +00:00
Paolo Cignoni
3bc278c224
renamed polygon.h to polygon3.h for coherence...
2014-11-12 00:03:01 +00:00
Paolo Cignoni
144c3ce295
Added file for containing polygon based functions (just like triangle)
2014-11-12 00:01:32 +00:00
Paolo Cignoni
0a42a15d35
improved documentation, remove extra ';' and useless const
2014-11-03 15:05:34 +00:00
Luigi Malomo
79f4c6ac94
Added VN() function to triangle3.
2014-11-01 16:58:53 +00:00
Massimiliano Corsini
708463311e
fix GetBBOx changes
2014-10-13 08:36:01 +00:00
Massimiliano Corsini
0fd22c536b
fix include path
2014-10-13 08:35:29 +00:00
ganovelli
918cec664a
fixed includes to new files position (also in app2/sample/hashing_2D)
2014-10-09 14:10:27 +00:00
ganovelli
578f4ae72e
changed names to avoid troubles with OS oblivious to letter case
2014-10-09 14:04:09 +00:00
ganovelli
d5d50503c7
changed the filnenames to avoid possible trouble with OS oblivious to letter case
2014-10-09 14:02:56 +00:00
ganovelli
5249736918
completed renaming to lowercase of space/index/index2d and hashing_test2d
2014-10-09 12:32:03 +00:00
ganovelli
1b833f40a9
renaming to lower case (continued)
2014-10-09 12:25:30 +00:00
ganovelli
0c7c9db51a
renaming to lowercase
2014-10-09 12:23:46 +00:00
ganovelli
d78ad96d9a
files renaming to lowercase
2014-10-09 12:22:31 +00:00
Luigi Malomo
81bdd19245
temp fix of include directive. file naming should be fixed for coherency.
2014-09-29 16:52:05 +00:00
Luigi Malomo
a78ac53814
added edge mesh support to OBJ importer
...
corrected a type to avoid clang compiler issues
2014-09-06 11:06:23 +00:00
Nico Pietroni
feff81dd01
solved minor error with templated scalar type
2014-08-28 09:46:49 +00:00
granzuglia
f2efb48a3c
rect_packer.h:
...
- removed Visual Studio warnings
2014-08-09 10:10:03 +00:00
Paolo Cignoni
35d099384f
added a MaxCoeffId utility function that was missing...
2014-08-09 00:01:41 +00:00
Nico Pietroni
ad69d7d893
chenged GridDoRay to GridDoRay2D.. corrected one bug in the initial #define
2014-08-08 21:32:50 +00:00
Nico Pietroni
b06ff095a1
corrected some minor warning
2014-08-01 00:25:26 +00:00
Nico Pietroni
48bca62885
corrected some minor warning
2014-08-01 00:24:55 +00:00
Nico Pietroni
2134c8f064
corrected some minor warning
2014-08-01 00:24:21 +00:00
Nico Pietroni
3dfce75a37
2014-08-01 00:18:43 +00:00
Nico Pietroni
3c6625d060
added DoRay and Closest Point queries
2014-08-01 00:17:06 +00:00
Nico Pietroni
8909e9205a
removed one commented line
2014-08-01 00:16:23 +00:00
Nico Pietroni
2c2b5b1319
added constructor with center and radius
2014-08-01 00:15:51 +00:00
Nico Pietroni
433d070691
added RayBoxIntersection function and RaySegmentIntersectionFunctor
2014-08-01 00:15:14 +00:00
Nico Pietroni
565308c80d
corrected one bug in closest point
2014-08-01 00:14:25 +00:00
Nico Pietroni
cd83a42ea6
added PointSegment2DEPFunctor
2014-08-01 00:13:25 +00:00
Nico Pietroni
6902670e48
indented and remove include of triangle3
2014-08-01 00:12:49 +00:00
Luigi Malomo
2e5ac741a8
added closest face function which returns also barycentric coordinates and the interpolated normal for the closest point.
...
fixed Inside class for checking if a point is inside a mesh
minor fixes
2014-07-26 14:44:59 +00:00
Paolo Cignoni
c2f98a8595
Added missing standard vcg header comment
2014-07-12 05:49:07 +00:00
Paolo Cignoni
d520fe2f0e
Corrected small clang typename issues
2014-07-11 13:00:44 +00:00
Gianpaolo Palma
31fb567321
Thread-safe refactoring of the class KdTree.
...
Removed methods:
void setMaxNofNeighbors(unsigned int k);
inline int getNofFoundNeighbors(void);
inline const VectorType& getNeighbor(int i);
inline unsigned int getNeighborId(int i);
inline float getNeighborSquaredDistance(int i);
Added methods:
void doQueryDist(const VectorType& queryPoint, float dist, std::vector<unsigned int>& points, std::vector<Scalar>& sqrareDists);
void doQueryClosest(const VectorType& queryPoint, unsigned int& index, Scalar& dist);
Changed methods:
void doQueryK(const VectorType& queryPoint, int k, PriorityQueue& mNeighborQueue);
2014-07-11 11:52:52 +00:00
Gianpaolo Palma
0491ceedeb
Added method "sort(bool)" to sort the element of the queue in ascending or descending order
2014-07-11 11:35:15 +00:00
Paolo Cignoni
a743e93a70
Reasonable but harmless clang warning cleanup
2014-07-03 21:28:40 +00:00
Paolo Cignoni
5e910a0058
Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
2014-07-01 10:08:30 +00:00
Paolo Cignoni
cf856d0a6b
Reasonable but harmless clang warning cleanup
2014-07-01 10:08:00 +00:00
Paolo Cignoni
f576d96d39
Templated the IPiToPf and IPfToPf function to allow volumes with scalar type different from the one of the meshes
2014-06-24 08:47:34 +00:00
Paolo Cignoni
01ab3c4e68
Templated the Lerp color operator to allow use with double...
2014-06-24 08:46:49 +00:00
Gianpaolo Palma
f97ccfbf56
Added destructor to HeapMaxPriorityQueue
2014-06-20 13:55:19 +00:00
Paolo Cignoni
f5778fd180
Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
2014-06-20 07:04:42 +00:00