OpenWalnut  1.4.0
Public Member Functions | Protected Member Functions | Protected Attributes
WJoinContourTreeTest Class Reference

Unit tests the Join Tree of the Contour Tree! More...

#include <WJoinContourTree_test.h>

+ Inheritance diagram for WJoinContourTreeTest:

List of all members.

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< WDataSetSinglem_dataset
 Dataset which is used to create the join tree.

Detailed Description

Unit tests the Join Tree of the Contour Tree!

Definition at line 40 of file WJoinContourTree_test.h.


Member Function Documentation

void WJoinContourTreeTest::setUp ( void  ) [inline, protected]

Creates an example dataset so I hope its easy to test the join tree.

Definition at line 121 of file WJoinContourTree_test.h.

References m_dataset, and WLogger::startup().

void WJoinContourTreeTest::tearDown ( void  ) [inline, protected]

Tidy up things created during setUp.

Definition at line 148 of file WJoinContourTree_test.h.

References m_dataset.

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.

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.

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.


Member Data Documentation

boost::shared_ptr< WDataSetSingle > WJoinContourTreeTest::m_dataset [protected]

The documentation for this class was generated from the following file: