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);
        }
        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);
        }