Ejemplo n.º 1
0
        public GvNode GetTableNode(GvRun run, int id)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvCalcTable_GetTableNode(swigCPtr, GvRun.getCPtr(run), id);
            GvNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvNode(cPtr, false);

            return(ret);
        }
Ejemplo n.º 2
0
        public GvPort Calculate(GvNode bn, GvRun r, GvCalc c)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvPort_Calculate(swigCPtr, GvNode.getCPtr(bn), GvRun.getCPtr(r), GvCalc.getCPtr(c));
            GvPort ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvPort(cPtr, false);

            return(ret);
        }
Ejemplo n.º 3
0
        public GvValue AllocCalculationHandler(int main_id, GvCalc calc, GvRun run, int singleport)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_AllocCalculationHandler(swigCPtr, main_id, GvCalc.getCPtr(calc), GvRun.getCPtr(run), singleport);
            GvValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvValue(cPtr, false);

            return(ret);
        }
Ejemplo n.º 4
0
        public GvPort CalculateInPortIndex(int port_index, GvRun run, GvCalc calc)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_CalculateInPortIndex(swigCPtr, port_index, GvRun.getCPtr(run), GvCalc.getCPtr(calc));
            GvPort ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvPort(cPtr, false);

            return(ret);
        }
Ejemplo n.º 5
0
        public GvPort CalculateOutPort(GvPort port, GvRun run, GvCalc calc)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_CalculateOutPort(swigCPtr, GvPort.getCPtr(port), GvRun.getCPtr(run), GvCalc.getCPtr(calc));
            GvPort ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvPort(cPtr, false);

            return(ret);
        }
Ejemplo n.º 6
0
        public GvRun GetRun()
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNodeMaster_GetRun(swigCPtr);
            GvRun ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvRun(cPtr, false);

            return(ret);
        }
