Example #1
0
        public new static vtkDataArrayCollection SafeDownCast(vtkObjectBase o)
        {
            vtkDataArrayCollection vtkDataArrayCollection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDataArrayCollection.vtkDataArrayCollection_SafeDownCast_08((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataArrayCollection = (vtkDataArrayCollection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataArrayCollection.Register(null);
                }
            }
            return(vtkDataArrayCollection);
        }
        public virtual vtkDataArrayCollection GetTimeSets()
        {
            vtkDataArrayCollection vtkDataArrayCollection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkGenericEnSightReader.vtkGenericEnSightReader_GetTimeSets_41(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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