コード例 #1
0
        public new static vtkExecutive SafeDownCast(vtkObjectBase o)
        {
            vtkExecutive vtkExecutive = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkExecutive.vtkExecutive_SafeDownCast_25((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkExecutive = (vtkExecutive)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkExecutive.Register(null);
                }
            }
            return(vtkExecutive);
        }
コード例 #2
0
        public vtkExecutive GetExecutive(vtkInformation info)
        {
            vtkExecutive vtkExecutive = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkInformationExecutivePortKey.vtkInformationExecutivePortKey_GetExecutive_02(base.GetCppThis(), (info == null) ? default(HandleRef) : info.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkExecutive = (vtkExecutive)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkExecutive.Register(null);
                }
            }
            return(vtkExecutive);
        }
コード例 #3
0
        public vtkExecutive GetInputExecutive(int port, int connection)
        {
            vtkExecutive vtkExecutive = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkExecutive.vtkExecutive_GetInputExecutive_09(base.GetCppThis(), port, connection, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkExecutive = (vtkExecutive)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkExecutive.Register(null);
                }
            }
            return(vtkExecutive);
        }
コード例 #4
0
        public vtkExecutive GetNextItem()
        {
            vtkExecutive vtkExecutive = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkExecutiveCollection.vtkExecutiveCollection_GetNextItem_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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