public override object createInterface(Type iIid) { if (iIid == typeof(INyARPerspectiveCopy)) { return(NyARPerspectiveCopyFactory.createDriver(this)); } if (iIid == typeof(NyARMatchPattDeviationColorData.IRasterDriver)) { return(NyARMatchPattDeviationColorData.RasterDriverFactory.createDriver(this)); } if (iIid == typeof(INyARRgb2GsFilter)) { //デフォルトのインタフェイス return(NyARRgb2GsFilterFactory.createRgbAveDriver(this)); } else if (iIid == typeof(INyARRgb2GsFilterRgbAve)) { return(NyARRgb2GsFilterFactory.createRgbAveDriver(this)); } else if (iIid == typeof(INyARRgb2GsFilterRgbCube)) { return(NyARRgb2GsFilterFactory.createRgbCubeDriver(this)); } else if (iIid == typeof(INyARRgb2GsFilterYCbCr)) { return(NyARRgb2GsFilterFactory.createYCbCrDriver(this)); } if (iIid == typeof(INyARRgb2GsFilterArtkTh)) { return(NyARRgb2GsFilterArtkThFactory.createDriver(this)); } throw new NyARException(); }
public object createInterface(Type iIid) { if (iIid == typeof(INyARPerspectiveCopy)) { return(NyARPerspectiveCopyFactory.createDriver(this)); } throw new NyARException(); }
public object createInterface(Type iIid) { if (iIid == typeof(INyARPerspectiveCopy)) { return(NyARPerspectiveCopyFactory.createDriver(this)); } if (iIid == typeof(NyARMatchPattDeviationColorData.IRasterDriver)) { return(NyARMatchPattDeviationColorData.RasterDriverFactory.createDriver(this)); } throw new NyARException(); }