コード例 #1
0
        public new static vtkCollectionIterator New()
        {
            vtkCollectionIterator result = null;
            uint   mteStatus             = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkCollectionIterator.vtkCollectionIterator_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkCollectionIterator = (vtkCollectionIterator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkCollectionIterator.Register(null);
                }
            }
            return(vtkCollectionIterator);
        }
コード例 #3
0
        public vtkCollectionIterator NewIterator()
        {
            vtkCollectionIterator vtkCollectionIterator = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkCollection.vtkCollection_NewIterator_12(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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