Example #1
0
  public void FreeNode(ref GvNode /* GvNode_cstype */ node) {
    IntPtr p_node;
    unsafe { void *pp_node = &p_node;    /* GvNode_csin_pre */
    try {
      C4dApiPINVOKE.GvNodeMaster_FreeNode(swigCPtr, (IntPtr) pp_node /* GvNode_csin */);
      if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
    } finally {
        node = new GvNode(p_node, false);
        /* GvNode_csin_post */
    }
} /* GvNode_csin_terminator */
  }
Example #2
0
  public bool GetIncomingSource(ref GvNode /* GvNode_cstype */ node, ref GvPort /* GvPort_cstype */ port) {
    IntPtr p_node;
    unsafe { void *pp_node = &p_node;    /* GvNode_csin_pre */
    IntPtr p_port;
    unsafe { void *pp_port = &p_port;    /* GvPort_csin_pre */
    try {
      bool ret = C4dApiPINVOKE.GvPort_GetIncomingSource(swigCPtr, (IntPtr) pp_node /* GvNode_csin */, (IntPtr) pp_port /* GvPort_csin */);
      if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } finally {
        node = new GvNode(p_node, false);
        /* GvNode_csin_post */
        port = new GvPort(p_port, false);
        /* GvPort_csin_post */
    }
} /* GvPort_csin_terminator */
} /* GvNode_csin_terminator */
  }
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 void SelectAllNodes(GvNode node, bool select_state, bool add_to_selection) {
   C4dApiPINVOKE.GvNodeGUI_SelectAllNodes__SWIG_0(swigCPtr, GvNode.getCPtr(node), select_state, add_to_selection);
 }
Example #5
0
 public void AlignNodesToUpperLeft(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_AlignNodesToUpperLeft(swigCPtr, GvNode.getCPtr(node));
 }
Example #6
0
 public void ShowAllNodes(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_ShowAllNodes(swigCPtr, GvNode.getCPtr(node));
 }
Example #7
0
 public void SetNodeSize(GvNode node, int width, int height) {
   C4dApiPINVOKE.GvNodeGUI_SetNodeSize(swigCPtr, GvNode.getCPtr(node), width, height);
 }
Example #8
0
 public void SetNodePosGlobal(GvNode node, int x, int y) {
   C4dApiPINVOKE.GvNodeGUI_SetNodePosGlobal__SWIG_1(swigCPtr, GvNode.getCPtr(node), x, y);
 }
Example #9
0
 public bool AddNodeToCalculationTable(GvNode node, bool force_add) {
   bool ret = C4dApiPINVOKE.GvRun_AddNodeToCalculationTable__SWIG_0(swigCPtr, GvNode.getCPtr(node), force_add);
   return ret;
 }
Example #10
0
 public bool AddNodeToTable(GvRun run, GvNode node) {
   bool ret = C4dApiPINVOKE.GvCalcTable_AddNodeToTable(swigCPtr, GvRun.getCPtr(run), GvNode.getCPtr(node));
   return ret;
 }
Example #11
0
 public virtual void FreePortDescriptionCache(GvNode bn) {
   C4dApiPINVOKE.GvOperatorData_FreePortDescriptionCache(swigCPtr, GvNode.getCPtr(bn));
 }
Example #12
0
 public virtual bool CreatePortDescriptionCache(GvNode bn) {
   bool ret = C4dApiPINVOKE.GvOperatorData_CreatePortDescriptionCache__SWIG_1(swigCPtr, GvNode.getCPtr(bn));
   return ret;
 }
Example #13
0
 public virtual bool iCreateOperator(GvNode bn) {
   bool ret = C4dApiPINVOKE.GvOperatorData_iCreateOperator(swigCPtr, GvNode.getCPtr(bn));
   return ret;
 }
Example #14
0
 public virtual bool iGetPortDescription(GvNode bn, GvPortIO port, int id, GvPortDescription pd) {
   bool ret = C4dApiPINVOKE.GvOperatorData_iGetPortDescription(swigCPtr, GvNode.getCPtr(bn), (int)port, id, GvPortDescription.getCPtr(pd));
   return ret;
 }
Example #15
0
 public virtual void iGetPortList(GvNode bn, GvPortIO port, GvPortList portlist) {
   C4dApiPINVOKE.GvOperatorData_iGetPortList(swigCPtr, GvNode.getCPtr(bn), (int)port, GvPortList.getCPtr(portlist));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #16
0
 public bool NodeContextMenu(GvNode node) {
   bool ret = C4dApiPINVOKE.GvNodeGUI_NodeContextMenu(swigCPtr, GvNode.getCPtr(node));
   return ret;
 }
Example #17
0
 public void SetNodePosGlobal(GvNode node, int x, int y, bool center) {
   C4dApiPINVOKE.GvNodeGUI_SetNodePosGlobal__SWIG_0(swigCPtr, GvNode.getCPtr(node), x, y, center);
 }
Example #18
0
 public bool AddNodeToCalculationTable(GvNode node) {
   bool ret = C4dApiPINVOKE.GvRun_AddNodeToCalculationTable__SWIG_1(swigCPtr, GvNode.getCPtr(node));
   return ret;
 }
Example #19
0
 public void SetNodePos(GvNode node, int x, int y) {
   C4dApiPINVOKE.GvNodeGUI_SetNodePos(swigCPtr, GvNode.getCPtr(node), x, y);
 }
Example #20
0
 public void RemoveAllSelectedNodes(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_RemoveAllSelectedNodes(swigCPtr, GvNode.getCPtr(node));
 }
Example #21
0
 public void OptimizeNode(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_OptimizeNode(swigCPtr, GvNode.getCPtr(node));
 }
Example #22
0
 public void SelectNode(GvNode node, bool select_state, bool add_to_selection, bool send_message) {
   C4dApiPINVOKE.GvNodeGUI_SelectNode__SWIG_0(swigCPtr, GvNode.getCPtr(node), select_state, add_to_selection, send_message);
 }
Example #23
0
 public void CenterNodes(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_CenterNodes(swigCPtr, GvNode.getCPtr(node));
 }
Example #24
0
 public void DisableSelected(GvNode node, bool disable_state) {
   C4dApiPINVOKE.GvNodeGUI_DisableSelected(swigCPtr, GvNode.getCPtr(node), disable_state);
 }
Example #25
0
 public void GetZoom(GvNode node, SWIGTYPE_p_Real zoom) {
   C4dApiPINVOKE.GvNodeGUI_GetZoom(swigCPtr, GvNode.getCPtr(node), SWIGTYPE_p_Real.getCPtr(zoom));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #26
0
 public void SetFocus(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_SetFocus(swigCPtr, GvNode.getCPtr(node));
 }
Example #27
0
 public void SelectAllNodes(GvNode node, bool select_state) {
   C4dApiPINVOKE.GvNodeGUI_SelectAllNodes__SWIG_1(swigCPtr, GvNode.getCPtr(node), select_state);
 }
Example #28
0
 public GvNode GetNodeLocal(GvNode node, int x, int y) {
   IntPtr cPtr = C4dApiPINVOKE.GvNodeGUI_GetNodeLocal(swigCPtr, GvNode.getCPtr(node), x, y);
   GvNode ret = (cPtr == IntPtr.Zero) ? null : new GvNode(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 IsInNodeHead(GvNode node, int x, int y) {
   bool ret = C4dApiPINVOKE.GvNodeGUI_IsInNodeHead(swigCPtr, GvNode.getCPtr(node), x, y);
   return ret;
 }