static UHMM3SearchSeqDomainResult getDomainRes( QStringList& tokens ) { UHMM3SearchSeqDomainResult res; getNextToken( tokens ); res.isSignificant = getSignificance( getNextToken( tokens ) ); res.score = getFloat( getNextToken( tokens ) ); res.bias = getFloat( getNextToken( tokens ) ); res.cval = getDouble( getNextToken( tokens ) ); res.ival = getDouble( getNextToken( tokens ) ); int hmmFrom = (int)getFloat( getNextToken( tokens ) ); int hmmTo = (int)getFloat( getNextToken( tokens ) ); res.queryRegion = U2Region( hmmFrom, hmmTo - hmmFrom ); getNextToken( tokens ); int aliFrom = (int)getFloat( getNextToken( tokens ) ); int aliTo = (int)getFloat( getNextToken( tokens ) ); res.seqRegion = U2Region( aliFrom - 1, aliTo - aliFrom + 1 ); getNextToken( tokens ); int envFrom = (int)getFloat( getNextToken( tokens ) ); int envTo = (int)getFloat( getNextToken( tokens ) ); res.envRegion = U2Region( envFrom, envTo - envFrom ); getNextToken( tokens ); res.acc = getDouble( getNextToken( tokens ) ); return res; }
void BITImage::setImage(LABImage* plab) { width = plab->getWidth(); height = plab->getHeight(); int* sigmat = getSignificance(plab); pixels = get_bitmatrix(sigmat); free(sigmat); }