public UsdGeomXformOpVectorEnumerator(UsdGeomXformOpVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public UsdGeomXformOpVector(UsdGeomXformOpVector other) : this(UsdCsPINVOKE.new_UsdGeomXformOpVector__SWIG_1(UsdGeomXformOpVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetRange(int index, UsdGeomXformOpVector values)
 {
     UsdCsPINVOKE.UsdGeomXformOpVector_SetRange(swigCPtr, index, UsdGeomXformOpVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static bool GetLocalTransformation(GfMatrix4d transform, UsdGeomXformOpVector ops, UsdTimeCode time)
        {
            bool ret = UsdCsPINVOKE.UsdGeomXformable_GetLocalTransformation__SWIG_4(GfMatrix4d.getCPtr(transform), UsdGeomXformOpVector.getCPtr(ops), UsdTimeCode.getCPtr(time));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static bool GetTimeSamplesInInterval(UsdGeomXformOpVector orderedXformOps, GfInterval interval, StdDoubleVector times)
        {
            bool ret = UsdCsPINVOKE.UsdGeomXformable_GetTimeSamplesInInterval(UsdGeomXformOpVector.getCPtr(orderedXformOps), GfInterval.getCPtr(interval), StdDoubleVector.getCPtr(times));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool TransformMightBeTimeVarying(UsdGeomXformOpVector ops)
        {
            bool ret = UsdCsPINVOKE.UsdGeomXformable_TransformMightBeTimeVarying__SWIG_1(swigCPtr, UsdGeomXformOpVector.getCPtr(ops));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool SetXformOpOrder(UsdGeomXformOpVector orderedXformOps)
        {
            bool ret = UsdCsPINVOKE.UsdGeomXformable_SetXformOpOrder__SWIG_1(swigCPtr, UsdGeomXformOpVector.getCPtr(orderedXformOps));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static UsdGeomXformOpVector Repeat(UsdGeomXformOp value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomXformOpVector_Repeat(UsdGeomXformOp.getCPtr(value), count);
            UsdGeomXformOpVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomXformOpVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public UsdGeomXformOpVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomXformOpVector_GetRange(swigCPtr, index, count);
            UsdGeomXformOpVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomXformOpVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomXformOpVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 11
0
        public bool GetLocalTransformation(GfMatrix4d transform, out bool resetsXformStack, UsdGeomXformOpVector ops)
        {
            bool ret = UsdCsPINVOKE.UsdGeomXformable_GetLocalTransformation__SWIG_3(swigCPtr, GfMatrix4d.getCPtr(transform), out resetsXformStack, UsdGeomXformOpVector.getCPtr(ops));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 12
0
        public UsdGeomXformOpVector GetOrderedXformOps(out bool resetsXformStack)
        {
            UsdGeomXformOpVector ret = new UsdGeomXformOpVector(UsdCsPINVOKE.UsdGeomXformable_GetOrderedXformOps(swigCPtr, out resetsXformStack), true);

            return(ret);
        }