コード例 #1
0
        public new vtkAbstractContextItem NewInstance()
        {
            vtkAbstractContextItem result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAbstractContextItem.vtkAbstractContextItem_NewInstance_10(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAbstractContextItem)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        public vtkAbstractContextItem GetParent()
        {
            vtkAbstractContextItem vtkAbstractContextItem = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAbstractContextItem.vtkAbstractContextItem_GetParent_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractContextItem = (vtkAbstractContextItem)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractContextItem.Register(null);
                }
            }
            return(vtkAbstractContextItem);
        }
コード例 #3
0
        public new static vtkAbstractContextItem SafeDownCast(vtkObjectBase o)
        {
            vtkAbstractContextItem vtkAbstractContextItem = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAbstractContextItem.vtkAbstractContextItem_SafeDownCast_16((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractContextItem = (vtkAbstractContextItem)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractContextItem.Register(null);
                }
            }
            return(vtkAbstractContextItem);
        }
コード例 #4
0
 public uint AddItem(vtkAbstractContextItem item)
 {
     return(vtkAbstractContextItem.vtkAbstractContextItem_AddItem_01(base.GetCppThis(), (item == null) ? default(HandleRef) : item.GetCppThis()));
 }
コード例 #5
0
 public virtual void SetParent(vtkAbstractContextItem parent)
 {
     vtkAbstractContextItem.vtkAbstractContextItem_SetParent_17(base.GetCppThis(), (parent == null) ? default(HandleRef) : parent.GetCppThis());
 }
コード例 #6
0
 public bool RemoveItem(vtkAbstractContextItem item)
 {
     return(vtkAbstractContextItem.vtkAbstractContextItem_RemoveItem_14(base.GetCppThis(), (item == null) ? default(HandleRef) : item.GetCppThis()) != 0);
 }