DGtal 1.4.0
|
#include "DGtal/base/SetFunctions.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/topology/CubicalComplexFunctions.h"
#include "DGtal/topology/CubicalComplex.h"
#include "DGtal/topology/KhalimskyCellHashFunctions.h"
#include "DGtal/topology/VoxelComplex.h"
#include "DGtal/topology/VoxelComplexFunctions.h"
#include "DGtalCatch.h"
#include <iostream>
#include <unordered_map>
#include "DGtal/geometry/volumes/distance/DistanceTransformation.h"
#include "DGtal/geometry/volumes/distance/ExactPredicateLpSeparableMetric.h"
#include "DGtal/geometry/volumes/distance/VoronoiMap.h"
#include "DGtal/images/SimpleThresholdForegroundPredicate.h"
#include "DGtal/kernel/BasicPointPredicates.h"
#include "DGtal/topology/NeighborhoodConfigurations.h"
#include "DGtal/topology/tables/NeighborhoodTables.h"
Go to the source code of this file.
Functions | |
TEST_CASE_METHOD (Fixture_complex_diamond, "insertVoxel", "[insert][close]") | |
TEST_CASE_METHOD (Fixture_complex_diamond, "Faces of voxel", "[neighborhood][faces]") | |
TEST_CASE_METHOD (Fixture_complex_diamond, "Neighbors from Object and KSpace", "[neighborhood]") | |
TEST_CASE_METHOD (Fixture_complex_diamond, "Test Simplicity", "[simplicity]") | |
TEST_CASE_METHOD (Fixture_complex_diamond, "Test table wrappers", "[table][simple]") | |
TEST_CASE_METHOD (Fixture_complex_diamond, "Cliques Masks K_2", "[clique]") | |
TEST_CASE_METHOD (Fixture_complex_diamond, "Cliques Masks K_1", "[clique]") | |
TEST_CASE_METHOD (Fixture_complex_diamond, "Cliques Masks K_0", "[clique]") | |
TEST_CASE_METHOD (Fixture_complex_diamond, "Get All Critical Cliques of diamond", "[critical][clique]") | |
TEST_CASE_METHOD (Fixture_complex_fig4, "Get All Critical Cliques of fig4", "[critical][clique]") | |
TEST_CASE_METHOD (Fixture_complex_fig4, "zeroSurface and oneSurface", "[isSurface][function]") | |
TEST_CASE_METHOD (Fixture_isthmus, "Thin disconnected complex", "[isthmus][thin][function]") | |
TEST_CASE_METHOD (Fixture_isthmus, "Check isthmus", "[isthmus][function]") | |
TEST_CASE_METHOD (Fixture_isthmus, "Thin complex", "[isthmus][thin][function]") | |
TEST_CASE_METHOD (Fixture_isthmus, "Persistence thin", "[persistence][isthmus][thin][function]") | |
TEST_CASE_METHOD (Fixture_X, "X Thin", "[x][persistence][isthmus][thin][function]") | |
TEST_CASE_METHOD (Fixture_X, "X Thin with Isthmus, and tables", "[x][isthmus][thin][function][table]") | |
TEST_CASE_METHOD (Fixture_X, "X DistanceMap", "[x][distance][thin]") | |
Use distance map in the Select function. | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Testing class for VoxelComplex.
This file is part of the DGtal library.
Definition in file testVoxelComplex.cpp.
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"Cliques Masks K_0" | , | ||
"" | [clique] ) |
Definition at line 402 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"Cliques Masks K_1" | , | ||
"" | [clique] ) |
Definition at line 380 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"Cliques Masks K_2" | , | ||
"" | [clique] ) |
Definition at line 341 of file testVoxelComplex.cpp.
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"Faces of voxel" | , | ||
"" | [neighborhood][faces] ) |
Definition at line 180 of file testVoxelComplex.cpp.
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"Get All Critical Cliques of diamond" | , | ||
"" | [critical][clique] ) |
Definition at line 425 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"insertVoxel" | , | ||
"" | [insert][close] ) |
Definition at line 120 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"Neighbors from Object and KSpace" | , | ||
"" | [neighborhood] ) |
Definition at line 248 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"Test Simplicity" | , | ||
"" | [simplicity] ) |
Definition at line 288 of file testVoxelComplex.cpp.
TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
"Test table wrappers" | , | ||
"" | [table][simple] ) |
Definition at line 313 of file testVoxelComplex.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::functions::loadTable(), REQUIRE(), SECTION(), and DGtal::trace.
TEST_CASE_METHOD | ( | Fixture_complex_fig4 | , |
"Get All Critical Cliques of fig4" | , | ||
"" | [critical][clique] ) |
Definition at line 524 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_complex_fig4 | , |
"zeroSurface and oneSurface" | , | ||
"" | [isSurface][function] ) |
Definition at line 544 of file testVoxelComplex.cpp.
References domain, DGtal::JORDAN_DT, DGtal::KhalimskySpaceND< dim, TInteger >::lowerBound(), SECTION(), and DGtal::KhalimskySpaceND< dim, TInteger >::upperBound().
TEST_CASE_METHOD | ( | Fixture_isthmus | , |
"Check isthmus" | , | ||
"" | [isthmus][function] ) |
Definition at line 736 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_isthmus | , |
"Persistence thin" | , | ||
"" | [persistence][isthmus][thin][function] ) |
Definition at line 810 of file testVoxelComplex.cpp.
References DGtal::functions::loadTable(), DGtal::functions::mapZeroPointNeighborhoodToConfigurationMask(), and SECTION().
TEST_CASE_METHOD | ( | Fixture_isthmus | , |
"Thin complex" | , | ||
"" | [isthmus][thin][function] ) |
Definition at line 778 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_isthmus | , |
"Thin disconnected complex" | , | ||
"" | [isthmus][thin][function] ) |
Definition at line 716 of file testVoxelComplex.cpp.
References SECTION().
TEST_CASE_METHOD | ( | Fixture_X | , |
"X DistanceMap" | , | ||
"" | [x][distance][thin] ) |
Use distance map in the Select function.
Definition at line 1059 of file testVoxelComplex.cpp.
References DGtal::Trace::beginBlock(), dt, DGtal::Trace::endBlock(), DGtal::functions::loadTable(), DGtal::functions::mapZeroPointNeighborhoodToConfigurationMask(), SECTION(), and DGtal::trace.
TEST_CASE_METHOD | ( | Fixture_X | , |
"X Thin with | Isthmus, | ||
and tables" | , | ||
"" | [x][isthmus][thin][function][table] ) |
Definition at line 1004 of file testVoxelComplex.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::functions::loadTable(), DGtal::functions::mapZeroPointNeighborhoodToConfigurationMask(), SECTION(), and DGtal::trace.
TEST_CASE_METHOD | ( | Fixture_X | , |
"X Thin" | , | ||
"" | [x][persistence][isthmus][thin][function] ) |
Definition at line 977 of file testVoxelComplex.cpp.