OpenWalnut
1.2.5
|
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. | |
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. | |
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. |
Protected Member Functions | |
void | setUp () |
Creates an example dataset so I hope its easy to test the join tree. | |
void | tearDown (void) |
Tidy up things created during setUp. |
Protected Attributes | |
boost::shared_ptr< WDataSetSingle > | m_dataset |
Dataset which is used to create the join tree. |
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 122 of file WJoinContourTree_test.h.
References m_dataset, and WLogger::startup().
|
inlineprotected |
Tidy up things created during setUp.
Definition at line 149 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 47 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 107 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 92 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 154 of file WJoinContourTree_test.h.
Referenced by setUp(), tearDown(), testbuildJoinTreeOnRegular2DGrid(), testGetVolumeVoxelsEnclosedByIsoSurfaceWithMerges(), and testGetVolumeVoxelsEnclosedByIsoSurfaceWithOutMerge().