Commit Graph

1441 Commits

Author SHA1 Message Date
alemuntoni 3d0e74e472 stl const correctness 2021-03-18 18:30:54 +01:00
alemuntoni 0a2ed11ac2 (partial) ply const correctness 2021-03-18 18:21:59 +01:00
alemuntoni a1e1ba882f 3ds const correctness 2021-03-18 17:23:27 +01:00
Luigi Malomo 3ef68d6009 missing include 2021-03-05 12:54:13 +01:00
alemuntoni b54ca75043 fix import_stl for windows build 2021-03-02 15:32:35 +01:00
alemuntoni a7c1893b8d fix export collada also with double precision scalars 2021-03-02 15:16:02 +01:00
alemuntoni fed787ebb9 fix stl filesize computation for >2gb files (see https://github.com/cnr-isti-vclab/meshlab/issues/924) 2021-03-02 14:25:30 +01:00
alemuntoni e292f0cc9b fix malformed file on some stl files (see https://github.com/cnr-isti-vclab/meshlab/issues/732) 2021-02-12 17:48:34 +01:00
Luigi Malomo 4ae9537e75 added check for file path length when opening a mesh with the generic importer 2021-02-10 12:33:03 +01:00
alemuntoni 280245b70b hardcoded floats to Scalar; fix some warnings (#158) 2021-01-28 12:46:13 +01:00
nico ed5ae26e42 changed minimal smooth ring to 3 in order to avoid not sufficient neighbors for curvature computation 2020-12-19 17:22:42 +11:00
Luigi Malomo 10af2ab4ae corrected precision for saving floating point into ascii ply using nanoply 2020-12-17 00:12:45 +01:00
alemuntoni 313d9b14ff try to fix nonworking gh action 2020-12-11 17:44:32 +01:00
alemuntoni cc0bd7b1e2 fix exif include 2020-11-30 10:59:15 +01:00
Luigi Malomo 141a27104e fixed nanoply warnings 2020-11-25 09:59:29 +01:00
nico 9b6f9df6cc added the possibility to work on any kind of scalar for mesh 2020-11-25 17:51:02 +10:00
alemuntoni 59548afa48 import ply supports uint type for edge properties vertex1 and vertex2 2020-11-19 17:40:32 +01:00
alemuntoni 6228d92fec solved crash for stl meshes > 2GB 2020-11-16 09:54:18 +01:00
alemuntoni dd8c26474d vcg/wrap/import_out.h uses easyexif lib, small typo corrected in alnParser 2020-09-23 13:07:03 +02:00
alemuntoni 94cc728ddb missing include callback.h 2020-09-18 12:54:03 +02:00
korialis 2620ac088b fix old regression after moving tetra code into the tri namespace 2020-07-24 11:53:04 +02:00
korialis 6364f28aa6 quick fix for code referencing undeclared variable & trimesh from tetra border 2020-07-23 16:36:26 +02:00
alemuntoni 7e6bdb7106 alnParser in wrap/io_trimesh 2020-06-24 12:36:50 +02:00
alemuntoni e7ce2614ec moved newuoa to vcg 2020-05-29 10:56:33 +02:00
alemuntoni 0caaf49d37 unuseful copy constructor box - deleted trackball assignment operator 2020-05-20 15:59:46 +02:00
alemuntoni f7871eed2d bugfixes and PR template 2020-04-17 16:44:23 +02:00
alemuntoni 9bd0068798 fix import fbx without materials 2020-03-31 15:19:23 +02:00
Alessandro Muntoni 076f6bcbb7
Merge pull request #72 from DaveGargan/devel
In PLY import consume comments that appear before format header
2020-03-30 11:02:12 +02:00
Alessandro Muntoni 2d35e3964d
Merge pull request #64 from norbertwenzel/virtual_dtor_cleanup
Fix missing virtual destructor warnings
2020-03-30 10:08:40 +02:00
nico 75243d1cc2 corrected some visualisation issue 2020-03-22 12:09:40 +11:00
alemuntoni 3285c6b1e5 fix some gcc warnings 2020-02-27 16:31:39 +01:00
Luigi Malomo ae5e873c2a minor fixes 2020-02-11 17:15:00 +01:00
Dave Gargan 2f97d9bd8f In PLY import consume comments that appear before format header 2020-01-31 11:22:03 +00:00
Luigi Malomo 87f8ba9b33 fixed bugs and compilation errors in nanoply 2020-01-17 10:54:37 +01:00
nico 9e4394a656 corrected some error in Import/export 4rosy 2020-01-12 22:33:48 +11:00
Andrea Maggiordomo 6c02f53fb1 tweaked rasterized packer 2019-12-10 10:13:38 +01:00
Luigi Malomo 2fca22fc4e added missing cstring include 2019-11-21 18:42:25 +01:00
Luigi Malomo 01943cf591 minor fix for windows 2019-11-21 17:27:46 +01:00
Luigi Malomo 95f793a6cd fixed nanoply build 2019-11-21 17:09:32 +01:00
Luigi Malomo 9c1fbc085c fixed nanoply build 2019-11-21 17:09:05 +01:00
Norbert Wenzel d1c9bd68a0 Remove unused overloads that do not compile
The `ReadHeader()` overloads taking a character pointer (filename) as a
first parameter instead of a `FILE*` directly do not compile, as they
are calling an overload of `ReadHeader(FILE*)` which does not exist.
Clang does not seem to care as these functions are unused when compiling
MeshLab (and therefore also VCGLib) but GCC tries to compile these
(unused) functions and rightly fails.

This commit simply removes the overloads taking a filename (`char*`).
They are in a header, but since they should fail to compile on *any*
platform I guess it is safe to remove these overloads, as I do not
expect them to be used anywhere successfully.
2019-10-27 08:59:57 +01:00
Norbert Wenzel d0c135e0e0 Mark internal class as `final`
The internal `Element` class implements the pure virtual interface
`IElement` which has no virtual destructor. `Element` has data members
but is deleted through an `Element*` so all members are destructed
correctly.
To convince the compiler this is all fine and to prevent the (unlikely)
case of someone inheriting from `Element` mark the class as `final`.
2019-10-25 00:02:09 +02:00
T.Alderighi 910da4c3e3 fixed bug when opening ply files containing float scalartype on a double scalartype mesh and viceversa 2019-09-19 17:56:55 +02:00
T.Alderighi ca65cf2162 added support for face normals export and import and face (double precision) quality export and import for ply format 2019-09-10 15:42:41 +02:00
nico 8147097df8 avoided computing curvature if not needed 2019-05-15 11:53:12 +10:00
nico 565f4c4f53 added k-neighbors instead of radius to make it more stable 2019-05-06 18:17:17 +10:00
nico 02e04e901a added define to compile without comiso and use only polyvector field 2019-04-24 11:51:08 +10:00
Andrea Maggiordomo 60ea359ec4 Fixed integer overflow occurring in fillChunk() if mesh had a single face with wedge texcoords 2019-04-12 09:38:00 +02:00
Andrea Maggiordomo 19adc39387 Updated RasterizedOutline2Packer
Added parameters to control the gutter size of the outlines, the
possibility to track space between previously placed polygons when
evaluating new moves (inner horizons), and the possibility to try a
small number of permutations of the packing sequence in order to
improve the overall efficiency.

Cleaned up QtOutline2Rasterizer.

Updated the relevant samples.
2019-01-31 14:28:24 +01:00
Luigi Malomo e6c18ff6d3 ply export: face quality type fixed 2018-12-14 16:44:55 +01:00