Пример #1
0
        public new vtkProcess NewInstance()
        {
            vtkProcess result      = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkProcess.vtkProcess_NewInstance_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkProcess)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Пример #2
0
        public new static vtkProcess SafeDownCast(vtkObjectBase o)
        {
            vtkProcess vtkProcess  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkProcess.vtkProcess_SafeDownCast_07((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkProcess = (vtkProcess)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkProcess.Register(null);
                }
            }
            return(vtkProcess);
        }
 public void SetSingleProcessObject(vtkProcess p)
 {
     vtkMultiProcessController.vtkMultiProcessController_SetSingleProcessObject_68(base.GetCppThis(), (p == null) ? default(HandleRef) : p.GetCppThis());
 }