OpenWalnut  1.5.0dev
Public Member Functions | Private Attributes | List of all members
WTalairachConverterTest Class Reference

Tests the Talairach converter class. More...

#include <WTalairachConverter_test.h>

+ Inheritance diagram for WTalairachConverterTest:
+ Collaboration diagram for WTalairachConverterTest:

Public Member Functions

void setUp (void)
 Set up the special points of the Talairach coordinate system for testing the converter. More...
 
void tearDown (void)
 Release all data need for testing the converter. More...
 
void testCanonical2ACPC (void)
 Test the conversion "to" ACPC coords. More...
 
void testACPC2Canonical (void)
 Test the conversion "from" ACPC coords. More...
 
void testACPC2Talairach (void)
 Test conversion from ACPC to Talairach coords. More...
 
void testTalairach2ACPC (void)
 Test conversion from Talairach to ACPC coords. More...
 

Private Attributes

std::shared_ptr< WTalairachConverterm_tc
 The Talairach converter object that is tested in the testing functions. More...
 

Detailed Description

Tests the Talairach converter class.

Definition at line 38 of file WTalairachConverter_test.h.

Member Function Documentation

◆ setUp()

void WTalairachConverterTest::setUp ( void  )
inline

Set up the special points of the Talairach coordinate system for testing the converter.

Definition at line 45 of file WTalairachConverter_test.h.

References m_tc.

◆ tearDown()

void WTalairachConverterTest::tearDown ( void  )
inline

Release all data need for testing the converter.

Definition at line 63 of file WTalairachConverter_test.h.

References m_tc.

◆ testACPC2Canonical()

void WTalairachConverterTest::testACPC2Canonical ( void  )
inline

Test the conversion "from" ACPC coords.

Definition at line 85 of file WTalairachConverter_test.h.

References m_tc.

◆ testACPC2Talairach()

void WTalairachConverterTest::testACPC2Talairach ( void  )
inline

Test conversion from ACPC to Talairach coords.

Definition at line 98 of file WTalairachConverter_test.h.

References m_tc.

◆ testCanonical2ACPC()

void WTalairachConverterTest::testCanonical2ACPC ( void  )
inline

Test the conversion "to" ACPC coords.

Definition at line 72 of file WTalairachConverter_test.h.

References m_tc.

◆ testTalairach2ACPC()

void WTalairachConverterTest::testTalairach2ACPC ( void  )
inline

Test conversion from Talairach to ACPC coords.

Definition at line 111 of file WTalairachConverter_test.h.

References m_tc.

Member Data Documentation

◆ m_tc

std::shared_ptr<WTalairachConverter> WTalairachConverterTest::m_tc
private

The Talairach converter object that is tested in the testing functions.

Definition at line 126 of file WTalairachConverter_test.h.

Referenced by setUp(), tearDown(), testACPC2Canonical(), testACPC2Talairach(), testCanonical2ACPC(), and testTalairach2ACPC().


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