OpenWalnut 1.2.5
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 122 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 149 of file WJoinContourTree_test.h.

References m_dataset.

void WJoinContourTreeTest::testbuildJoinTreeOnRegular2DGrid ( void  ) [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.

void WJoinContourTreeTest::testGetVolumeVoxelsEnclosedByIsoSurfaceWithMerges ( void  ) [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.

void WJoinContourTreeTest::testGetVolumeVoxelsEnclosedByIsoSurfaceWithOutMerge ( void  ) [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.


Member Data Documentation

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends