示例#1
0
        public virtual vtkCollection GetCollection()
        {
            vtkCollection vtkCollection = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkCollectionIterator.vtkCollectionIterator_GetCollection_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkCollection = (vtkCollection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkCollection.Register(null);
                }
            }
            return(vtkCollection);
        }
示例#2
0
        public virtual vtkCollection GetRequestedNodes(vtkGeoTreeNode node)
        {
            vtkCollection vtkCollection = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkGeoSource.vtkGeoSource_GetRequestedNodes_03(base.GetCppThis(), (node == null) ? default(HandleRef) : node.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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