Ejemplo n.º 1
0
        public vtkTextureObject GetColorBuffer(uint index)
        {
            vtkTextureObject vtkTextureObject = null;
            uint             mteStatus        = 0u;
            uint             mteIndex         = 4294967295u;
            uint             rawRefCount      = 0u;
            IntPtr           intPtr           = vtkFrameBufferObject.vtkFrameBufferObject_GetColorBuffer_02(base.GetCppThis(), index, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTextureObject = (vtkTextureObject)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTextureObject.Register(null);
                }
            }
            return(vtkTextureObject);
        }
        public virtual vtkTextureObject GetVectorField()
        {
            vtkTextureObject vtkTextureObject = null;
            uint             mteStatus        = 0u;
            uint             mteIndex         = 4294967295u;
            uint             rawRefCount      = 0u;
            IntPtr           intPtr           = vtkLineIntegralConvolution2D.vtkLineIntegralConvolution2D_GetVectorField_25(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTextureObject = (vtkTextureObject)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTextureObject.Register(null);
                }
            }
            return(vtkTextureObject);
        }
Ejemplo n.º 3
0
        public virtual vtkTextureObject GetTexture()
        {
            vtkTextureObject vtkTextureObject = null;
            uint             mteStatus        = 0u;
            uint             mteIndex         = 4294967295u;
            uint             rawRefCount      = 0u;
            IntPtr           intPtr           = vtkDataTransferHelper.vtkDataTransferHelper_GetTexture_17(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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