Changeset 106 in 3DVCSoftware for trunk


Ignore:
Timestamp:
16 Aug 2012, 13:41:34 (12 years ago)
Author:
tech
Message:

Removed unused code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TAppCommon/TAppComCamPara.cpp

    r102 r106  
    654654}
    655655
    656 #if SAIT_VSO_EST_A0033
    657 Double g_dDispCoeff;
    658 #endif
    659 
    660656Bool
    661657TAppComCamPara::xGetShiftParameterReal( UInt uiSourceView, UInt uiTargetView, UInt uiFrame, Bool bExternal, Bool bByIdx, Double& rdScale, Double& rdOffset )
     
    688684    iTargetViewNum = (Int) uiTargetView;
    689685  }
    690 
    691 #if SAIT_VSO_EST_A0033
    692   // This part should be modified later.
    693   {
    694     Double dFL1, dCS1, dCP1, dZN1, dZF1;
    695     Bool   bInterpolated;
    696     Double dPos[3];
    697     xGetGeometryData( m_aiBaseViews[0], uiFrame, dFL1, dPos[0], dCS1, bInterpolated );
    698     xGetGeometryData( m_aiBaseViews[1], uiFrame, dFL1, dPos[1], dCS1, bInterpolated );
    699 
    700     xGetGeometryData( iSourceViewNum, uiFrame, dFL1, dCP1, dCS1, bInterpolated );
    701     xGetZNearZFar   ( iSourceViewNum, uiFrame, dZN1, dZF1 );
    702 
    703     Double dBaseLine = dPos[0] - dPos[1]; //Max(Max(dPos[0],dPos[1]),dPos[2]) - Min(Min(dPos[0],dPos[1]),dPos[2]);
    704     g_dDispCoeff = fabs( dFL1 * ( dBaseLine / 2.0 ) / 255.0 * ( 1.0/dZN1 - 1.0/dZF1 ) );
    705   }
    706 #endif
    707686
    708687  xGetGeometryData( iSourceViewNum, uiFrame, dFocalLengthSource, dPositionSource, dIntersectionSource, bInterpolatedSource );
Note: See TracChangeset for help on using the changeset viewer.