Applications/DTIAtlasFiberAnalyzer/DTIAtlasFiberAnalyzerguiwindow.cxx
/*********************************************************************************
 *ApplySlot: Use fiberprocess or dtitractstat depending on which step we are.
 *********************************************************************************/
Use fiberprocess or dtitractstat depending on which step we are.
Use fiberprocess or dtitractstat depending on which step we are .
void DTIAtlasFiberAnalyzerguiwindow::ApplySlot()
{
    if(m_numberstep==1)
    {
        Computefiberprocess();
        if(removeNanFibers_FiberProcess->isChecked()){
            std::cout<<"Removing Nan Fibers"<<std::endl;
            ComputeFiberPostProcess();
        }
        nextstep->setEnabled(true);
    }
    else if(m_numberstep==2)
    {
        Computedti_tract_stat();
        nextstep->setEnabled(false);
        PrincipalWidget->setTabEnabled(m_numberstep+1,true);
    }
}
void DTIAtlasFiberAnalyzerguiwindow :: ApplySlot ( ) { if ( m_numberstep == 1 ) { Computefiberprocess ( ) ; if ( removeNanFibers_FiberProcess -> isChecked ( ) ) { std :: cout << " " << std :: endl ; ComputeFiberPostProcess ( ) ; } nextstep -> setEnabled ( true ) ; } else if ( m_numberstep == 2 ) { Computedti_tract_stat ( ) ; nextstep -> setEnabled ( false ) ; PrincipalWidget -> setTabEnabled ( m_numberstep + 1 , true ) ; } }
ApplySlot: Use fiberprocess or dtitractstat depending on which step we are.
ApplySlot : Use fiberprocess or dtitractstat depending on which step we are .
//Apply function depends on which step you are. //After computation we can go to next step