Ejemplo n.º 7
0
        public bool GetObjectWithIndex(SWIGTYPE_p_p_BaseList2D o, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_GetObjectWithIndex__SWIG_1(swigCPtr, SWIGTYPE_p_p_BaseList2D.getCPtr(o), GvRun.getCPtr(r));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 8
0
        public bool GetInstance(SWIGTYPE_p_p_BaseList2D i, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_GetInstance__SWIG_1(swigCPtr, SWIGTYPE_p_p_BaseList2D.getCPtr(i), GvRun.getCPtr(r));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public bool GetMaterial(SWIGTYPE_p_p_BaseList2D m, GvRun r, SWIGTYPE_p_Int32 index)
        {
            bool ret = C4dApiPINVOKE.GvPort_GetMaterial__SWIG_0(swigCPtr, SWIGTYPE_p_p_BaseList2D.getCPtr(m), GvRun.getCPtr(r), SWIGTYPE_p_Int32.getCPtr(index));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
        public bool SetString(string /* constString&_cstype */ s, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_SetString(swigCPtr, s, GvRun.getCPtr(r));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
        public bool SetTime(BaseTime t, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_SetTime(swigCPtr, BaseTime.getCPtr(t), GvRun.getCPtr(r));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 12
0
        public bool GetDataInstance(SWIGTYPE_p_p_void d, int type, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_GetDataInstance(swigCPtr, SWIGTYPE_p_p_void.getCPtr(d), type, GvRun.getCPtr(r));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 13
0
 public bool GetMatrix(ref Fusee.Math.Core.double4x4 /* Matrix*&_cstype */ m, GvRun r)
 {
     double[] adbl_m;
     unsafe { adbl_m = Fusee.Math.ArrayConvert.double4x4ToArrayDoubleC4DLayout(m);    fixed(double *pdbl_m = adbl_m)
              {
                  /* Matrix*&_csin_pre */
                  try {
                      bool ret = C4dApiPINVOKE.GvPort_GetMatrix(swigCPtr, (global::System.IntPtr)pdbl_m /* Matrix*&_csin */, GvRun.getCPtr(r));
                      return(ret);
                  } finally {
                      m = Fusee.Math.ArrayConvert.ArrayDoubleC4DLayoutTodouble4x4(pdbl_m);
                      /* Matrix*&_csin_post */
                  }
              }
     } /* Matrix*&_csin_terminator */
 }
Ejemplo n.º 14
0
        public bool AddNodeToTable(GvRun run, GvNode node)
        {
            bool ret = C4dApiPINVOKE.GvCalcTable_AddNodeToTable(swigCPtr, GvRun.getCPtr(run), GvNode.getCPtr(node));

            return(ret);
        }
Ejemplo n.º 15
0
 public void ResetTable(GvRun run)
 {
     C4dApiPINVOKE.GvCalcTable_ResetTable(swigCPtr, GvRun.getCPtr(run));
 }
Ejemplo n.º 16
0
        public bool CalculateRawDataRev(SWIGTYPE_p_void data, SWIGTYPE_p_void dest, GvRun r, GvValueFlags calculation)
        {
            bool ret = C4dApiPINVOKE.GvPort_CalculateRawDataRev__SWIG_1(swigCPtr, SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_void.getCPtr(dest), GvRun.getCPtr(r), (int)calculation);

            return(ret);
        }
Ejemplo n.º 17
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GvRun obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 18
0
        public bool SetRecalculate(GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvNode_SetRecalculate__SWIG_1(swigCPtr, GvRun.getCPtr(r));

            return(ret);
        }
Ejemplo n.º 19
0
        public bool SetTag(BaseList2D t, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_SetTag__SWIG_1(swigCPtr, BaseList2D.getCPtr(t), GvRun.getCPtr(r));

            return(ret);
        }
Ejemplo n.º 20
0
        public bool SetMaterial(BaseList2D m, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_SetMaterial__SWIG_1(swigCPtr, BaseList2D.getCPtr(m), GvRun.getCPtr(r));

            return(ret);
        }
Ejemplo n.º 21
0
        public bool SetRecalculate(GvRun r, bool force_set)
        {
            bool ret = C4dApiPINVOKE.GvNode_SetRecalculate__SWIG_0(swigCPtr, GvRun.getCPtr(r), force_set);

            return(ret);
        }
Ejemplo n.º 22
0
        public virtual bool SetRecalculate(GvNode bn, GvPort port, GvRun run)
        {
            bool ret = C4dApiPINVOKE.GvOperatorData_SetRecalculate__SWIG_1(swigCPtr, GvNode.getCPtr(bn), GvPort.getCPtr(port), GvRun.getCPtr(run));

            return(ret);
        }
Ejemplo n.º 23
0
        public bool SetInstance(BaseList2D i, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_SetInstance__SWIG_1(swigCPtr, BaseList2D.getCPtr(i), GvRun.getCPtr(r));

            return(ret);
        }
Ejemplo n.º 24
0
        public virtual bool AddToCalculationTable(GvNode bn, GvRun run)
        {
            bool ret = C4dApiPINVOKE.GvOperatorData_AddToCalculationTable(swigCPtr, GvNode.getCPtr(bn), GvRun.getCPtr(run));

            return(ret);
        }
Ejemplo n.º 25
0
        public bool SetObjectWithIndex(BaseList2D o, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_SetObjectWithIndex__SWIG_1(swigCPtr, BaseList2D.getCPtr(o), GvRun.getCPtr(r));

            return(ret);
        }
Ejemplo n.º 26
0
        public int GetTableCount(GvRun run)
        {
            int ret = C4dApiPINVOKE.GvCalcTable_GetTableCount(swigCPtr, GvRun.getCPtr(run));

            return(ret);
        }
Ejemplo n.º 27
0
        public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c)
        {
            bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_2(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c));

            return(ret);
        }
Ejemplo n.º 28
0
        public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c, int index, BaseTime time)
        {
            bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_0(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c), index, BaseTime.getCPtr(time));

            return(ret);
        }
Ejemplo n.º 29
0
        public virtual bool InitCalculation(GvNode bn, GvCalc calc, GvRun run)
        {
            bool ret = C4dApiPINVOKE.GvOperatorData_InitCalculation(swigCPtr, GvNode.getCPtr(bn), GvCalc.getCPtr(calc), GvRun.getCPtr(run));

            return(ret);
        }
Ejemplo n.º 30
0
        public virtual bool Calculate(GvNode bn, GvPort port, GvRun run, GvCalc calc)
        {
            bool ret = C4dApiPINVOKE.GvOperatorData_Calculate(swigCPtr, GvNode.getCPtr(bn), GvPort.getCPtr(port), GvRun.getCPtr(run), GvCalc.getCPtr(calc));

            return(ret);
        }