public virtual vtkCoincidentTopologyResolutionPainter GetCoincidentTopologyResolutionPainter()
        {
            vtkCoincidentTopologyResolutionPainter vtkCoincidentTopologyResolutionPainter = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDefaultPainter.vtkDefaultPainter_GetCoincidentTopologyResolutionPainter_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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