Applications/DTIAtlasFiberAnalyzer/DTIAtlasFiberAnalyzerguiwindow.cxx
/*********************************************************************************
* when you finish editing the atlas directory
 ********************************************************************************/
when you finish editing the atlas directory
when you finish editing the atlas directory
void DTIAtlasFiberAnalyzerguiwindow::EnteronAtlasFiberFolder()
{
    if(AtlasFiberFolder->text().compare("")!=0)
    {
        m_Fibername.clear();
        m_FiberSelectedname.clear();
        m_Fibersplane.clear();
        m_RelevantPlane.clear();
        FiberInAtlasList->clear ();
        FiberSelectedList->clear ();
        FiberSelected2List->clear ();
        FiberPlaneFile->clear ();
        m_AtlasFiberDir=AtlasFiberFolder->text().toStdString();
        FillFiberFrame();
    }
    else
    {
        m_Fibername.clear();
        m_FiberSelectedname.clear();
        m_Fibersplane.clear();
        m_RelevantPlane.clear();
        FiberInAtlasList->clear ();
        FiberSelectedList->clear ();
        FiberSelected2List->clear ();
        FiberPlaneFile->clear ();
        m_nextStep = false;
    }
    CheckNextStep();
}
void DTIAtlasFiberAnalyzerguiwindow :: EnteronAtlasFiberFolder ( ) { if ( AtlasFiberFolder -> text ( ) . compare ( " " ) != 0 ) { m_Fibername . clear ( ) ; m_FiberSelectedname . clear ( ) ; m_Fibersplane . clear ( ) ; m_RelevantPlane . clear ( ) ; FiberInAtlasList -> clear ( ) ; FiberSelectedList -> clear ( ) ; FiberSelected2List -> clear ( ) ; FiberPlaneFile -> clear ( ) ; m_AtlasFiberDir = AtlasFiberFolder -> text ( ) . toStdString ( ) ; FillFiberFrame ( ) ; } else { m_Fibername . clear ( ) ; m_FiberSelectedname . clear ( ) ; m_Fibersplane . clear ( ) ; m_RelevantPlane . clear ( ) ; FiberInAtlasList -> clear ( ) ; FiberSelectedList -> clear ( ) ; FiberSelected2List -> clear ( ) ; FiberPlaneFile -> clear ( ) ; m_nextStep = false ; } CheckNextStep ( ) ; }
when you finish editing the atlas directory
when you finish editing the atlas directory
//Clear the vectors of Fiber's names and the Lists //clear the list //Set the path and Fill the list with the fiber //Clear the vectors of Fiber's names and the Lists //clear the list