예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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());
 }
예제 #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());
 }