Example #1
0
  public virtual bool Do(SWIGTYPE_p_void data, BaseObject op, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mg, bool controlobject) {
    double[] adbl_mg;
    unsafe {adbl_mg = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mg);    fixed (double *pdbl_mg = adbl_mg) {
    /* constMatrix&_csin_pre */
    try {
      bool ret = C4dApiPINVOKE.Hierarchy_Do(swigCPtr, SWIGTYPE_p_void.getCPtr(data), BaseObject.getCPtr(op), (IntPtr) pdbl_mg /* constMatrix&_csin */, controlobject);
      return ret;
    } finally {
        // NOP mg = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mg);
        /* constMatrix&_csin_post */
    }
} } /* constMatrix&_csin_terminator */
  }
Example #2
0
 public static SWIGTYPE_p_VLONG GeIpSendBytes(SWIGTYPE_p_IpConnection ipc, SWIGTYPE_p_void buf, SWIGTYPE_p_VLONG size) {
   SWIGTYPE_p_VLONG ret = new SWIGTYPE_p_VLONG(C4dApiPINVOKE.GeIpSendBytes(SWIGTYPE_p_IpConnection.getCPtr(ipc), SWIGTYPE_p_void.getCPtr(buf), SWIGTYPE_p_VLONG.getCPtr(size)), true);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #3
0
 public virtual void Free(SWIGTYPE_p_void data) {
   C4dApiPINVOKE.Hierarchy_Free(swigCPtr, SWIGTYPE_p_void.getCPtr(data));
 }
Example #4
0
 public void SetVoid(SWIGTYPE_p_void v) {
   C4dApiPINVOKE.GeData_SetVoid(swigCPtr, SWIGTYPE_p_void.getCPtr(v));
 }
Example #5
0
 public bool GetNext(SWIGTYPE_p_void handle, SWIGTYPE_p_p_BaseContainer bc, DescID id, DescID groupid) {
   bool ret = C4dApiPINVOKE.Description_GetNext__SWIG_0(swigCPtr, SWIGTYPE_p_void.getCPtr(handle), SWIGTYPE_p_p_BaseContainer.getCPtr(bc), DescID.getCPtr(id), DescID.getCPtr(groupid));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #6
0
   } /* </String_csout> */ 

  public virtual bool SceneDraw(GvNode bn, BaseDraw bd, BaseDrawHelp bh, BaseThread bt, int flags, SWIGTYPE_p_void data, SWIGTYPE_p_ULONG counter) {
    bool ret = C4dApiPINVOKE.GvOperatorData_SceneDraw(swigCPtr, GvNode.getCPtr(bn), BaseDraw.getCPtr(bd), BaseDrawHelp.getCPtr(bh), BaseThread.getCPtr(bt), flags, SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_ULONG.getCPtr(counter));
    if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
    return ret;
  }
Example #7
0
 public bool Message(int type, SWIGTYPE_p_void data) {
   bool ret = C4dApiPINVOKE.C4DAtom_Message__SWIG_0(swigCPtr, type, SWIGTYPE_p_void.getCPtr(data));
   return ret;
 }
Example #8
0
 public bool OpenProfileFromMemory(SWIGTYPE_p_void mem, SWIGTYPE_p_LLONG memsize) {
   bool ret = C4dApiPINVOKE.ColorProfile_OpenProfileFromMemory(swigCPtr, SWIGTYPE_p_void.getCPtr(mem), SWIGTYPE_p_LLONG.getCPtr(memsize));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #9
0
 public void SetUserData(SWIGTYPE_p_void t_userdata) {
   C4dApiPINVOKE.AtomArray_SetUserData(swigCPtr, SWIGTYPE_p_void.getCPtr(t_userdata));
 }
Example #10
0
 public static void FillNodePlugin(SWIGTYPE_p_NODEPLUGIN np, int info, NodeDataAllocator /* DataAllocator*_cstype */ g, BaseBitmap icon, int disklevel, SWIGTYPE_p_void emulation) {
   C4dApiPINVOKE.FillNodePlugin__SWIG_0(SWIGTYPE_p_NODEPLUGIN.getCPtr(np), info, g /* DataAllocator*_csin */, BaseBitmap.getCPtr(icon), disklevel, SWIGTYPE_p_void.getCPtr(emulation));
 }
Example #11
0
 public static void HandleShaderMessage(GeListNode node, SWIGTYPE_p_BaseShader ps, int type, SWIGTYPE_p_void data) {
   C4dApiPINVOKE.HandleShaderMessage(GeListNode.getCPtr(node), SWIGTYPE_p_BaseShader.getCPtr(ps), type, SWIGTYPE_p_void.getCPtr(data));
 }
Example #12
0
 public static bool XThreadTest(SWIGTYPE_p_void data) {
   bool ret = C4dApiPINVOKE.XThreadTest(SWIGTYPE_p_void.getCPtr(data));
   return ret;
 }
Example #13
0
 public static void XThreadMain(SWIGTYPE_p_void data) {
   C4dApiPINVOKE.XThreadMain(SWIGTYPE_p_void.getCPtr(data));
 }
Example #14
0
 public static void BrowserLibraryPopup(int mx, int my, int defw, int defh, int pluginwindowid, int presettypeid, SWIGTYPE_p_void userdata, SWIGTYPE_p_BrowserPopupCallback callback) {
   C4dApiPINVOKE.BrowserLibraryPopup(mx, my, defw, defh, pluginwindowid, presettypeid, SWIGTYPE_p_void.getCPtr(userdata), SWIGTYPE_p_BrowserPopupCallback.getCPtr(callback));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #15
0
 public virtual bool SetData(GvNode bn, int type, SWIGTYPE_p_void data, GvOpSetDataMode mode) {
   bool ret = C4dApiPINVOKE.GvOperatorData_SetData__SWIG_0(swigCPtr, GvNode.getCPtr(bn), type, SWIGTYPE_p_void.getCPtr(data), (int)mode);
   return ret;
 }
Example #16
0
 internal static HandleRef getCPtr(SWIGTYPE_p_void obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #17
0
 public virtual bool IsSetDataAllowed(GvNode bn, int type, SWIGTYPE_p_void data) {
   bool ret = C4dApiPINVOKE.GvOperatorData_IsSetDataAllowed__SWIG_1(swigCPtr, GvNode.getCPtr(bn), type, SWIGTYPE_p_void.getCPtr(data));
   return ret;
 }
 public virtual GvError ConvertFromGv(int src_type, SWIGTYPE_p_void src, int cpu_id, CustomDataType dst) {
   GvError ret = (GvError)C4dApiPINVOKE.CustomDataTypeClass_ConvertFromGv(swigCPtr, src_type, SWIGTYPE_p_void.getCPtr(src), cpu_id, CustomDataType.getCPtr(dst));
   return ret;
 }
Example #19
0
 public bool Message(BaseDocument doc, BaseContainer data, int type, SWIGTYPE_p_void t_data) {
   bool ret = C4dApiPINVOKE.BrushBase_Message(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), type, SWIGTYPE_p_void.getCPtr(t_data));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public virtual GvError ConvertToGv(int dst_type, CustomDataType src, SWIGTYPE_p_void dst, int cpu_id) {
   GvError ret = (GvError)C4dApiPINVOKE.CustomDataTypeClass_ConvertToGv(swigCPtr, dst_type, CustomDataType.getCPtr(src), SWIGTYPE_p_void.getCPtr(dst), cpu_id);
   return ret;
 }
Example #21
0
 public bool MultiMessage(MULTIMSG_ROUTE flags, int type, SWIGTYPE_p_void data) {
   bool ret = C4dApiPINVOKE.C4DAtom_MultiMessage(swigCPtr, (int)flags, type, SWIGTYPE_p_void.getCPtr(data));
   return ret;
 }
 public virtual bool ConvertGvToGeData(SWIGTYPE_p_void src, int cpu_id, GeData dst) {
   bool ret = C4dApiPINVOKE.CustomDataTypeClass_ConvertGvToGeData(swigCPtr, SWIGTYPE_p_void.getCPtr(src), cpu_id, GeData.getCPtr(dst));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #23
0
 public GeData(SWIGTYPE_p_void v, VOIDVALUETYPE dummy) : this(C4dApiPINVOKE.new_GeData__SWIG_6(SWIGTYPE_p_void.getCPtr(v), (int)dummy), true) {
 }
Example #24
0
 public virtual bool Message(GeListNode node, int type, SWIGTYPE_p_void data) {
   bool ret = C4dApiPINVOKE.NodeData_Message(swigCPtr, GeListNode.getCPtr(node), type, SWIGTYPE_p_void.getCPtr(data));
   return ret;
 }
Example #25
0
 public bool BrowseGetNext(SWIGTYPE_p_void handle, DescID id, SWIGTYPE_p_p_BaseContainer data) {
   bool ret = C4dApiPINVOKE.DynamicDescription_BrowseGetNext(swigCPtr, SWIGTYPE_p_void.getCPtr(handle), DescID.getCPtr(id), SWIGTYPE_p_p_BaseContainer.getCPtr(data));
   return ret;
 }
Example #26
0
 public bool OperatorIsSetDataAllowed(int type, SWIGTYPE_p_void data, GvOpSetDataMode mode) {
   bool ret = C4dApiPINVOKE.GvNode_OperatorIsSetDataAllowed(swigCPtr, type, SWIGTYPE_p_void.getCPtr(data), (int)mode);
   return ret;
 }
Example #27
0
 public virtual void CopyTo(SWIGTYPE_p_void src, SWIGTYPE_p_void dst) {
   C4dApiPINVOKE.Hierarchy_CopyTo(swigCPtr, SWIGTYPE_p_void.getCPtr(src), SWIGTYPE_p_void.getCPtr(dst));
 }
Example #28
0
 public bool CalculateRawData(int value_id, SWIGTYPE_p_void data1, SWIGTYPE_p_void data2, SWIGTYPE_p_void dest, GvValueFlags calculation, double parm1) {
   bool ret = C4dApiPINVOKE.GvNode_CalculateRawData(swigCPtr, value_id, SWIGTYPE_p_void.getCPtr(data1), SWIGTYPE_p_void.getCPtr(data2), SWIGTYPE_p_void.getCPtr(dest), (int)calculation, parm1);
   return ret;
 }
Example #29
0
 public bool Run(BaseDocument doc, bool spheres, double lod, bool uselod, BUILDFLAGS flags, SWIGTYPE_p_void startdata, BaseThread bt) {
   bool ret = C4dApiPINVOKE.Hierarchy_Run(swigCPtr, BaseDocument.getCPtr(doc), spheres, lod, uselod, (int)flags, SWIGTYPE_p_void.getCPtr(startdata), BaseThread.getCPtr(bt));
   return ret;
 }
Example #30
0
 public static bool PopupEditText(int screenx, int screeny, int width, int height, string /* constString&_cstype */ changeme, int flags, SWIGTYPE_p_PopupEditTextCallback func, SWIGTYPE_p_void userdata) {
   bool ret = C4dApiPINVOKE.PopupEditText(screenx, screeny, width, height, changeme, flags, SWIGTYPE_p_PopupEditTextCallback.getCPtr(func), SWIGTYPE_p_void.getCPtr(userdata));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }