Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
 public void AddWidget(vtkAbstractWidget arg0)
 {
     vtkWidgetSet.vtkWidgetSet_AddWidget_01(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Exemplo n.º 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);
 }
Exemplo n.º 8
0
 public void SetParent(vtkAbstractWidget parent)
 {
     vtkAbstractWidget.vtkAbstractWidget_SetParent_20(base.GetCppThis(), (parent == null) ? default(HandleRef) : parent.GetCppThis());
 }