public virtual vtkDisplayListPainter GetDisplayListPainter()
        {
            vtkDisplayListPainter vtkDisplayListPainter = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDefaultPainter.vtkDefaultPainter_GetDisplayListPainter_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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