示例#1
0
        public BaseObject GetRealActiveObject(AtomArray help, SWIGTYPE_p_Bool multi)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BaseDocument_GetRealActiveObject(swigCPtr, AtomArray.getCPtr(help), SWIGTYPE_p_Bool.getCPtr(multi));
            BaseObject            ret  = (BaseObject)C4dApiPINVOKE.InstantiateConcreteObject(cPtr, false);

            return(ret);
        }
示例#2
0
        public virtual bool IsDocumentRelated(GeListNode node, SWIGTYPE_p_Bool docrelated)
        {
            bool ret = C4dApiPINVOKE.NodeData_IsDocumentRelated(swigCPtr, GeListNode.getCPtr(node), SWIGTYPE_p_Bool.getCPtr(docrelated));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#3
0
        public IMAGERESULT Init(Filename name, int frame, SWIGTYPE_p_Bool ismovie)
        {
            IMAGERESULT ret = (IMAGERESULT)C4dApiPINVOKE.BaseBitmap_Init__SWIG_4(swigCPtr, Filename.getCPtr(name), frame, SWIGTYPE_p_Bool.getCPtr(ismovie));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
        public bool GetDefaultKey(CKey pKey, SWIGTYPE_p_Bool bOverdub)
        {
            bool ret = C4dApiPINVOKE.BaseDocument_GetDefaultKey(swigCPtr, CKey.getCPtr(pKey), SWIGTYPE_p_Bool.getCPtr(bOverdub));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
        public bool ReadBool(SWIGTYPE_p_Bool v)
        {
            bool ret = C4dApiPINVOKE.BaseFile_ReadBool(swigCPtr, SWIGTYPE_p_Bool.getCPtr(v));

            return(ret);
        }
示例#6
0
        public static IMAGERESULT Init(SWIGTYPE_p_p_BaseBitmap res, Filename name, int frame, SWIGTYPE_p_Bool ismovie, SWIGTYPE_p_p_BitmapLoaderPlugin loaderplugin)
        {
            IMAGERESULT ret = (IMAGERESULT)C4dApiPINVOKE.BaseBitmap_Init__SWIG_0(SWIGTYPE_p_p_BaseBitmap.getCPtr(res), Filename.getCPtr(name), frame, SWIGTYPE_p_Bool.getCPtr(ismovie), SWIGTYPE_p_p_BitmapLoaderPlugin.getCPtr(loaderplugin));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#7
0
        public BaseObject GetHierarchyClone(HierarchyHelp hh, BaseObject op, HIERARCHYCLONEFLAGS flags, SWIGTYPE_p_Bool dirty, AliasTrans trans)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BaseObject_GetHierarchyClone(swigCPtr, HierarchyHelp.getCPtr(hh), BaseObject.getCPtr(op), (int)flags, SWIGTYPE_p_Bool.getCPtr(dirty), AliasTrans.getCPtr(trans));
            BaseObject            ret  = (BaseObject)C4dApiPINVOKE.InstantiateConcreteObject(cPtr, false);

            return(ret);
        }
示例#8
0
 public virtual bool GetModifiedObjects(BaseTag tag, BaseDocument doc, SWIGTYPE_p_p_BaseObject op, SWIGTYPE_p_Bool pluginownedop, ref Fusee.Math.Core.double4x4 /* constMatrix&_cstype */ op_mg, double lod, int flags, BaseThread thread)
 {
     double[] adbl_op_mg;
     unsafe { adbl_op_mg = Fusee.Math.ArrayConvert.double4x4ToArrayDoubleC4DLayout(op_mg);    fixed(double *pdbl_op_mg = adbl_op_mg)
              {
                  /* constMatrix&_csin_pre */
                  try {
                      bool ret = C4dApiPINVOKE.TagData_GetModifiedObjects(swigCPtr, BaseTag.getCPtr(tag), BaseDocument.getCPtr(doc), SWIGTYPE_p_p_BaseObject.getCPtr(op), SWIGTYPE_p_Bool.getCPtr(pluginownedop), (global::System.IntPtr)pdbl_op_mg /* constMatrix&_csin */, lod, flags, BaseThread.getCPtr(thread));
                      if (C4dApiPINVOKE.SWIGPendingException.Pending)
                      {
                          throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
                      }
                      return(ret);
                  } finally {
                      // NOP op_mg = Fusee.Math.ArrayConvert.ArrayDoubleC4DLayoutTodouble4x4(pdbl_op_mg);
                      /* constMatrix&_csin_post */
                  }
              }
     } /* constMatrix&_csin_terminator */
 }
示例#9
0
        public bool Animate(CAnimInfo info, SWIGTYPE_p_Bool chg)
        {
            bool ret = C4dApiPINVOKE.CTrack_Animate__SWIG_1(swigCPtr, CAnimInfo.getCPtr(info), SWIGTYPE_p_Bool.getCPtr(chg));

            return(ret);
        }
示例#10
0
        public bool AnimateTrack(BaseDocument doc, BaseList2D op, BaseTime tt, int flags, SWIGTYPE_p_Bool chg)
        {
            bool ret = C4dApiPINVOKE.CTrack_AnimateTrack__SWIG_1(swigCPtr, BaseDocument.getCPtr(doc), BaseList2D.getCPtr(op), BaseTime.getCPtr(tt), flags, SWIGTYPE_p_Bool.getCPtr(chg));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#11
0
 public bool TestClipping3D(Fusee.Math.Core.double3 /* constVector&_cstype */ mp, Fusee.Math.Core.double3 /* constVector&_cstype */ rad, ref Fusee.Math.Core.double4x4 /* constMatrix&_cstype */ mg, SWIGTYPE_p_Bool clip2d, SWIGTYPE_p_Bool clipz)
 {
     double[] adbl_mg;
     unsafe { adbl_mg = Fusee.Math.ArrayConvert.double4x4ToArrayDoubleC4DLayout(mg);    fixed(double *pdbl_mg = adbl_mg)
              {
                  /* constMatrix&_csin_pre */
                  try {
                      bool ret = C4dApiPINVOKE.BaseView_TestClipping3D(swigCPtr, ref mp /* constVector&_csin */, ref rad /* constVector&_csin */, (global::System.IntPtr)pdbl_mg /* constMatrix&_csin */, SWIGTYPE_p_Bool.getCPtr(clip2d), SWIGTYPE_p_Bool.getCPtr(clipz));
                      return(ret);
                  } finally {
                      // NOP mg = Fusee.Math.ArrayConvert.ArrayDoubleC4DLayoutTodouble4x4(pdbl_mg);
                      /* constMatrix&_csin_post */
                  }
              }
     } /* constMatrix&_csin_terminator */
 }
示例#12
0
        public bool GetBool(SWIGTYPE_p_Bool b, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_GetBool(swigCPtr, SWIGTYPE_p_Bool.getCPtr(b), GvRun.getCPtr(r));

            return(ret);
        }
示例#13
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Bool obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }