Example #1
0
        public vtkInformationKey NewInstance()
        {
            vtkInformationKey result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkInformationKey.vtkInformationKey_NewInstance_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkInformationKey)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Example #2
0
        public vtkInformationKey Get(vtkInformation info, int idx)
        {
            vtkInformationKey vtkInformationKey = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInformationKeyVectorKey.vtkInformationKeyVectorKey_Get_03(base.GetCppThis(), (info == null) ? default(HandleRef) : info.GetCppThis(), idx, ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkInformationKey = (vtkInformationKey)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkInformationKey.Register(null);
                }
            }
            return(vtkInformationKey);
        }
Example #4
0
        public virtual vtkInformationKey GetCurrentKey()
        {
            vtkInformationKey vtkInformationKey = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInformationIterator.vtkInformationIterator_GetCurrentKey_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkInformationKey = (vtkInformationKey)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkInformationKey.Register(null);
                }
            }
            return(vtkInformationKey);
        }
Example #5
0
 public void AppendUnique(vtkInformation info, vtkInformationKey value)
 {
     vtkInformationKeyVectorKey.vtkInformationKeyVectorKey_AppendUnique_02(base.GetCppThis(), (info == null) ? default(HandleRef) : info.GetCppThis(), (value == null) ? default(HandleRef) : value.GetCppThis());
 }
Example #6
0
 public void RemoveItem(vtkInformation info, vtkInformationKey value)
 {
     vtkInformationKeyVectorKey.vtkInformationKeyVectorKey_RemoveItem_08(base.GetCppThis(), (info == null) ? default(HandleRef) : info.GetCppThis(), (value == null) ? default(HandleRef) : value.GetCppThis());
 }