Exemple #1
0
 public void Copy(vtkProcessGroup group)
 {
     vtkProcessGroup.vtkProcessGroup_Copy_02(base.GetCppThis(), (group == null) ? default(HandleRef) : group.GetCppThis());
 }
 public virtual void SetGroup(vtkProcessGroup group)
 {
     vtkSubCommunicator.vtkSubCommunicator_SetGroup_09(base.GetCppThis(), (group == null) ? default(HandleRef) : group.GetCppThis());
 }
        public virtual vtkMultiProcessController CreateSubController(vtkProcessGroup group)
        {
            vtkMultiProcessController vtkMultiProcessController = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkMultiProcessController.vtkMultiProcessController_CreateSubController_17(base.GetCppThis(), (group == null) ? default(HandleRef) : group.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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