Commit Graph

74 Commits

Author SHA1 Message Date
korialis 5556f4184c fixed some const correctness issues on tetrahedrons 2021-11-16 15:29:10 +01:00
alemuntoni 9353836106 remove memcpy on allocate.h 2021-10-19 15:31:06 +02:00
alemuntoni d69e3e67cc cleanups 2021-03-24 17:59:53 +01:00
alemuntoni e36aa76fbd complex and simplex self-sufficient headers 2021-03-24 16:08:53 +01:00
alemuntoni 0b99eaa7b2 first complex.h files made self-sufficient 2021-03-24 14:53:00 +01:00
alemuntoni 34af1c91bd ConstPerMeshAttributeHandle 2021-03-23 16:52:56 +01:00
alemuntoni 94dc161edb ConstPerTetraAttributeHandle 2021-03-23 16:30:36 +01:00
alemuntoni 7f8260b0a4 ConstPerEdgeAttributeHandle 2021-03-23 16:20:31 +01:00
alemuntoni e0ccec2fc8 ConstPerFaceAttributeHandle 2021-03-23 16:12:04 +01:00
alemuntoni 7c601cc837 ConstPerVertexAttributeHandle 2021-03-23 15:27:13 +01:00
alemuntoni 3bfe5793f6 SimpleTempData DataBegin and const DataBegin 2021-03-23 13:15:24 +01:00
alemuntoni 82ce871150 const GetAllAttributeHandle 2021-03-19 13:16:48 +01:00
alemuntoni 4b387c3f67 const correctness for user defined mesh attributes 2021-01-26 12:50:29 +01:00
alemuntoni f7871eed2d bugfixes and PR template 2020-04-17 16:44:23 +02:00
Iason a4936cfe89 Added constness specifier to Index function. 2020-02-05 17:35:15 +01:00
T.Alderighi c92ccb5656 more bugs under gcc/clang 2018-05-11 12:10:39 +02:00
T.Alderighi 05764ee1c2 minor typos 2018-05-09 17:14:16 +02:00
T.Alderighi 67a80722d5 removed tetra complex...bootstrapping tetra in trimesh:
base done
foreach done
Allocator done
Append done

quality selection topology WIP
clean todo
2018-05-04 18:12:02 +02:00
T.Alderighi b662f747a0 bootstrapping tetra as trimesh component 2018-05-04 12:08:32 +02:00
Paolo Cignoni 91c74665fb Added to the ClearPerVertexAttribute the possibility of init with a value 2018-02-13 19:37:37 +01:00
Paolo Cignoni 142ec158f6 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2017-12-21 01:18:19 +01:00
Paolo Cignoni 975027bcf6 Added Add Edge, corrected bug in the assert in addFace 2017-12-21 01:14:23 +01:00
Gianpaolo Palma f961a49248 Added type info to the custom attributes 2017-12-07 13:52:03 +01:00
Paolo Cignoni d1a63e73be Added a missing update of adjacency fields in edges for the add edges 2017-09-04 14:54:13 +02:00
Gianpaolo Palma 8b90ba72a3 Bug fixed by removing the deferencing of the end() iterator of the container 2016-10-07 17:01:39 +02:00
Guido Ranzuglia 92eec412a5 - the DeletePerMeshAttribute signature (and semantics...) has been consistent with the other DeletePerXXXAttribute functions
I discussed with Fabio about it
2016-07-28 12:32:13 +02:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Paolo Cignoni 6f0d5cb168 Added very useful "IsValidPointer" functions that check that a given pointer is within the reasonable bounds for a given mesh (eg. given a vertex pointer it checks that it is between begin and end of the vertex vector) 2016-04-11 20:31:56 +00:00
giorgiomarcias b7694288e5 Corrected vertex reference assignment for second triangle in AddQuadFace for the case of two triangles with faux flags 2016-02-14 06:56:26 +00:00
Gianpaolo Palma 4a7940a37b Removed debug code 2015-10-21 17:32:21 +00:00
Gianpaolo Palma fd2bfa9f64 Bug fixed in CompactFaceVector. The FF topology must be updated always. 2015-10-21 15:55:09 +00:00
giorgiomarcias 882d54d6ae Fixed some memory leaks when using polygonal component for faces. Deallocations more stable and clear for each component, using also local dynamic memory deallocs. Changed Clear() method of TriMesh which guarantees perfect deallocations of faces' components. Fixed also CompactFaceVector which now deallocates faces before resizing the vector. In DeleteFace, not only the flag is set, but also the face's components are deallocated. 2014-12-15 15:36:37 +00:00
Paolo Cignoni 65336cfe7b Trying to solve int / size_t issues. Added a error guard to avoid inclusion of append. 2014-07-07 10:09:25 +00:00
granzuglia 991aa707d9 - added int cast in order to avoid annoying warnings 2014-07-07 06:58:08 +00:00
Paolo Cignoni afc802107a Made uniform the use of size_t instead of int in the vast majority of the allocate.h functions 2014-07-03 20:57:26 +00:00
Paolo Cignoni d3a7e225ee added a AddEdge ( point - point) member to the Allocator Class 2014-06-17 13:05:46 +00:00
Paolo Cignoni b572187a63 added yet another wrapper for the Allocator Add face. it is quite useful to add faces just with indexes... 2014-05-15 16:31:39 +00:00
Paolo Cignoni dbe0d2b7f5 Wrapper to AddVertices() to add, with a single call, a single vertex with given coords and normal 2014-04-17 09:49:40 +00:00
Paolo Cignoni e042757e5a Added another AddFace wrapper. 2014-03-04 00:31:49 +00:00
Paolo Cignoni 62bd82e208 added one more control in AddFace 2014-03-03 07:44:03 +00:00
Paolo Cignoni 0d6c673a9b PolygonalMesh Debugging: Improved Allocator robustness. Better allocation/deallocation of polyigonal elements 2014-02-18 10:56:16 +00:00
giorgiomarcias 4260535fa6 Corrected two wrong indexes on the access to the vertexes of a face while compacting the face vector: just a typo mistake. 2014-02-12 12:15:42 +00:00
Paolo Cignoni 7747e6097f Corrected a few allocating and copyng functions to manage polygonal meshes instead of simple triangular ones. 2014-02-12 10:59:37 +00:00
Paolo Cignoni 43b738796d Significantly improved documentation. Refactored a bit some of the Add* for better readability 2013-12-12 20:35:27 +00:00
Paolo Cignoni 84c80a1972 Include header cleaning and reordering. 2013-11-25 10:01:24 +00:00
granzuglia d59e519e8f - added missing "#include" 2013-10-16 08:36:05 +00:00
Paolo Cignoni 607e048265 added a few assert in the newly added AddFace shortcut 2013-10-03 14:32:01 +00:00
Paolo Cignoni ad17f61dc0 added a simple wrapper to add a single vertex to a mesh given its coords 2013-10-03 09:57:45 +00:00
Nico Pietroni afef24633f added #include <vcg/container/simple_temporary_data.h> 2013-09-21 00:52:24 +00:00
Paolo Cignoni c5549f607a Cleaned up the edge allocator and added two small wrapper for adding and initializing a single face or edge with the vertex pointers 2013-07-26 09:34:41 +00:00