Exemple #1
0
 public VtValue(GfMatrix4d obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_7(GfMatrix4d.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public GfMatrix4f(GfMatrix4d m) : this(UsdCsPINVOKE.new_GfMatrix4f__SWIG_9(GfMatrix4d.getCPtr(m)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public void SetTransform(GfMatrix4d val)
 {
     UsdCsPINVOKE.GfCamera_SetTransform(swigCPtr, GfMatrix4d.getCPtr(val));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public static void DecomposeRotation(GfMatrix4d rot, GfVec3d TwAxis, GfVec3d FBAxis, GfVec3d LRAxis, double handedness, ref double thetaTw, ref double thetaFB, ref double thetaLR)
 {
     UsdCsPINVOKE.GfRotation_DecomposeRotation__SWIG_3(GfMatrix4d.getCPtr(rot), GfVec3d.getCPtr(TwAxis), GfVec3d.getCPtr(FBAxis), GfVec3d.getCPtr(LRAxis), handedness, ref thetaTw, ref thetaFB, ref thetaLR);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public void SetPositionAndRotationFromMatrix(GfMatrix4d camToWorldXf)
 {
     UsdCsPINVOKE.GfFrustum_SetPositionAndRotationFromMatrix(swigCPtr, GfMatrix4d.getCPtr(camToWorldXf));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
 public void SetMatrix(GfMatrix4d matrix)
 {
     UsdCsPINVOKE.GfBBox3d_SetMatrix(swigCPtr, GfMatrix4d.getCPtr(matrix));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #7
0
 public void push_back(GfMatrix4d elem)
 {
     UsdCsPINVOKE.VtMatrix4dArray_push_back(swigCPtr, GfMatrix4d.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #8
0
 protected void SetValue(int index, GfMatrix4d value)
 {
     UsdCsPINVOKE.VtMatrix4dArray_SetValue(swigCPtr, index, GfMatrix4d.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #9
0
 public void assign(uint n, GfMatrix4d fill)
 {
     UsdCsPINVOKE.VtMatrix4dArray_assign(swigCPtr, n, GfMatrix4d.getCPtr(fill));
     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);
        }
Exemple #11
0
        public bool Set(GfMatrix4d value)
        {
            bool ret = UsdCsPINVOKE.UsdGeomXformOp_Set__SWIG_3(swigCPtr, GfMatrix4d.getCPtr(value));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool Get(GfMatrix4d value, UsdTimeCode time)
        {
            bool ret = UsdCsPINVOKE.UsdGeomConstraintTarget_Get__SWIG_0(swigCPtr, GfMatrix4d.getCPtr(value), UsdTimeCode.getCPtr(time));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #13
0
        public GfRay Transform(GfMatrix4d matrix)
        {
            GfRay ret = new GfRay(UsdCsPINVOKE.GfRay_Transform(swigCPtr, GfMatrix4d.getCPtr(matrix)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #14
0
        public static bool Equals(GfMatrix4d lhs, GfMatrix4d rhs)
        {
            bool ret = UsdCsPINVOKE.GfMatrix4d_Equals(GfMatrix4d.getCPtr(lhs), GfMatrix4d.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #15
0
        public static bool ComputeExtent(double size, GfMatrix4d transform, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomCube_ComputeExtent__SWIG_1(size, GfMatrix4d.getCPtr(transform), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #16
0
        public static bool IntersectsViewVolume(GfBBox3d bbox, GfMatrix4d vpMat)
        {
            bool ret = UsdCsPINVOKE.GfFrustum_IntersectsViewVolume(GfBBox3d.getCPtr(bbox), GfMatrix4d.getCPtr(vpMat));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool Get(GfMatrix4d value)
        {
            bool ret = UsdCsPINVOKE.UsdGeomConstraintTarget_Get__SWIG_1(swigCPtr, GfMatrix4d.getCPtr(value));

            return(ret);
        }
Exemple #18
0
        public static bool ComputeExtent(double height, double radius, TfToken axis, GfMatrix4d transform, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomCone_ComputeExtent__SWIG_1(height, radius, TfToken.getCPtr(axis), GfMatrix4d.getCPtr(transform), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static bool ComputeExtent(VtVec3fArray points, GfMatrix4d transform, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointBased_ComputeExtent__SWIG_1(VtVec3fArray.getCPtr(points), GfMatrix4d.getCPtr(transform), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
            public bool GetLocalTransformation(GfMatrix4d transform, UsdTimeCode time)
            {
                bool ret = UsdCsPINVOKE.UsdGeomXformable_XformQuery_GetLocalTransformation(swigCPtr, GfMatrix4d.getCPtr(transform), UsdTimeCode.getCPtr(time));

                if (UsdCsPINVOKE.SWIGPendingException.Pending)
                {
                    throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
                }
                return(ret);
            }
Exemple #21
0
 public GfCamera(GfMatrix4d transform, GfCamera.Projection projection) : this(UsdCsPINVOKE.new_GfCamera__SWIG_9(GfMatrix4d.getCPtr(transform), (int)projection), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        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);
        }
        public bool GetLocalTransformation(GfMatrix4d transform, out bool resetsXformStack)
        {
            bool ret = UsdCsPINVOKE.UsdGeomXformable_GetLocalTransformation__SWIG_1(swigCPtr, GfMatrix4d.getCPtr(transform), out resetsXformStack);

            return(ret);
        }
Exemple #24
0
 public GfCamera(GfMatrix4d transform, GfCamera.Projection projection, float horizontalAperture, float verticalAperture, float horizontalApertureOffset, float verticalApertureOffset, float focalLength, GfRange1f clippingRange, GfVec4fVector clippingPlanes, float fStop) : this(UsdCsPINVOKE.new_GfCamera__SWIG_1(GfMatrix4d.getCPtr(transform), (int)projection, horizontalAperture, verticalAperture, horizontalApertureOffset, verticalApertureOffset, focalLength, GfRange1f.getCPtr(clippingRange), GfVec4fVector.getCPtr(clippingPlanes), fStop), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public bool ComputeExtentAtTimes(VtVec3fArrayVector extents, UsdTimeCodeVector times, UsdTimeCode baseTime, GfMatrix4d transform)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeExtentAtTimes__SWIG_1(swigCPtr, VtVec3fArrayVector.getCPtr(extents), UsdTimeCodeVector.getCPtr(times), UsdTimeCode.getCPtr(baseTime), GfMatrix4d.getCPtr(transform));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #26
0
        public static bool ComputeExtentFromPlugins(UsdGeomBoundable boundable, UsdTimeCode time, GfMatrix4d transform, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomBoundable_ComputeExtentFromPlugins__SWIG_1(UsdGeomBoundable.getCPtr(boundable), UsdTimeCode.getCPtr(time), GfMatrix4d.getCPtr(transform), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #27
0
 public GfFrustum(GfMatrix4d camToWorldXf, GfRange2d window, GfRange1d nearFar, GfFrustum.ProjectionType projectionType) : this(UsdCsPINVOKE.new_GfFrustum__SWIG_4(GfMatrix4d.getCPtr(camToWorldXf), GfRange2d.getCPtr(window), GfRange1d.getCPtr(nearFar), (int)projectionType), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #28
0
        public bool Factor(GfMatrix4d r, GfVec3d s, GfMatrix4d u, GfVec3d t, GfMatrix4d p)
        {
            bool ret = UsdCsPINVOKE.GfMatrix4d_Factor__SWIG_1(swigCPtr, GfMatrix4d.getCPtr(r), GfVec3d.getCPtr(s), GfMatrix4d.getCPtr(u), GfVec3d.getCPtr(t), GfMatrix4d.getCPtr(p));

            return(ret);
        }
Exemple #29
0
 public GfCamera(GfMatrix4d transform) : this(UsdCsPINVOKE.new_GfCamera__SWIG_10(GfMatrix4d.getCPtr(transform)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #30
0
 public GfCamera(GfMatrix4d transform, GfCamera.Projection projection, float horizontalAperture) : this(UsdCsPINVOKE.new_GfCamera__SWIG_8(GfMatrix4d.getCPtr(transform), (int)projection, horizontalAperture), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }