Ejemplo n.º 1
0
        public static MultipassBitmap AllocWrapper(BaseBitmap bmp)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.MultipassBitmap_AllocWrapper(BaseBitmap.getCPtr(bmp));
            MultipassBitmap       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MultipassBitmap(cPtr, false);

            return(ret);
        }
Ejemplo n.º 2
0
 public void ScaleBicubic(BaseBitmap dst, int src_xmin, int src_ymin, int src_xmax, int src_ymax, int dst_xmin, int dst_ymin, int dst_xmax, int dst_ymax)
 {
     C4dApiPINVOKE.BaseBitmap_ScaleBicubic(swigCPtr, BaseBitmap.getCPtr(dst), src_xmin, src_ymin, src_xmax, src_ymax, dst_xmin, dst_ymin, dst_xmax, dst_ymax);
 }
Ejemplo n.º 3
0
 public void ScaleIt(BaseBitmap dst, int intens, bool sample, bool nprop)
 {
     C4dApiPINVOKE.BaseBitmap_ScaleIt(swigCPtr, BaseBitmap.getCPtr(dst), intens, sample, nprop);
 }
Ejemplo n.º 4
0
 public void SetTexture(BaseBitmap bm, bool tile, DRAW_ALPHA alphamode, DRAW_TEXTUREFLAGS flags)
 {
     C4dApiPINVOKE.BaseDraw_SetTexture(swigCPtr, BaseBitmap.getCPtr(bm), tile, (int)alphamode, (int)flags);
 }
Ejemplo n.º 5
0
 public void DrawTexture(BaseBitmap bmp, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ padr4, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ cadr, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ vnadr, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ uvadr, int pntcnt, DRAW_ALPHA alphamode, DRAW_TEXTUREFLAGS flags)
 {
     C4dApiPINVOKE.BaseDraw_DrawTexture__SWIG_0(swigCPtr, BaseBitmap.getCPtr(bmp), ref padr4 /* Vector*&_csin */, ref cadr /* Vector*&_csin */, ref vnadr /* Vector*&_csin */, ref uvadr /* Vector*&_csin */, pntcnt, (int)alphamode, (int)flags);
 }
Ejemplo n.º 6
0
        public IMAGERESULT Write(BaseBitmap bm)
        {
            IMAGERESULT ret = (IMAGERESULT)C4dApiPINVOKE.MovieSaver_Write(swigCPtr, BaseBitmap.getCPtr(bm));

            return(ret);
        }
Ejemplo n.º 7
0
        public bool CopyTo(BaseBitmap dst)
        {
            bool ret = C4dApiPINVOKE.BaseBitmap_CopyTo(swigCPtr, BaseBitmap.getCPtr(dst));

            return(ret);
        }
Ejemplo n.º 8
0
        public bool SetAlphaPixel(BaseBitmap channel, int x, int y, int val)
        {
            bool ret = C4dApiPINVOKE.BaseBitmap_SetAlphaPixel(swigCPtr, BaseBitmap.getCPtr(channel), x, y, val);

            return(ret);
        }
Ejemplo n.º 9
0
 public void SetMasterAlpha(BaseBitmap master)
 {
     C4dApiPINVOKE.MultipassBitmap_SetMasterAlpha(swigCPtr, BaseBitmap.getCPtr(master));
 }
Ejemplo n.º 10
0
        public bool WriteImage(BaseBitmap bmp, int format, BaseContainer data)
        {
            bool ret = C4dApiPINVOKE.HyperFile_WriteImage__SWIG_1(swigCPtr, BaseBitmap.getCPtr(bmp), format, BaseContainer.getCPtr(data));

            return(ret);
        }
Ejemplo n.º 11
0
        public bool WriteImage(BaseBitmap bmp, int format, BaseContainer data, SAVEBIT savebits)
        {
            bool ret = C4dApiPINVOKE.HyperFile_WriteImage__SWIG_0(swigCPtr, BaseBitmap.getCPtr(bmp), format, BaseContainer.getCPtr(data), (int)savebits);

            return(ret);
        }
Ejemplo n.º 12
0
        public bool ReadImage(BaseBitmap v)
        {
            bool ret = C4dApiPINVOKE.HyperFile_ReadImage(swigCPtr, BaseBitmap.getCPtr(v));

            return(ret);
        }
Ejemplo n.º 13
0
        public virtual IMAGERESULT Write(SWIGTYPE_p_PluginMovieData md, BaseBitmap bm)
        {
            IMAGERESULT ret = (IMAGERESULT)(SwigDerivedClassHasMethod("Write", swigMethodTypes5) ? C4dApiPINVOKE.BitmapSaverData_WriteSwigExplicitBitmapSaverData(swigCPtr, SWIGTYPE_p_PluginMovieData.getCPtr(md), BaseBitmap.getCPtr(bm)) : C4dApiPINVOKE.BitmapSaverData_Write(swigCPtr, SWIGTYPE_p_PluginMovieData.getCPtr(md), BaseBitmap.getCPtr(bm)));

            return(ret);
        }
