Paolo Cignoni
c7320a32a3
added functions to remove connected components
2009-06-25 08:49:37 +00:00
Paolo Cignoni
b2bc0d07ba
small gcc compilation errors (typenames, missing std...)
2009-06-25 07:29:29 +00:00
Paolo Cignoni
eae78a0251
completed the correct working of temporary data inside the refinement functions
2009-06-25 06:19:00 +00:00
Paolo Cignoni
2c3da1c3c9
changed the constructor of the MidPoint functor of the refine. Now it requires a Mesh as an argument to get reliable knowledge of the presence/absence of temporary data.
2009-06-24 20:31:57 +00:00
Paolo Cignoni
ace6a183b3
added a missing HasPerVertexTexture()
2009-06-24 20:30:36 +00:00
Paolo Cignoni
a88ee5b244
Added ocf management of per vertex texture coord
2009-06-23 20:45:44 +00:00
Paolo Cignoni
c534298f2f
removed harmless warning
2009-06-23 20:45:06 +00:00
Paolo Cignoni
60afe72ca8
added initialization of the mesh color to the standard opossum gray
2009-06-23 20:43:39 +00:00
Marco Di Benedetto
e3f40f6c36
added checks for components before accessing them.
2009-06-22 16:53:40 +00:00
ganovelli
52be070545
patch to the previous commit, shot loading/saving
...
was not to be removed (fixed)
2009-06-16 16:51:13 +00:00
ganovelli
1d0385eb0a
removed camera and shot from trimesh
...
(all .vmi files produced before this change now invalid)
2009-06-16 14:55:12 +00:00
Paolo Cignoni
168ea81ca8
Added PerlinColor function and ColorNoise function
2009-06-16 08:57:24 +00:00
Marco Di Benedetto
625497e788
fixed ImportLocal() in WedgeColor: iteration was missing.
2009-06-15 17:26:00 +00:00
Paolo Cignoni
fde38e0612
added missing iteration control inthe hc laplacian smoothing
2009-06-11 23:56:06 +00:00
Paolo Cignoni
70d3ccfa23
Removed harmless warnings
2009-06-11 23:55:06 +00:00
Nico Pietroni
a3eee3aa3c
2009-06-10 08:44:22 +00:00
Marco Di Benedetto
39156cafe4
completed support for WedgeColor.
2009-06-09 18:23:50 +00:00
Marco Callieri
b066baa686
added cast in a SQRT (could not resolve overloading
...
(int)(sqrt((double)n_samples) +1.0);
2009-06-08 15:48:55 +00:00
Paolo Cignoni
b05e5d1184
Made public the default constructor of PerVertexAttributeHandle, PerFaceAttributeHandle.
...
I hope that it was done private by mistake...
2009-06-07 08:55:44 +00:00
Federico Ponchio
b39afe0c18
gcc complained about perVertexAttributeHandle missing template parameters...
2009-06-05 11:08:37 +00:00
Marco Di Benedetto
4e6b4a5b8f
added Offset() method.
2009-06-05 09:32:47 +00:00
ganovelli
f223914581
factorized a bit the attribute classes in TriMesh;
...
added to IsValidHandle the check that pointer to data is not null.
Explanation:
a handle may be not valid for two reasons:
1) the attribute has been destroyed with a DeletePer*Attribute
2) the handle has been declared but not initialized.
The change is to cover the case 2)
2009-06-04 16:13:21 +00:00
ganovelli
66ec7652dc
factorized a bit the attribute classes in TriMesh;
...
added to IsValidHandle the check that pointer to data is not null.
Explanation:
a handle may be not valid for two reasons:
1) the attribute has been destroyed with a DeletePer*Attribute
2) the handle has been declared but not initialized.
The change is to cover the case 2)
2009-06-04 16:08:15 +00:00
Paolo Cignoni
69004410e3
Corrected a wrong function to clear border face flag (and added BORDER012 to the enums of the flags)
2009-06-04 08:15:59 +00:00
Federico Ponchio
e888ef1560
removed some useless consts
2009-06-03 12:23:20 +00:00
Marco Di Benedetto
87d8294391
fixed uninitialized variable.
2009-05-29 18:33:19 +00:00
Marco Di Benedetto
a4102993bb
fixed uninitialized variable.
2009-05-29 18:32:35 +00:00
Marco Di Benedetto
8b9f17d14c
removed some warnings and added return statement.
2009-05-29 16:29:14 +00:00
Marco Di Benedetto
875c8e71b7
added QMap header.
2009-05-29 16:28:22 +00:00
Paolo Cignoni
b96d693960
bool ClearAllF() -> void ClearAllF() (no reason it is a bool returning function)
2009-05-26 22:35:57 +00:00
Paolo Cignoni
b3e9a9e105
Changed a few geodesic function from void to bool to return possible failures (like for exmple asking for border distance on a mesh without border)
2009-05-26 22:31:58 +00:00
mtarini
c0b0c7469c
Added diagnostic and measurement methods for bit-polygonal meshes: IsBitQuadOnly, IsBitTriOnly, IsBitPolygonal, IsBitTriQuadOnly, CountBitQuads, CountBitTris, CountBitPolygons, HasConsistentPerFaceFauxFlag...
2009-05-26 18:19:17 +00:00
mtarini
ac017fffb6
added few shortcuts to handle faux flags together: IsAnyF, ClearAllF (and a bit-mask FAUX012).
2009-05-26 17:57:24 +00:00
mtarini
0856e6a2eb
added CosWedge which returns the cos of a wedge
2009-05-26 17:50:18 +00:00
Paolo Cignoni
37057700b2
Changed the brightness and contrast color processing algorithm to match exactly the GIMP algorithm.
2009-05-25 09:02:32 +00:00
Paolo Cignoni
0f4817d486
Correct a bug.
2009-05-23 20:14:53 +00:00
Paolo Cignoni
57a202111c
Added the functor PointNormalDistanceFunctor used in the GetClosestFaceNormal.
2009-05-23 20:12:58 +00:00
Paolo Cignoni
a0a965f17c
Added the method GetClosestFaceNormal, that use the functor PointNormalDistanceFunctor.
2009-05-23 20:10:48 +00:00
granzuglia
cb7b4db79c
added IO_CAMERA in GetExportMaskCapability
2009-05-22 12:43:35 +00:00
Paolo Cignoni
291c2790af
Removed harmless warnings
2009-05-22 07:54:42 +00:00
Paolo Cignoni
e1e58a75cf
added another shape to platonic, a camera.
2009-05-21 23:04:49 +00:00
Paolo Cignoni
b441009e15
added an invalid method that says if a shot is "reasonable" or not. A shot is valid if its Intrinsics are valid.
2009-05-21 23:04:09 +00:00
Paolo Cignoni
c5491807fd
*** SIGNIFICANT CHANGE ***
...
The member 'camera' of the base trimesh class, is no more used since Dec 2006.His initial purpose was keeping intrinsics of the camera, but it is a long time that intrinsics have moved into the Shot class.
The I/O procedure already comply this fact filling only the interal structure.
2009-05-21 23:02:48 +00:00
Paolo Cignoni
2d3d9bd13f
corrected wrong test on the use of faux edges when drawing in wireframe
2009-05-21 22:59:16 +00:00
Paolo Cignoni
f5126d7ffe
renamed a EPSILON variabile to avoid name clash
2009-05-18 15:06:11 +00:00
granzuglia
f3419c58e2
added GPL incipit
2009-05-18 14:21:28 +00:00
granzuglia
70ee5ab8bd
added GPL incipit
2009-05-18 14:20:34 +00:00
granzuglia
9a900a640f
added GPL incipit
2009-05-18 14:19:30 +00:00
Paolo Cignoni
143f9461dd
moved (and renamed) trivial walker from apps/ to vcg/complex/trimesh/create
2009-05-18 14:19:12 +00:00
granzuglia
2e06ebc183
added GPL incipit
2009-05-18 14:15:15 +00:00