public new static vtkSocketCommunicator New()
        {
            vtkSocketCommunicator result = null;
            uint   mteStatus             = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSocketCommunicator.vtkSocketCommunicator_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkSocketCommunicator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public new static vtkSocketCommunicator SafeDownCast(vtkObjectBase o)
        {
            vtkSocketCommunicator vtkSocketCommunicator = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSocketCommunicator.vtkSocketCommunicator_SafeDownCast_30((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSocketCommunicator = (vtkSocketCommunicator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSocketCommunicator.Register(null);
                }
            }
            return(vtkSocketCommunicator);
        }
 public void SetCommunicator(vtkSocketCommunicator comm)
 {
     vtkSocketController.vtkSocketController_SetCommunicator_15(base.GetCppThis(), (comm == null) ? default(HandleRef) : comm.GetCppThis());
 }