Ejemplo n.º 1
0
 public GeData(GeData n) : this(C4dApiPINVOKE.new_GeData__SWIG_2(GeData.getCPtr(n)), true)
 {
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public void SetDrawParam(int id, GeData data)
 {
     C4dApiPINVOKE.BaseDraw_SetDrawParam(swigCPtr, id, GeData.getCPtr(data));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public void SetGeData(CCurve seq, GeData d)
 {
     C4dApiPINVOKE.CKey_SetGeData(swigCPtr, CCurve.getCPtr(seq), GeData.getCPtr(d));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void SetParam(int index, GeData data, DescID id)
 {
     C4dApiPINVOKE.CAMorphNode_SetParam(swigCPtr, index, GeData.getCPtr(data), DescID.getCPtr(id));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
        public virtual bool InterpolateKeys(GeData res, GeData t_data1, GeData t_data2, double mix, int flags)
        {
            bool ret = C4dApiPINVOKE.CustomDataTypeClass_InterpolateKeys(swigCPtr, GeData.getCPtr(res), GeData.getCPtr(t_data1), GeData.getCPtr(t_data2), mix, flags);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public bool SetParameter(MPBTYPE id, GeData par)
        {
            bool ret = C4dApiPINVOKE.MultipassBitmap_SetParameter(swigCPtr, (int)id, GeData.getCPtr(par));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 7
0
        public GeData GetData(int id, GeData t_default)
        {
            GeData ret = new GeData(C4dApiPINVOKE.BaseBitmap_GetData(swigCPtr, id, GeData.getCPtr(t_default)), true);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 8
0
        public virtual bool ConvertGeDataToGv(GeData src, SWIGTYPE_p_void dst, int cpu_id)
        {
            bool ret = C4dApiPINVOKE.CustomDataTypeClass_ConvertGeDataToGv(swigCPtr, GeData.getCPtr(src), SWIGTYPE_p_void.getCPtr(dst), cpu_id);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public bool GetParam(int index, GeData data, DescID id)
        {
            bool ret = C4dApiPINVOKE.CAMorphNode_GetParam(swigCPtr, index, GeData.getCPtr(data), DescID.getCPtr(id));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
        public bool SetData(int id, GeData data)
        {
            bool ret = C4dApiPINVOKE.BaseBitmap_SetData(swigCPtr, id, GeData.getCPtr(data));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
        public bool WriteGeData(GeData v)
        {
            bool ret = C4dApiPINVOKE.HyperFile_WriteGeData(swigCPtr, GeData.getCPtr(v));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 12
0
        public virtual bool SetDParameter(BaseDocument doc, BaseContainer data, DescID id, GeData t_data, SWIGTYPE_p_DESCFLAGS_SET flags)
        {
            bool ret = (SwigDerivedClassHasMethod("SetDParameter", swigMethodTypes4) ? C4dApiPINVOKE.BrushToolData_SetDParameterSwigExplicitBrushToolData(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags)) : C4dApiPINVOKE.BrushToolData_SetDParameter(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags)));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 13
0
        public virtual bool GetDEnabling(BaseDocument doc, BaseContainer data, DescID id, GeData t_data, DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = (SwigDerivedClassHasMethod("GetDEnabling", swigMethodTypes3) ? C4dApiPINVOKE.BrushToolData_GetDEnablingSwigExplicitBrushToolData(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc)) : C4dApiPINVOKE.BrushToolData_GetDEnabling(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc)));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 14
0
 public void CopyData(GeData dest, AliasTrans aliastrans)
 {
     C4dApiPINVOKE.GeData_CopyData(swigCPtr, GeData.getCPtr(dest), AliasTrans.getCPtr(aliastrans));
 }
Ejemplo n.º 15
0
        public bool GetEnabling(DescID id, GeData t_data, DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = C4dApiPINVOKE.C4DAtom_GetEnabling(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 16
0
        public bool SetParameter(DescID id, GeData t_data, DESCFLAGS_SET flags)
        {
            bool ret = C4dApiPINVOKE.C4DAtom_SetParameter(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 17
0
        public bool SetDParameter(BaseDocument doc, BaseContainer data, DescID id, GeData t_data, SWIGTYPE_p_DESCFLAGS_SET flags)
        {
            bool ret = C4dApiPINVOKE.BrushBase_SetDParameter(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 18
0
        public bool SetParameter(DescID id, GeData t_data)
        {
            bool ret = C4dApiPINVOKE.BaseContainer_SetParameter(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 19
0
        public virtual bool SetDParameter(GeListNode node, DescID id, GeData t_data, SWIGTYPE_p_DESCFLAGS_SET flags)
        {
            bool ret = C4dApiPINVOKE.NodeData_SetDParameter(swigCPtr, GeListNode.getCPtr(node), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 20
0
        public bool GetAnimatedParameter(DescID id, GeData t_data1, GeData t_data2, SWIGTYPE_p_Float mix, DESCFLAGS_GET flags)
        {
            bool ret = C4dApiPINVOKE.BaseList2D_GetAnimatedParameter(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data1), GeData.getCPtr(t_data2), SWIGTYPE_p_Float.getCPtr(mix), (int)flags);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 21
0
        public virtual bool GetEnabling(CustomDataType data, DescID id, GeData t_data, SWIGTYPE_p_DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = C4dApiPINVOKE.CustomDataTypeClass_GetEnabling(swigCPtr, CustomDataType.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_ENABLE.getCPtr(flags), BaseContainer.getCPtr(itemdesc));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 22
0
        public virtual bool SetDParameter(CustomDataType data, DescID id, GeData t_data, SWIGTYPE_p_DESCFLAGS_SET flags)
        {
            bool ret = C4dApiPINVOKE.CustomDataTypeClass_SetDParameter(swigCPtr, CustomDataType.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 23
0
        public virtual GvError ConvertToGeData(int dst_type, CustomDataType src, GeData dst)
        {
            GvError ret = (GvError)C4dApiPINVOKE.CustomDataTypeClass_ConvertToGeData(swigCPtr, dst_type, CustomDataType.getCPtr(src), GeData.getCPtr(dst));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 24
0
        public bool GetDEnabling(BaseDocument doc, BaseContainer data, DescID id, GeData t_data, DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = C4dApiPINVOKE.BrushBase_GetDEnabling(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 25
0
        public GeData SetData(int id, GeData n)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BaseContainer_SetData(swigCPtr, id, GeData.getCPtr(n));
            GeData ret = (cPtr == global::System.IntPtr.Zero) ? null : new GeData(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 26
0
        public virtual bool GetDEnabling(GeListNode node, DescID id, GeData t_data, DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = C4dApiPINVOKE.NodeData_GetDEnabling(swigCPtr, GeListNode.getCPtr(node), DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 27
0
        public bool ReadGeData(GeData v)
        {
            bool ret = C4dApiPINVOKE.HyperFile_ReadGeData(swigCPtr, GeData.getCPtr(v));

            return(ret);
        }
Ejemplo n.º 28
0
 public virtual void CheckData(BaseContainer bc, GeData data)
 {
     C4dApiPINVOKE.CustomDataTypeClass_CheckData(swigCPtr, BaseContainer.getCPtr(bc), GeData.getCPtr(data));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 29
0
        public bool SetAnimatedParameter(CTrack track, DescID id, GeData t_data1, GeData t_data2, double mix, DESCFLAGS_SET flags)
        {
            bool ret = C4dApiPINVOKE.BaseList2D_SetAnimatedParameter(swigCPtr, CTrack.getCPtr(track), DescID.getCPtr(id), GeData.getCPtr(t_data1), GeData.getCPtr(t_data2), mix, (int)flags);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }