OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WMarchingCubesAlgorithmTest Class Reference

Tests for the class computing the actual marching cubes. More...

#include <WMarchingCubesAlgorithm_test.h>

+ Inheritance diagram for WMarchingCubesAlgorithmTest:
+ Collaboration diagram for WMarchingCubesAlgorithmTest:

Public Member Functions

void testInterpolate ()
 Test interpolate on edge. More...
 
void testGetVertexID ()
 Test computation of veretexID. More...
 
void testGetEdgeID ()
 Test computation of egeId. More...
 
void testCalculateIntersectionUnsignedChar ()
 Test calculateIntersection with unsigned char. More...
 
void testCalculateIntersectionFloat ()
 Test calculateIntersection with float. More...
 

Detailed Description

Tests for the class computing the actual marching cubes.

Definition at line 36 of file WMarchingCubesAlgorithm_test.h.

Member Function Documentation

◆ testCalculateIntersectionFloat()

void WMarchingCubesAlgorithmTest::testCalculateIntersectionFloat ( )
inline

◆ testCalculateIntersectionUnsignedChar()

void WMarchingCubesAlgorithmTest::testCalculateIntersectionUnsignedChar ( )
inline

◆ testGetEdgeID()

void WMarchingCubesAlgorithmTest::testGetEdgeID ( )
inline

Test computation of egeId.

Definition at line 88 of file WMarchingCubesAlgorithm_test.h.

References WMarchingCubesAlgorithm::getEdgeID(), WMarchingCubesAlgorithm::m_nCellsX, WMarchingCubesAlgorithm::m_nCellsY, and WMarchingCubesAlgorithm::m_nCellsZ.

+ Here is the call graph for this function:

◆ testGetVertexID()

void WMarchingCubesAlgorithmTest::testGetVertexID ( )
inline

Test computation of veretexID.

Definition at line 67 of file WMarchingCubesAlgorithm_test.h.

References WMarchingCubesAlgorithm::getVertexID(), WMarchingCubesAlgorithm::m_nCellsX, WMarchingCubesAlgorithm::m_nCellsY, and WMarchingCubesAlgorithm::m_nCellsZ.

+ Here is the call graph for this function:

◆ testInterpolate()

void WMarchingCubesAlgorithmTest::testInterpolate ( )
inline

Test interpolate on edge.

Definition at line 42 of file WMarchingCubesAlgorithm_test.h.

References WMarchingCubesAlgorithm::interpolate(), WMarchingCubesAlgorithm::m_tIsoLevel, WPointXYZId::newID, WPointXYZId::x, WPointXYZId::y, and WPointXYZId::z.

+ Here is the call graph for this function:

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