Example #1
0
        public new vtkAbstractWidget NewInstance()
        {
            vtkAbstractWidget result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkAbstractWidget.vtkAbstractWidget_NewInstance_13(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAbstractWidget)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Example #2
0
        public vtkAbstractWidget GetNthWidget(uint arg0)
        {
            vtkAbstractWidget vtkAbstractWidget = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkWidgetSet.vtkWidgetSet_GetNthWidget_04(base.GetCppThis(), arg0, ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractWidget = (vtkAbstractWidget)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractWidget.Register(null);
                }
            }
            return(vtkAbstractWidget);
        }
Example #4
0
 public void AddWidget(vtkAbstractWidget arg0)
 {
     vtkWidgetSet.vtkWidgetSet_AddWidget_01(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Example #5
0
 public void RemoveWidget(vtkAbstractWidget arg0)
 {
     vtkWidgetSet.vtkWidgetSet_RemoveWidget_10(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
 public void SetCallbackMethod(uint VTKEvent, int modifiers, sbyte keyCode, int repeatCount, string keySym, uint widgetEvent, vtkAbstractWidget w, vtkWidgetCallbackMapper.CallbackType f)
 {
     vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_SetCallbackMethod_09(base.GetCppThis(), VTKEvent, modifiers, keyCode, repeatCount, keySym, widgetEvent, (w == null) ? default(HandleRef) : w.GetCppThis(), f);
 }
 public void SetCallbackMethod(uint VTKEvent, uint widgetEvent, vtkAbstractWidget w, vtkWidgetCallbackMapper.CallbackType f)
 {
     vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_SetCallbackMethod_08(base.GetCppThis(), VTKEvent, widgetEvent, (w == null) ? default(HandleRef) : w.GetCppThis(), f);
 }
Example #8
0
 public void SetParent(vtkAbstractWidget parent)
 {
     vtkAbstractWidget.vtkAbstractWidget_SetParent_20(base.GetCppThis(), (parent == null) ? default(HandleRef) : parent.GetCppThis());
 }