Esempio n. 1
0
        public new static vtkImageStencilData SafeDownCast(vtkObjectBase o)
        {
            vtkImageStencilData vtkImageStencilData = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageStencilData.vtkImageStencilData_SafeDownCast_32((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImageStencilData = (vtkImageStencilData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImageStencilData.Register(null);
                }
            }
            return(vtkImageStencilData);
        }
Esempio n. 2
0
        public vtkImageStencilData GetStencil()
        {
            vtkImageStencilData vtkImageStencilData = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageBlend.vtkImageBlend_GetStencil_10(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImageStencilData = (vtkImageStencilData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImageStencilData.Register(null);
                }
            }
            return(vtkImageStencilData);
        }
Esempio n. 3
0
        public new static vtkImageStencilData GetData(vtkInformationVector v, int i)
        {
            vtkImageStencilData vtkImageStencilData = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageStencilData.vtkImageStencilData_GetData_09((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

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