[pdal-commits] [PDAL/PDAL] 072659: Add Cloth Simulation Filter (CSF) (#2766)

Andrew Bell noreply at github.com
Fri Feb 21 11:45:15 PST 2020


  Branch: refs/heads/issue-2560
  Home:   https://github.com/PDAL/PDAL
  Commit: 072659a4bfe286e6cd89ae67f35c59df0dd76bee
      https://github.com/PDAL/PDAL/commit/072659a4bfe286e6cd89ae67f35c59df0dd76bee
  Author: chambbj <brad.chambers at gmail.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M doc/references.rst
    A doc/stages/filters.csf.rst
    M doc/stages/filters.rst
    A filters/CSFilter.cpp
    A filters/CSFilter.hpp
    A filters/private/csf/CSF.cpp
    A filters/private/csf/CSF.h
    A filters/private/csf/Cloth.cpp
    A filters/private/csf/Cloth.h
    A filters/private/csf/Constraint.cpp
    A filters/private/csf/Constraint.h
    A filters/private/csf/Particle.cpp
    A filters/private/csf/Particle.h
    A filters/private/csf/Rasterization.cpp
    A filters/private/csf/Rasterization.h
    A filters/private/csf/Vec3.h
    A filters/private/csf/XYZReader.cpp
    A filters/private/csf/XYZReader.h
    A filters/private/csf/c2cdist.cpp
    A filters/private/csf/c2cdist.h
    A filters/private/csf/point_cloud.cpp
    A filters/private/csf/point_cloud.h
    M test/unit/CMakeLists.txt
    A test/unit/filters/CSFilterTest.cpp

  Log Message:
  -----------
  Add Cloth Simulation Filter (CSF) (#2766)

* Add Cloth Simulation Filter (CSF)

* OpenMP intentionally left out for now

* Address PR recommendation to add try-catch block


  Commit: afbe6f7794bfe40394f27f46b2a6da0da3f1afb2
      https://github.com/PDAL/PDAL/commit/afbe6f7794bfe40394f27f46b2a6da0da3f1afb2
  Author: chambbj <brad.chambers at gmail.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M filters/SMRFilter.cpp
    M filters/private/Segmentation.cpp
    M filters/private/Segmentation.hpp
    M pdal/pdal_types.hpp
    A test/data/las/synthetic_test.las
    M test/unit/io/LasReaderTest.cpp
    M test/unit/io/LasWriterTest.cpp

  Log Message:
  -----------
  Add some initial support for handling synthetic points (#2925)

* Add some initial support for handling synthetic points

* Add tests for LasReader and LasWriter

* Add method to Segmentation.cpp to separate PointViews into synthetic
  and real points

* Add arguments to SMRF to allow/ignore synthetic points during
  processing

* Add Synthetic to the list of ClassLabels (though this doesn't exactly
  hold for LAS1.4)

* Alter options to allow ignoring of any combination of class bits


  Commit: 227855a35532b7e978245a6e1a1072aa00bfd36a
      https://github.com/PDAL/PDAL/commit/227855a35532b7e978245a6e1a1072aa00bfd36a
  Author: Andrew Bell <andrew.bell.ia at gmail.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M filters/private/csf/Cloth.cpp
    M filters/private/csf/Cloth.h
    M filters/private/csf/Constraint.h

  Log Message:
  -----------
  Eliminate unused variables.


  Commit: b56e84b7ab144ecf35fbfe980b1bfa3fc720dc0c
      https://github.com/PDAL/PDAL/commit/b56e84b7ab144ecf35fbfe980b1bfa3fc720dc0c
  Author: Andrew Bell <andrew.bell.ia at gmail.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M io/LasVLR.cpp
    M io/LasVLR.hpp
    M io/LasWriter.cpp
    M io/LasWriter.hpp
    M pdal/PipelineReaderJSON.cpp
    A test/data/pipeline/issue2937.json.in
    M test/unit/io/LasWriterTest.cpp

  Log Message:
  -----------
  Handle VLRs as pipeline arguments in writers.las (#2942)

* Make user VLR handling robust.

* Cleanup.

* Remove dead header.

* Make things with with Ext VLRs.

* Add more test.

* One more test.

* Remove unnecessary cast.

* Add a real test for the original problem.

* Cleaner logic.


  Commit: b199b905646f1f16fee688b51c8d940c7e21fefb
      https://github.com/PDAL/PDAL/commit/b199b905646f1f16fee688b51c8d940c7e21fefb
  Author: Andrew Bell <andrew.bell.ia at gmail.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M doc/stages/filters.voxeldownsize.rst
    M filters/VoxelDownsizeFilter.cpp
    M filters/VoxelDownsizeFilter.hpp
    M test/unit/filters/VoxelDownsizeFilterTest.cpp

  Log Message:
  -----------
  Fix tests for voxel filter. (#2941)

* Fix voxel downsize filter/tests.

* Improve language.

* Enhance warning text.

* Fix mode names in doc and mode name output.


  Commit: 366bd3b78249ad8734e6f245780f7c6a8aedb514
      https://github.com/PDAL/PDAL/commit/366bd3b78249ad8734e6f245780f7c6a8aedb514
  Author: Ryan Pals <ryan at hobu.co>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M cmake/options.cmake
    A doc/stages/readers.hdf.rst
    M plugins/CMakeLists.txt
    A plugins/hdf/CMakeLists.txt
    A plugins/hdf/io/Hdf5Handler.cpp
    A plugins/hdf/io/Hdf5Handler.hpp
    A plugins/hdf/io/HdfReader.cpp
    A plugins/hdf/io/HdfReader.hpp
    A plugins/hdf/test/HdfReadertest.cpp
    M scripts/azp/linux-conda.yml
    M scripts/azp/linux.yml
    M scripts/azp/osx.yml
    M scripts/azp/win.yml
    M scripts/conda/osx.sh
    A test/data/hdf/autzen.h5

  Log Message:
  -----------
  HDF Reader (#2934)

* Copy icebridge files over to hdf plugin

* WIP
Print out info from hard-coded autzen. remove test points in test file. iterate over dimensions and print size, offset, type and endianness

* Remove unused

* Compiles!

* Reads!

* Fix offset calculation

* Fix hard coded struct size

* Fix hard coded number of points

* Remove hard coded dataset name, add dataset selection from stage options

* Add case for non-compound datatypes

* Fix compound case

* Remove code for compound types

* Add ability to name dataset

* Cleanup

* Fix type bug

* Reads one chunk - wip

* WIP

* No longer segfaults - wip

* Reads an entire array

* Add JSON

* Read dataset and dims from JSON map

* WIP

* Remove unused

* Cleanup

* Fix key-value misordering

* Works for multiple dims

* Use proper loggers

* add simple readers.hdf test based on autzen

* Make chunkSize a property of dimension, rather than file

* Clean up loop

* Fix indexing bug

* Init buffers in prepare() instead of read()

* Streams!!!

* Fix sign-compare warning

* Add json validation

* Check that all datasets are the same length

* Update test data file with metadata

* Add HDF Reader docs WIP

* Add check for null map

* Add HDF plugin to AZP

* Connor's changes

* Stuff WIP

* Review changes

* Feedback

* Address feedback

* Add more test cases

* random chunk sizes, check GPSTime

* CMake feedback: Cleanup, remove LibXML2

* Get rid of compiler warnings

* Address doc feedback

* Cleanup

* Step 1

* Step 2

* Remove BufferInfo; return pointer to val instead of pointer to bufer

* Remove unused

* Get rid of m_buffers

* Style

* Get rid of all parallel vectors

* Don't open dataset on each point. Fixes 20x performance regression introduced by last commit

* Use range based for-loops

* Remove unused

* Move Handler class into hdf5 namespace

* Fix outdated error

* Sepearte initialization code into constructor

* Cleanup

* Make getValue a method of DimInfo instead of Handler

* Styling

* Remove unused

* Use fewer auto types

* Change shared_ptr to unique_ptr

* Fix macOS compiler warning

Co-authored-by: Howard Butler <howard at hobu.co>


  Commit: 9777bf04c39ce80d7cb896b26b99dfc5b60c4506
      https://github.com/PDAL/PDAL/commit/9777bf04c39ce80d7cb896b26b99dfc5b60c4506
  Author: Andrew Bell <andrew.bell.ia at gmail.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M cmake/options.cmake
    M doc/references.rst
    A doc/stages/filters.csf.rst
    M doc/stages/filters.rst
    M doc/stages/filters.voxeldownsize.rst
    A doc/stages/readers.hdf.rst
    A filters/CSFilter.cpp
    A filters/CSFilter.hpp
    M filters/SMRFilter.cpp
    M filters/VoxelDownsizeFilter.cpp
    M filters/private/Segmentation.cpp
    M filters/private/Segmentation.hpp
    A filters/private/csf/CSF.cpp
    A filters/private/csf/CSF.h
    A filters/private/csf/Cloth.cpp
    A filters/private/csf/Cloth.h
    A filters/private/csf/Constraint.cpp
    A filters/private/csf/Constraint.h
    A filters/private/csf/Particle.cpp
    A filters/private/csf/Particle.h
    A filters/private/csf/Rasterization.cpp
    A filters/private/csf/Rasterization.h
    A filters/private/csf/Vec3.h
    A filters/private/csf/XYZReader.cpp
    A filters/private/csf/XYZReader.h
    A filters/private/csf/c2cdist.cpp
    A filters/private/csf/c2cdist.h
    A filters/private/csf/point_cloud.cpp
    A filters/private/csf/point_cloud.h
    M io/LasVLR.cpp
    M io/LasVLR.hpp
    M io/LasWriter.cpp
    M io/LasWriter.hpp
    M pdal/PipelineReaderJSON.cpp
    M pdal/pdal_types.hpp
    M plugins/CMakeLists.txt
    A plugins/hdf/CMakeLists.txt
    A plugins/hdf/io/Hdf5Handler.cpp
    A plugins/hdf/io/Hdf5Handler.hpp
    A plugins/hdf/io/HdfReader.cpp
    A plugins/hdf/io/HdfReader.hpp
    A plugins/hdf/test/HdfReadertest.cpp
    M scripts/azp/linux-conda.yml
    M scripts/azp/linux.yml
    M scripts/azp/osx.yml
    M scripts/azp/win.yml
    M scripts/conda/osx.sh
    A test/data/hdf/autzen.h5
    A test/data/las/synthetic_test.las
    A test/data/pipeline/issue2937.json.in
    M test/unit/CMakeLists.txt
    A test/unit/filters/CSFilterTest.cpp
    M test/unit/io/LasReaderTest.cpp
    M test/unit/io/LasWriterTest.cpp

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into issue-2560


  Commit: 52b3d2a2a51fc12719d8aee7f6692ca88b1139c1
      https://github.com/PDAL/PDAL/commit/52b3d2a2a51fc12719d8aee7f6692ca88b1139c1
  Author: Andrew Bell <andrew.bell.ia at gmail.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M pdal/PointView.hpp
    M test/unit/filters/VoxelDownsizeFilterTest.cpp

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/issue-2560' into issue-2560


Compare: https://github.com/PDAL/PDAL/compare/e0e3f556dbb8...52b3d2a2a51f


More information about the pdal-commits mailing list