Esempio n. 1
0
        public new vtkTypeInt64Array NewInstance()
        {
            vtkTypeInt64Array result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkTypeInt64Array.vtkTypeInt64Array_NewInstance_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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