Exemple #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 */
  }
Exemple #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 */
  }
Exemple #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;
 }
Exemple #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);
 }
Exemple #5
0
 public void AlignNodesToUpperLeft(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_AlignNodesToUpperLeft(swigCPtr, GvNode.getCPtr(node));
 }
Exemple #6
0
 public void ShowAllNodes(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_ShowAllNodes(swigCPtr, GvNode.getCPtr(node));
 }
Exemple #7
0
 public void SetNodeSize(GvNode node, int width, int height) {
   C4dApiPINVOKE.GvNodeGUI_SetNodeSize(swigCPtr, GvNode.getCPtr(node), width, height);
 }
Exemple #8
0
 public void SetNodePosGlobal(GvNode node, int x, int y) {
   C4dApiPINVOKE.GvNodeGUI_SetNodePosGlobal__SWIG_1(swigCPtr, GvNode.getCPtr(node), x, y);
 }
Exemple #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;
 }
Exemple #10
0
 public bool AddNodeToTable(GvRun run, GvNode node) {
   bool ret = C4dApiPINVOKE.GvCalcTable_AddNodeToTable(swigCPtr, GvRun.getCPtr(run), GvNode.getCPtr(node));
   return ret;
 }
Exemple #11
0
 public virtual void FreePortDescriptionCache(GvNode bn) {
   C4dApiPINVOKE.GvOperatorData_FreePortDescriptionCache(swigCPtr, GvNode.getCPtr(bn));
 }
Exemple #12
0
 public virtual bool CreatePortDescriptionCache(GvNode bn) {
   bool ret = C4dApiPINVOKE.GvOperatorData_CreatePortDescriptionCache__SWIG_1(swigCPtr, GvNode.getCPtr(bn));
   return ret;
 }
Exemple #13
0
 public virtual bool iCreateOperator(GvNode bn) {
   bool ret = C4dApiPINVOKE.GvOperatorData_iCreateOperator(swigCPtr, GvNode.getCPtr(bn));
   return ret;
 }
Exemple #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;
 }
Exemple #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();
 }
Exemple #16
0
 public bool NodeContextMenu(GvNode node) {
   bool ret = C4dApiPINVOKE.GvNodeGUI_NodeContextMenu(swigCPtr, GvNode.getCPtr(node));
   return ret;
 }
Exemple #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);
 }
Exemple #18
0
 public bool AddNodeToCalculationTable(GvNode node) {
   bool ret = C4dApiPINVOKE.GvRun_AddNodeToCalculationTable__SWIG_1(swigCPtr, GvNode.getCPtr(node));
   return ret;
 }
Exemple #19
0
 public void SetNodePos(GvNode node, int x, int y) {
   C4dApiPINVOKE.GvNodeGUI_SetNodePos(swigCPtr, GvNode.getCPtr(node), x, y);
 }
Exemple #20
0
 public void RemoveAllSelectedNodes(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_RemoveAllSelectedNodes(swigCPtr, GvNode.getCPtr(node));
 }
Exemple #21
0
 public void OptimizeNode(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_OptimizeNode(swigCPtr, GvNode.getCPtr(node));
 }
Exemple #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);
 }
Exemple #23
0
 public void CenterNodes(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_CenterNodes(swigCPtr, GvNode.getCPtr(node));
 }
Exemple #24
0
 public void DisableSelected(GvNode node, bool disable_state) {
   C4dApiPINVOKE.GvNodeGUI_DisableSelected(swigCPtr, GvNode.getCPtr(node), disable_state);
 }
Exemple #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();
 }
Exemple #26
0
 public void SetFocus(GvNode node) {
   C4dApiPINVOKE.GvNodeGUI_SetFocus(swigCPtr, GvNode.getCPtr(node));
 }
Exemple #27
0
 public void SelectAllNodes(GvNode node, bool select_state) {
   C4dApiPINVOKE.GvNodeGUI_SelectAllNodes__SWIG_1(swigCPtr, GvNode.getCPtr(node), select_state);
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #30
0
 public bool IsInNodeHead(GvNode node, int x, int y) {
   bool ret = C4dApiPINVOKE.GvNodeGUI_IsInNodeHead(swigCPtr, GvNode.getCPtr(node), x, y);
   return ret;
 }