Пример #1
0
        public virtual vtkMultiProcessController GetController()
        {
            vtkMultiProcessController vtkMultiProcessController = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPTableToStructuredGrid.vtkPTableToStructuredGrid_GetController_01(base.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);
        }