Modules/Common/include/irtkEnums.h
// ----------------------------------------------------------------------------
/// Get corresponding extrapolation with periodic time
Get corresponding extrapolation with periodic time
Get corresponding extrapolation with periodic time
inline irtkExtrapolationMode ExtrapolationWithPeriodicTime(irtkExtrapolationMode m)
{
  switch(m) {
    case Extrapolation_ConstWithPeriodicTime:
    case Extrapolation_Const:  return Extrapolation_ConstWithPeriodicTime;
    case Extrapolation_Repeat: return Extrapolation_Repeat;
    default:                   return Extrapolation_None;
  }
}
inline irtkExtrapolationMode ExtrapolationWithPeriodicTime ( irtkExtrapolationMode m ) { switch ( m ) { case Extrapolation_ConstWithPeriodicTime : case Extrapolation_Const : return Extrapolation_ConstWithPeriodicTime ; case Extrapolation_Repeat : return Extrapolation_Repeat ; default : return Extrapolation_None ; } }
Get corresponding extrapolation with periodic time
Get corresponding extrapolation with periodic time