public new static vtkObjectFactoryCollection New()
        {
            vtkObjectFactoryCollection result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkObjectFactoryCollection.vtkObjectFactoryCollection_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkObjectFactoryCollection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Пример #2
0
        public static vtkObjectFactoryCollection GetRegisteredFactories()
        {
            vtkObjectFactoryCollection vtkObjectFactoryCollection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkObjectFactory.vtkObjectFactory_GetRegisteredFactories_13(ref mteStatus, ref mteIndex, ref rawRefCount);

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

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