示例#1
0
        public static vtkInformationKeyVectorKey KEYS_TO_COPY()
        {
            vtkInformationKeyVectorKey vtkInformationKeyVectorKey = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkExecutive.vtkExecutive_KEYS_TO_COPY_21(ref mteStatus, ref mteIndex, ref rawRefCount);

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

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