Skip to content

Commit

Permalink
Depends on PR to dgtal
Browse files Browse the repository at this point in the history
Remove NoObject from VoxelComplex

DGtal-team/DGtal#1369
  • Loading branch information
phcerdan committed Dec 19, 2018
1 parent 22f42ff commit 7a5eb57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ find_package(Boost COMPONENTS
graph
REQUIRED)
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
# Requires version with this PR in: https://github.com/DGtal-team/DGtal/pull/1369
find_package(DGtal REQUIRED)
include_directories(SYSTEM ${DGTAL_INCLUDE_DIRS})
find_package(ITK REQUIRED COMPONENTS
Expand Down
8 changes: 4 additions & 4 deletions cpp-scripts/thin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include <DGtal/topology/CubicalComplexFunctions.h>
#include "DGtal/topology/KhalimskyCellHashFunctions.h"

#include <DGtal/topology/VoxelComplexNoObject.h>
#include <DGtal/topology/VoxelComplexNoObjectFunctions.h>
#include <DGtal/topology/VoxelComplex.h>
#include <DGtal/topology/VoxelComplexFunctions.h>
#include "DGtal/topology/NeighborhoodConfigurations.h"
#include "DGtal/topology/tables/NeighborhoodTables.h"
// ITKWriter
Expand Down Expand Up @@ -208,13 +208,13 @@ int main(int argc, char* const argv[]){
Image image(handle_out);


// Create a VoxelComplexNoObject from the set
// Create a VoxelComplex from the set
using DigitalTopology = DT26_6;
using DigitalSet = // DGtal::Z3i::DigitalSet;
DGtal::DigitalSetByAssociativeContainer<Domain ,
std::unordered_set< typename Domain::Point> >;
using ComplexMap = std::unordered_map<KSpace::Cell, DGtal::CubicalCellData>;
using Complex = DGtal::VoxelComplexNoObject<KSpace, ComplexMap>;
using Complex = DGtal::VoxelComplex<KSpace, ComplexMap>;

auto & sk = sk_string;
KSpace ks;
Expand Down

0 comments on commit 7a5eb57

Please sign in to comment.