OpenWalnut
1.5.0dev
|
Unit tests the Join Tree of the Contour Tree! More...
#include <WJoinContourTree_test.h>
Public Member Functions | |
void | testbuildJoinTreeOnRegular2DGrid (void) |
The construction of a Join Tree is done via a special index array. More... | |
void | testGetVolumeVoxelsEnclosedByIsoSurfaceWithOutMerge (void) |
All voxels enclosed by the biggest isosurface are contained in the biggest component of the JoinTree above the given isovalue the in in the JoinTree. More... | |
void | testGetVolumeVoxelsEnclosedByIsoSurfaceWithMerges (void) |
All voxels enclosed by the biggest isoSurface are contained in the biggest component which may be created with some merges of the join tree. More... | |
Protected Member Functions | |
void | setUp () |
Creates an example dataset so I hope its easy to test the join tree. More... | |
void | tearDown (void) |
Tidy up things created during setUp. More... | |
Protected Attributes | |
std::shared_ptr< WDataSetSingle > | m_dataset |
Dataset which is used to create the join tree. More... | |
Unit tests the Join Tree of the Contour Tree!
Definition at line 40 of file WJoinContourTree_test.h.
|
inlineprotected |
Creates an example dataset so I hope its easy to test the join tree.
Definition at line 121 of file WJoinContourTree_test.h.
References WLogger::startup().
|
inlineprotected |
Tidy up things created during setUp.
Definition at line 148 of file WJoinContourTree_test.h.
References m_dataset.
|
inline |
The construction of a Join Tree is done via a special index array.
15 \ 14 13 \ \ \ 12 \ \ \ 11 \ \ \ 10 \ \ / \ 9 \ / \ 8 \ / 5 | 4 | 3 | 2 | 1 | 0 | -1 | -3
Definition at line 46 of file WJoinContourTree_test.h.
References WJoinContourTree::buildJoinTree(), m_dataset, and WJoinContourTree::m_joinTree.
|
inline |
All voxels enclosed by the biggest isoSurface are contained in the biggest component which may be created with some merges of the join tree.
Definition at line 106 of file WJoinContourTree_test.h.
References WJoinContourTree::buildJoinTree(), WJoinContourTree::getVolumeVoxelsEnclosedByIsoSurface(), and m_dataset.
|
inline |
All voxels enclosed by the biggest isosurface are contained in the biggest component of the JoinTree above the given isovalue the in in the JoinTree.
Definition at line 91 of file WJoinContourTree_test.h.
References WJoinContourTree::buildJoinTree(), WJoinContourTree::getVolumeVoxelsEnclosedByIsoSurface(), and m_dataset.
|
protected |
Dataset which is used to create the join tree.
Definition at line 153 of file WJoinContourTree_test.h.
Referenced by tearDown(), testbuildJoinTreeOnRegular2DGrid(), testGetVolumeVoxelsEnclosedByIsoSurfaceWithMerges(), and testGetVolumeVoxelsEnclosedByIsoSurfaceWithOutMerge().