public new vtkRandomGraphSource NewInstance()
        {
            vtkRandomGraphSource result = null;
            uint   mteStatus            = 0u;
            uint   mteIndex             = 4294967295u;
            uint   rawRefCount          = 0u;
            IntPtr intPtr = vtkRandomGraphSource.vtkRandomGraphSource_NewInstance_34(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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