Example #1
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;
 }
Example #2
0
 internal static HandleRef getCPtr(GvCalc obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #3
0
 public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c, int index, SWIGTYPE_p_BaseTime time) {
   bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_0(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c), index, SWIGTYPE_p_BaseTime.getCPtr(time));
   return ret;
 }
Example #4
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;
 }
Example #5
0
 public bool CalculateTable(GvCalc calc) {
   bool ret = C4dApiPINVOKE.GvRun_CalculateTable(swigCPtr, GvCalc.getCPtr(calc));
   return ret;
 }
Example #6
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;
 }
Example #7
0
 public virtual void FreeCalculation(GvNode bn, GvCalc calc) {
   C4dApiPINVOKE.GvOperatorData_FreeCalculation(swigCPtr, GvNode.getCPtr(bn), GvCalc.getCPtr(calc));
 }
Example #8
0
 public GvPort CalculateOutPort(GvPort port, GvRun run, GvCalc calc) {
   IntPtr cPtr = C4dApiPINVOKE.GvNode_CalculateOutPort(swigCPtr, GvPort.getCPtr(port), GvRun.getCPtr(run), GvCalc.getCPtr(calc));
   GvPort ret = (cPtr == IntPtr.Zero) ? null : new GvPort(cPtr, false);
   return ret;
 }
Example #9
0
 public GvValue AllocCalculationHandler(int main_id, GvCalc calc, GvRun run, int singleport) {
   IntPtr cPtr = C4dApiPINVOKE.GvNode_AllocCalculationHandler(swigCPtr, main_id, GvCalc.getCPtr(calc), GvRun.getCPtr(run), singleport);
   GvValue ret = (cPtr == IntPtr.Zero) ? null : new GvValue(cPtr, false);
   return ret;
 }
Example #10
0
 public static bool GvAllocDynamicDataClear(GvNode bn, GvDynamicData data, GvCalc c, int id) {
   bool ret = C4dApiPINVOKE.GvAllocDynamicDataClear(GvNode.getCPtr(bn), GvDynamicData.getCPtr(data), GvCalc.getCPtr(c), id);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #11
0
 public GvPort CalculateInPortIndex(int port_index, GvRun run, GvCalc calc) {
   IntPtr cPtr = C4dApiPINVOKE.GvNode_CalculateInPortIndex(swigCPtr, port_index, GvRun.getCPtr(run), GvCalc.getCPtr(calc));
   GvPort ret = (cPtr == IntPtr.Zero) ? null : new GvPort(cPtr, false);
   return ret;
 }
Example #12
0
 public static bool GvBuildValuesTable(GvNode bn, GvValuesInfo info, GvCalc c, GvRun r, SWIGTYPE_p_LONG input_ids) {
   bool ret = C4dApiPINVOKE.GvBuildValuesTable__SWIG_1(GvNode.getCPtr(bn), GvValuesInfo.getCPtr(info), GvCalc.getCPtr(c), GvRun.getCPtr(r), SWIGTYPE_p_LONG.getCPtr(input_ids));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #13
0
 public static bool GvCalculateInValuesTable(GvNode bn, GvRun run, GvCalc calc, GvValuesInfo info) {
   bool ret = C4dApiPINVOKE.GvCalculateInValuesTable__SWIG_2(GvNode.getCPtr(bn), GvRun.getCPtr(run), GvCalc.getCPtr(calc), GvValuesInfo.getCPtr(info));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #14
0
 public static bool GvCalculateInValuesTable(GvNode bn, GvRun run, GvCalc calc, GvValuesInfo info, int singleport, SWIGTYPE_p_BaseTime time) {
   bool ret = C4dApiPINVOKE.GvCalculateInValuesTable__SWIG_0(GvNode.getCPtr(bn), GvRun.getCPtr(run), GvCalc.getCPtr(calc), GvValuesInfo.getCPtr(info), singleport, SWIGTYPE_p_BaseTime.getCPtr(time));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #15
0
 public static bool GvBuildInValuesTable(GvNode bn, SWIGTYPE_p_p_p_GvValue ports, SWIGTYPE_p_LONG nr_of_ports, GvCalc c, GvRun r, SWIGTYPE_p_LONG ids) {
   bool ret = C4dApiPINVOKE.GvBuildInValuesTable__SWIG_0(GvNode.getCPtr(bn), SWIGTYPE_p_p_p_GvValue.getCPtr(ports), SWIGTYPE_p_LONG.getCPtr(nr_of_ports), GvCalc.getCPtr(c), GvRun.getCPtr(r), SWIGTYPE_p_LONG.getCPtr(ids));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #16
0
 public GvPort Calculate(GvNode bn, GvRun r, GvCalc c) {
   IntPtr cPtr = C4dApiPINVOKE.GvPort_Calculate(swigCPtr, GvNode.getCPtr(bn), GvRun.getCPtr(r), GvCalc.getCPtr(c));
   GvPort ret = (cPtr == IntPtr.Zero) ? null : new GvPort(cPtr, false);
   return ret;
 }