Esempio n. 1
0
 public bool Compare(AtomArray cmp) {
   bool ret = C4dApiPINVOKE.AtomArray_Compare(swigCPtr, AtomArray.getCPtr(cmp));
   return ret;
 }
Esempio n. 2
0
 internal static HandleRef getCPtr(AtomArray obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 3
0
 public bool Init(int w, int h, BaseDraw bd, AtomArray ar, int mode, bool onlyvisible) {
   bool ret = C4dApiPINVOKE.ViewportSelect_Init__SWIG_3(swigCPtr, w, h, BaseDraw.getCPtr(bd), AtomArray.getCPtr(ar), mode, onlyvisible);
   return ret;
 }
Esempio n. 4
0
 public bool Append(AtomArray src) {
   bool ret = C4dApiPINVOKE.AtomArray_Append__SWIG_1(swigCPtr, AtomArray.getCPtr(src));
   return ret;
 }
Esempio n. 5
0
 public SWIGTYPE_p_DescEntry GetFirst(AtomArray op) {
   IntPtr cPtr = C4dApiPINVOKE.Description_GetFirst(swigCPtr, AtomArray.getCPtr(op));
   SWIGTYPE_p_DescEntry ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_DescEntry(cPtr, false);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 6
0
 public bool GetSubDescriptionWithData(DescID did, AtomArray op, SWIGTYPE_p_RESOURCEDATATYPEPLUGIN resdatatypeplugin, BaseContainer bc, DescID singledescid) {
   bool ret = C4dApiPINVOKE.Description_GetSubDescriptionWithData(swigCPtr, DescID.getCPtr(did), AtomArray.getCPtr(op), SWIGTYPE_p_RESOURCEDATATYPEPLUGIN.getCPtr(resdatatypeplugin), BaseContainer.getCPtr(bc), DescID.getCPtr(singledescid));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 7
0
 public bool ReceiveMaterials(BaseObject op, AtomArray mat, bool clearfirst) {
   bool ret = C4dApiPINVOKE.BaseDocument_ReceiveMaterials(swigCPtr, BaseObject.getCPtr(op), AtomArray.getCPtr(mat), clearfirst);
   return ret;
 }
Esempio n. 8
0
 public ModelingCommandData(BaseDocument doc, BaseObject op, BaseContainer bc, MODELINGCOMMANDMODE mode, MODELINGCOMMANDFLAGS flags, AtomArray result) : this(C4dApiPINVOKE.new_ModelingCommandData__SWIG_2(BaseDocument.getCPtr(doc), BaseObject.getCPtr(op), BaseContainer.getCPtr(bc), (int)mode, (int)flags, AtomArray.getCPtr(result)), true) {
 }
Esempio n. 9
0
 public void GetActiveObjectsFilter(AtomArray selection, bool children, int type, int instanceof) {
   C4dApiPINVOKE.BaseDocument_GetActiveObjectsFilter(swigCPtr, AtomArray.getCPtr(selection), children, type, instanceof);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 10
0
 public BaseContainer GetAllTextures(AtomArray ar) {
   BaseContainer ret = new BaseContainer(C4dApiPINVOKE.BaseDocument_GetAllTextures(swigCPtr, AtomArray.getCPtr(ar)), true);
   return ret;
 }
Esempio n. 11
0
 public void GetActivePolygonObjects(AtomArray selection, bool children) {
   C4dApiPINVOKE.BaseDocument_GetActivePolygonObjects(swigCPtr, AtomArray.getCPtr(selection), children);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 12
0
 public void GetActiveObjects(AtomArray selection, SWIGTYPE_p_GETACTIVEOBJECTFLAGS flags) {
   C4dApiPINVOKE.BaseDocument_GetActiveObjects(swigCPtr, AtomArray.getCPtr(selection), SWIGTYPE_p_GETACTIVEOBJECTFLAGS.getCPtr(flags));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 13
0
 public BaseObject GetRealActiveObject(AtomArray help, SWIGTYPE_p_Bool multi) {
   IntPtr cPtr = C4dApiPINVOKE.BaseDocument_GetRealActiveObject(swigCPtr, AtomArray.getCPtr(help), SWIGTYPE_p_Bool.getCPtr(multi));
   BaseObject ret = (cPtr == IntPtr.Zero) ? null : new BaseObject(cPtr, false);
   return ret;
 }
Esempio n. 14
0
 public bool CopyTo(AtomArray dest) {
   bool ret = C4dApiPINVOKE.AtomArray_CopyTo(swigCPtr, AtomArray.getCPtr(dest));
   return ret;
 }
Esempio n. 15
0
 public void SetHighlightedObjects(AtomArray selection, int mode) {
   C4dApiPINVOKE.BaseDocument_SetHighlightedObjects__SWIG_0(swigCPtr, AtomArray.getCPtr(selection), mode);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 16
0
 public bool CopyToFilter(AtomArray dest, int type, int instance) {
   bool ret = C4dApiPINVOKE.AtomArray_CopyToFilter__SWIG_1(swigCPtr, AtomArray.getCPtr(dest), type, instance);
   return ret;
 }
Esempio n. 17
0
 public void GetHighlightedObjects(AtomArray selection) {
   C4dApiPINVOKE.BaseDocument_GetHighlightedObjects(swigCPtr, AtomArray.getCPtr(selection));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 18
0
 public bool GetObjects(BaseDocument doc, AtomArray objects) {
   bool ret = C4dApiPINVOKE.BrushBase_GetObjects(swigCPtr, BaseDocument.getCPtr(doc), AtomArray.getCPtr(objects));
   return ret;
 }
Esempio n. 19
0
 public static BaseDocument IsolateObjects(BaseDocument doc, AtomArray t_objects) {
   IntPtr cPtr = C4dApiPINVOKE.IsolateObjects(BaseDocument.getCPtr(doc), AtomArray.getCPtr(t_objects));
   BaseDocument ret = (cPtr == IntPtr.Zero) ? null : new BaseDocument(cPtr, false);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 20
0
 public bool CheckDescID(DescID searchid, AtomArray ops, DescID completeid) {
   bool ret = C4dApiPINVOKE.Description_CheckDescID(swigCPtr, DescID.getCPtr(searchid), AtomArray.getCPtr(ops), DescID.getCPtr(completeid));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 21
0
 public static string /* String_cstype */ DescGenerateTitle(AtomArray arr)  {  /* <String_csout> */
     string ret = C4dApiPINVOKE.DescGenerateTitle(AtomArray.getCPtr(arr));
     return ret;
  } /* </String_csout> */ 
Esempio n. 22
0
 public BaseContainer GetParameterI(DescID id, AtomArray ar) {
   IntPtr cPtr = C4dApiPINVOKE.Description_GetParameterI(swigCPtr, DescID.getCPtr(id), AtomArray.getCPtr(ar));
   BaseContainer ret = (cPtr == IntPtr.Zero) ? null : new BaseContainer(cPtr, false);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 23
0
 public bool Init(int w, int h, BaseDraw bd, AtomArray ar, int mode, bool onlyvisible, SWIGTYPE_p_VIEWPORTSELECTFLAGS flags) {
   bool ret = C4dApiPINVOKE.ViewportSelect_Init__SWIG_2(swigCPtr, w, h, BaseDraw.getCPtr(bd), AtomArray.getCPtr(ar), mode, onlyvisible, SWIGTYPE_p_VIEWPORTSELECTFLAGS.getCPtr(flags));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }