Page MenuHomePhabricator

ACVD Integration
Closed, ResolvedPublic

Assigned To
None
Authored By
kislinsk
Jul 1 2013, 10:25 AM
Referenced Files
F1009: ACVDUse.cmake.in
Jul 1 2013, 11:33 AM
F1008: ACVDConfig.cmake.in
Jul 1 2013, 11:32 AM

Description

ACVD (Approximated Centroidal Voronoi Diagrams) is a great remeshing library. Its CECILL-B license is BSD-compatible.

http://www.creatis.insa-lyon.fr/site/en/acvd
https://github.com/valette/ACVD

Event Timeline

New remote branch pushed: bug-15476-ACVDIntegration

a cmake modification is needed in order to let MITK (and other toolkit) find and use this library. See attachment.

to be added into CMakeInput folder

to be added into CMakeInput folder

Finally, the following at the end of CMakelists.txt

  1. Export Build settings and library dependencies INCLUDE(CMakeExportBuildSettings)

    CMAKE_EXPORT_BUILD_SETTINGS( ${VTKSURFACE_BINARY_DIR}/ACVDBuildSettings.cmake )

    EXPORT_LIBRARY_DEPENDENCIES( ${VTKSURFACE_BINARY_DIR}/ACVDLibraryDepends.cmake )

    CONFIGURE_FILE( ${VTKSURFACE_SOURCE_DIR}/CMakeInput/ACVDConfig.cmake.in ${VTKSURFACE_BINARY_DIR}/ACVDConfig.cmake @ONLY IMMEDIATE )

    CONFIGURE_FILE( ${VTKSURFACE_SOURCE_DIR}/CMakeInput/ACVDUse.cmake.in ${VTKSURFACE_BINARY_DIR}/ACVDUse.cmake @ONLY IMMEDIATE )

I already wrote a patch for ACVD and tested it under Windows and Mac. See the branch above (CMakeExternals/ACVDPatch.cmake)

I finished implementation of a basic yet complete remeshing module and plugin.

[771ddb]: Merge branch 'bug-15476-ACVDIntegration'

Merged commits:

2013-07-04 10:09:57 Stefan Kislinskiy [b18ca0]
Changed link to ACVD tarball to official mitk.org location.


2013-07-03 22:50:21 Stefan Kislinskiy [4a2b64]
Implemented mesh optimization.


2013-07-03 10:39:25 Stefan Kislinskiy [fdeae0]
Prepared implementation of mesh optimization.


2013-07-03 03:00:40 Stefan Kislinskiy [97d612]
Added advanced settings for remeshing.


2013-07-02 18:21:22 Stefan Kislinskiy [0ae610]
Merge branch 'bug-15476-ACVDIntegration' of mitk.org:MITK into bug-15476-ACVDIntegration

Conflicts:
CMakeExternals/PatchACVD.cmake


2013-07-02 18:16:36 Stefan Kislinskiy [2a0c3c]
Implemented basic remeshing plugin.


2013-07-01 15:01:18 Stefan Kislinskiy [fd3a0e]
Created remeshing module and plugin.


2013-07-01 11:21:23 Stefan Kislinskiy [b3310d]
Use VTK_DIR of MITK superbuild.


2013-07-01 10:31:27 Stefan Kislinskiy [a1550a]
Integrated ACVD into MITK superbuild.


2013-07-01 11:21:23 Stefan Kislinskiy [2a8b7f]
Use VTK_DIR of MITK superbuild.


2013-07-01 10:31:27 Stefan Kislinskiy [555c14]
Integrated ACVD into MITK superbuild.