Example #1
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;
 }
Example #2
0
 public GvNode GetTableNode(GvRun run, int id) {
   IntPtr cPtr = C4dApiPINVOKE.GvCalcTable_GetTableNode(swigCPtr, GvRun.getCPtr(run), id);
   GvNode ret = (cPtr == IntPtr.Zero) ? null : new GvNode(cPtr, false);
   return ret;
 }
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 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;
 }
Example #5
0
 public void ResetTable(GvRun run) {
   C4dApiPINVOKE.GvCalcTable_ResetTable(swigCPtr, GvRun.getCPtr(run));
 }
Example #6
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 #7
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 #8
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;
 }
Example #9
0
 public bool SetObjectWithIndex(BaseList2D o, GvRun r) {
   bool ret = C4dApiPINVOKE.GvPort_SetObjectWithIndex__SWIG_1(swigCPtr, BaseList2D.getCPtr(o), GvRun.getCPtr(r));
   return ret;
 }
Example #10
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;
 }
Example #11
0
 public bool SetInstance(BaseList2D i, GvRun r) {
   bool ret = C4dApiPINVOKE.GvPort_SetInstance__SWIG_1(swigCPtr, BaseList2D.getCPtr(i), GvRun.getCPtr(r));
   return ret;
 }
Example #12
0
 public bool SetMaterial(BaseList2D m, GvRun r) {
   bool ret = C4dApiPINVOKE.GvPort_SetMaterial__SWIG_1(swigCPtr, BaseList2D.getCPtr(m), GvRun.getCPtr(r));
   return ret;
 }
Example #13
0
 public bool GetMaterial(SWIGTYPE_p_p_BaseList2D m, GvRun r, SWIGTYPE_p_LONG index) {
   bool ret = C4dApiPINVOKE.GvPort_GetMaterial__SWIG_0(swigCPtr, SWIGTYPE_p_p_BaseList2D.getCPtr(m), GvRun.getCPtr(r), SWIGTYPE_p_LONG.getCPtr(index));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #14
0
 public bool SetTag(BaseList2D t, GvRun r) {
   bool ret = C4dApiPINVOKE.GvPort_SetTag__SWIG_1(swigCPtr, BaseList2D.getCPtr(t), GvRun.getCPtr(r));
   return ret;
 }
Example #15
0
 public bool SetRecalculate(GvRun r, bool force_set) {
   bool ret = C4dApiPINVOKE.GvNode_SetRecalculate__SWIG_0(swigCPtr, GvRun.getCPtr(r), force_set);
   return ret;
 }
Example #16
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 #17
0
 public bool SetRecalculate(GvRun r) {
   bool ret = C4dApiPINVOKE.GvNode_SetRecalculate__SWIG_1(swigCPtr, GvRun.getCPtr(r));
   return ret;
 }
Example #18
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 #19
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 #20
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 #21
0
 public virtual bool AddToCalculationTable(GvNode bn, GvRun run) {
   bool ret = C4dApiPINVOKE.GvOperatorData_AddToCalculationTable(swigCPtr, GvNode.getCPtr(bn), GvRun.getCPtr(run));
   return ret;
 }
Example #22
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 #23
0
 public bool AddNodeToTable(GvRun run, GvNode node) {
   bool ret = C4dApiPINVOKE.GvCalcTable_AddNodeToTable(swigCPtr, GvRun.getCPtr(run), GvNode.getCPtr(node));
   return ret;
 }
Example #24
0
 public static void GvClearDynamicData(GvDynamicData data, GvRun r) {
   C4dApiPINVOKE.GvClearDynamicData__SWIG_0(GvDynamicData.getCPtr(data), GvRun.getCPtr(r));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #25
0
 public int GetTableCount(GvRun run) {
   int ret = C4dApiPINVOKE.GvCalcTable_GetTableCount(swigCPtr, GvRun.getCPtr(run));
   return ret;
 }
Example #26
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 #27
0
 internal static HandleRef getCPtr(GvRun obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #28
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 #29
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 #30
0
 public bool CalculatePortData(GvPort data, SWIGTYPE_p_void dest, GvRun r, GvValueFlags calculation, double parm1) {
   bool ret = C4dApiPINVOKE.GvPort_CalculatePortData__SWIG_0(swigCPtr, GvPort.getCPtr(data), SWIGTYPE_p_void.getCPtr(dest), GvRun.getCPtr(r), (int)calculation, parm1);
   return ret;
 }