public new vtkInformationExecutivePortKey NewInstance()
        {
            vtkInformationExecutivePortKey result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInformationExecutivePortKey.vtkInformationExecutivePortKey_NewInstance_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkInformationExecutivePortKey)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public static vtkInformationExecutivePortKey PRODUCER()
        {
            vtkInformationExecutivePortKey vtkInformationExecutivePortKey = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkExecutive.vtkExecutive_PRODUCER_23(ref mteStatus, ref mteIndex, ref rawRefCount);

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

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