Ejemplo n.º 14
0
        public virtual IMAGERESULT Open(SWIGTYPE_p_p_PluginMovieData md, Filename name, BaseBitmap bm, BaseContainer data, SAVEBIT savebits, int fps)
        {
            IMAGERESULT ret = (IMAGERESULT)(SwigDerivedClassHasMethod("Open", swigMethodTypes4) ? C4dApiPINVOKE.BitmapSaverData_OpenSwigExplicitBitmapSaverData(swigCPtr, SWIGTYPE_p_p_PluginMovieData.getCPtr(md), Filename.getCPtr(name), BaseBitmap.getCPtr(bm), BaseContainer.getCPtr(data), (int)savebits, fps) : C4dApiPINVOKE.BitmapSaverData_Open(swigCPtr, SWIGTYPE_p_p_PluginMovieData.getCPtr(md), Filename.getCPtr(name), BaseBitmap.getCPtr(bm), BaseContainer.getCPtr(data), (int)savebits, fps));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 15
0
        public virtual IMAGERESULT Save(Filename name, BaseBitmap bm, BaseContainer data, SAVEBIT savebits)
        {
            IMAGERESULT ret = (IMAGERESULT)(SwigDerivedClassHasMethod("Save", swigMethodTypes0) ? C4dApiPINVOKE.BitmapSaverData_SaveSwigExplicitBitmapSaverData(swigCPtr, Filename.getCPtr(name), BaseBitmap.getCPtr(bm), BaseContainer.getCPtr(data), (int)savebits) : C4dApiPINVOKE.BitmapSaverData_Save(swigCPtr, Filename.getCPtr(name), BaseBitmap.getCPtr(bm), BaseContainer.getCPtr(data), (int)savebits));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 16
0
 public void RemoveChannel(BaseBitmap channel)
 {
     C4dApiPINVOKE.BaseBitmap_RemoveChannel(swigCPtr, BaseBitmap.getCPtr(channel));
 }
Ejemplo n.º 17
0
 public void GetAlphaPixel(BaseBitmap channel, int x, int y, SWIGTYPE_p_UInt16 val)
 {
     C4dApiPINVOKE.BaseBitmap_GetAlphaPixel(swigCPtr, BaseBitmap.getCPtr(channel), x, y, SWIGTYPE_p_UInt16.getCPtr(val));
 }
Ejemplo n.º 18
0
        public virtual IMAGERESULT Load(Filename name, BaseBitmap bm, int frame)
        {
            IMAGERESULT ret = (IMAGERESULT)C4dApiPINVOKE.BitmapLoaderData_Load(swigCPtr, Filename.getCPtr(name), BaseBitmap.getCPtr(bm), frame);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 19
0
        public bool CopyPartTo(BaseBitmap dst, int x, int y, int w, int h)
        {
            bool ret = C4dApiPINVOKE.BaseBitmap_CopyPartTo(swigCPtr, BaseBitmap.getCPtr(dst), x, y, w, h);

            return(ret);
        }
Ejemplo n.º 20
0
        public virtual IMAGERESULT LoadAnimated(BitmapLoaderAnimatedData bd, BITMAPLOADERACTION action, BaseBitmap bm, int frame)
        {
            IMAGERESULT ret = (IMAGERESULT)(SwigDerivedClassHasMethod("LoadAnimated", swigMethodTypes4) ? C4dApiPINVOKE.BitmapLoaderData_LoadAnimatedSwigExplicitBitmapLoaderData(swigCPtr, BitmapLoaderAnimatedData.getCPtr(bd), (int)action, BaseBitmap.getCPtr(bm), frame) : C4dApiPINVOKE.BitmapLoaderData_LoadAnimated(swigCPtr, BitmapLoaderAnimatedData.getCPtr(bd), (int)action, BaseBitmap.getCPtr(bm), frame));

            return(ret);
        }
Ejemplo n.º 21
0
 public void Set(BaseBitmap bmp)
 {
     C4dApiPINVOKE.BaseBitmapLink_Set(swigCPtr, BaseBitmap.getCPtr(bmp));
 }
Ejemplo n.º 22
0
        public IMAGERESULT Open(Filename name, BaseBitmap bm, int fps, int format, BaseContainer data, SAVEBIT savebits)
        {
            IMAGERESULT ret = (IMAGERESULT)C4dApiPINVOKE.MovieSaver_Open__SWIG_1(swigCPtr, Filename.getCPtr(name), BaseBitmap.getCPtr(bm), fps, format, BaseContainer.getCPtr(data), (int)savebits);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }