OpenWalnut
1.2.5
|
Tests for the class computing the actual marching cubes. More...
#include <WMarchingCubesAlgorithm_test.h>
Public Member Functions | |
void | testInterpolate () |
Test interpolate on edge. | |
void | testGetVertexID () |
Test computation of veretexID. | |
void | testGetEdgeID () |
Test computation of egeId. | |
void | testCalculateIntersectionUnsignedChar () |
Test calculateIntersection with unsigned char. | |
void | testCalculateIntersectionFloat () |
Test calculateIntersection with float. |
Tests for the class computing the actual marching cubes.
Definition at line 36 of file WMarchingCubesAlgorithm_test.h.
void WMarchingCubesAlgorithmTest::testCalculateIntersectionFloat | ( | ) | [inline] |
Test calculateIntersection with float.
Definition at line 160 of file WMarchingCubesAlgorithm_test.h.
References WMarchingCubesAlgorithm::calculateIntersection(), WMarchingCubesAlgorithm::m_nCellsX, WMarchingCubesAlgorithm::m_nCellsY, WMarchingCubesAlgorithm::m_nCellsZ, WMarchingCubesAlgorithm::m_tIsoLevel, WPointXYZId::newID, WPointXYZId::x, WPointXYZId::y, and WPointXYZId::z.
void WMarchingCubesAlgorithmTest::testCalculateIntersectionUnsignedChar | ( | ) | [inline] |
Test calculateIntersection with unsigned char.
Definition at line 122 of file WMarchingCubesAlgorithm_test.h.
References WMarchingCubesAlgorithm::calculateIntersection(), WMarchingCubesAlgorithm::m_nCellsX, WMarchingCubesAlgorithm::m_nCellsY, WMarchingCubesAlgorithm::m_nCellsZ, WMarchingCubesAlgorithm::m_tIsoLevel, WPointXYZId::newID, WPointXYZId::x, WPointXYZId::y, and WPointXYZId::z.
void WMarchingCubesAlgorithmTest::testGetEdgeID | ( | ) | [inline] |
Test computation of egeId.
Definition at line 89 of file WMarchingCubesAlgorithm_test.h.
References WMarchingCubesAlgorithm::getEdgeID(), WMarchingCubesAlgorithm::m_nCellsX, WMarchingCubesAlgorithm::m_nCellsY, and WMarchingCubesAlgorithm::m_nCellsZ.
void WMarchingCubesAlgorithmTest::testGetVertexID | ( | ) | [inline] |
Test computation of veretexID.
Definition at line 68 of file WMarchingCubesAlgorithm_test.h.
References WMarchingCubesAlgorithm::getVertexID(), WMarchingCubesAlgorithm::m_nCellsX, WMarchingCubesAlgorithm::m_nCellsY, and WMarchingCubesAlgorithm::m_nCellsZ.
void WMarchingCubesAlgorithmTest::testInterpolate | ( | void | ) | [inline] |
Test interpolate on edge.
Definition at line 43 of file WMarchingCubesAlgorithm_test.h.
References WMarchingCubesAlgorithm::interpolate(), WMarchingCubesAlgorithm::m_tIsoLevel, WPointXYZId::newID, WPointXYZId::x, WPointXYZId::y, and WPointXYZId::z.