예제 #1
0
        public new static vtkTextureObject New()
        {
            vtkTextureObject result      = null;
            uint             mteStatus   = 0u;
            uint             mteIndex    = 4294967295u;
            uint             rawRefCount = 0u;
            IntPtr           intPtr      = vtkTextureObject.vtkTextureObject_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkTextureObject)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #2
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);
        }
예제 #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);
        }
        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);
        }
예제 #5
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);
        }
예제 #6
0
 public void SetDepthBuffer(vtkTextureObject depthTexture)
 {
     vtkFrameBufferObject.vtkFrameBufferObject_SetDepthBuffer_25(base.GetCppThis(), (depthTexture == null) ? default(HandleRef) : depthTexture.GetCppThis());
 }
예제 #7
0
 public void SetColorBuffer(uint index, vtkTextureObject texture, uint zslice)
 {
     vtkFrameBufferObject.vtkFrameBufferObject_SetColorBuffer_23(base.GetCppThis(), index, (texture == null) ? default(HandleRef) : texture.GetCppThis(), zslice);
 }
예제 #8
0
 public void SetTexture(vtkTextureObject texture)
 {
     vtkDataTransferHelper.vtkDataTransferHelper_SetTexture_36(base.GetCppThis(), (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
 public void SetVectorField(vtkTextureObject vectorField)
 {
     vtkLineIntegralConvolution2D.vtkLineIntegralConvolution2D_SetVectorField_46(base.GetCppThis(), (vectorField == null) ? default(HandleRef) : vectorField.GetCppThis());
 }
 public void SetNoise(vtkTextureObject noise)
 {
     vtkLineIntegralConvolution2D.vtkLineIntegralConvolution2D_SetNoise_43(base.GetCppThis(), (noise == null) ? default(HandleRef) : noise.GetCppThis());
 }
 public void SetLIC(vtkTextureObject lic)
 {
     vtkLineIntegralConvolution2D.vtkLineIntegralConvolution2D_SetLIC_39(base.GetCppThis(), (lic == null) ? default(HandleRef) : lic.GetCppThis());
 }