示例#1
0
        public vtkComputingResources GetResources()
        {
            vtkComputingResources vtkComputingResources = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkThreadedStreamingPipeline.vtkThreadedStreamingPipeline_GetResources_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkComputingResources = (vtkComputingResources)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkComputingResources.Register(null);
                }
            }
            return(vtkComputingResources);
        }
 public void RescheduleFrom(vtkExecutive sink, vtkComputingResources resources)
 {
     vtkExecutionScheduler.vtkExecutionScheduler_RescheduleFrom_11(base.GetCppThis(), (sink == null) ? default(HandleRef) : sink.GetCppThis(), (resources == null) ? default(HandleRef) : resources.GetCppThis());
 }
示例#3
0
 public void Collect(vtkComputingResources res)
 {
     vtkComputingResources.vtkComputingResources_Collect_02(base.GetCppThis(), (res == null) ? default(HandleRef) : res.GetCppThis());
 }
示例#4
0
 public bool Reserve(vtkComputingResources res)
 {
     return(vtkComputingResources.vtkComputingResources_Reserve_10(base.GetCppThis(), (res == null) ? default(HandleRef) : res.GetCppThis()) != 0);
 }