Applications/DTIAtlasFiberAnalyzer/DTIAtlasFiberAnalyzerguiwindow.cxx
/* Load Data/Deformation in the CSV Cell */
/*********************************************************************************
 * load files for Individual images and put them in the Qtable
 ********************************************************************************/
Load Data/Deformation in the CSV Cell
load files for Individual images and put them in the Qtable
Load Data / Deformation in the CSV Cell load files for Individual images and put them in the Qtable
void DTIAtlasFiberAnalyzerguiwindow::BrowserIndividualData(int row)
{
    QString filename,type;
    filename = QFileDialog::getOpenFileName(this, "Open Individual Data", m_DialogDir ,
                                            "Images (*.gipl *.hdr *.nhdr *.nrrd)",&type);
    SetNewDialogDirFromFileName( filename ) ;
    if(m_debug)
    {
        std::cout<<"Filename : "<< (filename.toStdString()).c_str() <<std::endl;
    }
    if(filename !=NULL)
    {
        PutDataonQTable(row,m_DataCol,filename.toStdString());
    }
    else if(m_debug)
    {
        std::cout<<"Error : filename is NULL."<<std::endl;
    }
}
void DTIAtlasFiberAnalyzerguiwindow :: BrowserIndividualData ( int row ) { QString filename , type ; filename = QFileDialog :: getOpenFileName ( this , " " , m_DialogDir , " " , & type ) ; SetNewDialogDirFromFileName ( filename ) ; if ( m_debug ) { std :: cout << " " << ( filename . toStdString ( ) ) . c_str ( ) << std :: endl ; } if ( filename != NULL ) { PutDataonQTable ( row , m_DataCol , filename . toStdString ( ) ) ; } else if ( m_debug ) { std :: cout << " " << std :: endl ; } }
Load Data/Deformation in the CSV Cell
 load files for Individual images and put them in the Qtable
Load Data / Deformation in the CSV Cell load files for Individual images and put them in the Qtable
/* Keep the value if cancel */