Ejemplo n.º 1
0
        public virtual vtkMatrix4x4 GetMatrix()
        {
            vtkMatrix4x4 vtkMatrix4x = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkProp.vtkProp_GetMatrix_14(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMatrix4x = (vtkMatrix4x4)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMatrix4x.Register(null);
                }
            }
            return(vtkMatrix4x);
        }
Ejemplo n.º 2
0
        public new static vtkMatrix4x4 SafeDownCast(vtkObjectBase o)
        {
            vtkMatrix4x4 vtkMatrix4x = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkMatrix4x4.vtkMatrix4x4_SafeDownCast_28((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMatrix4x = (vtkMatrix4x4)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMatrix4x.Register(null);
                }
            }
            return(vtkMatrix4x);
        }
Ejemplo n.º 3
0
        public virtual vtkMatrix4x4 GetProjectionTransformMatrix(double aspect, double nearz, double farz)
        {
            vtkMatrix4x4 vtkMatrix4x = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkCamera.vtkCamera_GetProjectionTransformMatrix_32(base.GetCppThis(), aspect, nearz, farz, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMatrix4x = (vtkMatrix4x4)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMatrix4x.Register(null);
                }
            }
            return(vtkMatrix4x);
        }
Ejemplo n.º 4
0
        public virtual vtkMatrix4x4 GetInverseModelTransform()
        {
            vtkMatrix4x4 vtkMatrix4x = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkVisibilitySort.vtkVisibilitySort_GetInverseModelTransform_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMatrix4x = (vtkMatrix4x4)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMatrix4x.Register(null);
                }
            }
            return(vtkMatrix4x);
        }
        public virtual vtkMatrix4x4 GetViewToWorldMatrix()
        {
            vtkMatrix4x4 vtkMatrix4x = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkUnstructuredGridBunykRayCastFunction.vtkUnstructuredGridBunykRayCastFunction_GetViewToWorldMatrix_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMatrix4x = (vtkMatrix4x4)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMatrix4x.Register(null);
                }
            }
            return(vtkMatrix4x);
        }
        public vtkMatrix4x4 GetContourPlaneDirectionCosines(IntPtr origin)
        {
            vtkMatrix4x4 vtkMatrix4x = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkOrientedGlyphFocalPlaneContourRepresentation.vtkOrientedGlyphFocalPlaneContourRepresentation_GetContourPlaneDirectionCosines_06(base.GetCppThis(), origin, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMatrix4x = (vtkMatrix4x4)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMatrix4x.Register(null);
                }
            }
            return(vtkMatrix4x);
        }