Exemple #1
0
        public new vtkArray NewInstance()
        {
            vtkArray result      = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkArray.vtkArray_NewInstance_09(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemple #2
0
        public virtual vtkArray DeepCopy()
        {
            vtkArray vtkArray    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkArray.vtkArray_DeepCopy_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkArray = (vtkArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkArray.Register(null);
                }
            }
            return(vtkArray);
        }
Exemple #3
0
        public static vtkArray CreateArray(int StorageType, int ValueType)
        {
            vtkArray vtkArray    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkArray.vtkArray_CreateArray_01(StorageType, ValueType, ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkArray = (vtkArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkArray.Register(null);
                }
            }
            return(vtkArray);
        }
Exemple #5
0
        public vtkArray GetArrayByName(string name)
        {
            vtkArray vtkArray    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkArrayData.vtkArrayData_GetArrayByName_05(base.GetCppThis(), name, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkArray = (vtkArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkArray.Register(null);
                }
            }
            return(vtkArray);
        }
Exemple #6
0
 public void AddArray(vtkArray arg0)
 {
     vtkArrayData.vtkArrayData_AddArray_01(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }