Skip to content

Commit

Permalink
Merge branch 'master' into feature/plugin_description_markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKroes committed Dec 18, 2024
2 parents aaa63d7 + 4c22067 commit 871aa46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ManiVault/cmake/mv_install_dependencies.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ install(CODE [[
set(PRE_EXCLUDE "Qt6.*" "api-ms.*" "ext-ms.*" "hvsi.*" "pdmutilities.*" "wpaxholder.*" "dxgi.*" "^uxtheme.*" "d3d11.*" "winmm.*" "wldp.*")
set(POST_EXCLUDE ".*[\\/]system32[\\/].*\\.dll" ".*[\\/]Qt6.dll" ".*[\\/]MV_Public.dll" ".*[\\/]PointData.dll" ".*[\\/]ClusterData.dll" ".*[\\/]ColorData.dll" ".*[\\/]ImageData.dll" ".*[\\/]TextData.dll")
elseif(APPLE)
set(PRE_EXCLUDE "libQt6.*" "libPointData.dylib" "libMV_Public.dylib" "libClusterData.dylib" "libColorData.dylib" "libImageData.dylib" "libTextData.dylib")
set(PRE_EXCLUDE "libQt6.*" "libomp.dylib" "libPointData.dylib" "libMV_Public.dylib" "libClusterData.dylib" "libColorData.dylib" "libImageData.dylib" "libTextData.dylib")
set(POST_EXCLUDE "macos/lib")
else()
set(PRE_EXCLUDE "libQt6.*" "libMV_Public.so" "libPointData.so" "libClusterData.so" "libColorData.so" "libImageData.so" "libTextData.so")
Expand Down
5 changes: 0 additions & 5 deletions ManiVault/src/LinkedData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ void SelectionMap::populateMappingIndices(std::uint32_t pointIndex, Indices& ind
}
}

SelectionMap::Map& SelectionMap::getMap()
{
return _map;
}

bool SelectionMap::hasMappingForPointIndex(std::uint32_t pointIndex) const
{
switch (_type)
Expand Down
8 changes: 7 additions & 1 deletion ManiVault/src/LinkedData.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ class CORE_EXPORT SelectionMap : public util::Serializable
* Get map for indexed pixels
* @return Index map
*/
Map& getMap();
Map& getMap() { return _map; };

/**
* Get map for indexed pixels
* @return Index map
*/
const Map& getMap() const { return _map; };

/**
* Establishes whether a mapping exists for \p pointIndex
Expand Down

0 comments on commit 871aa46

Please sign in to comment.