public new vtkButtonRepresentation NewInstance()
        {
            vtkButtonRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkButtonRepresentation.vtkButtonRepresentation_NewInstance_08(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkButtonRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemple #2
0
        public vtkButtonRepresentation GetSliderRepresentation()
        {
            vtkButtonRepresentation vtkButtonRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkButtonWidget.vtkButtonWidget_GetSliderRepresentation_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkButtonRepresentation = (vtkButtonRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkButtonRepresentation.Register(null);
                }
            }
            return(vtkButtonRepresentation);
        }
Exemple #4
0
 public void SetRepresentation(vtkButtonRepresentation r)
 {
     vtkButtonWidget.vtkButtonWidget_SetRepresentation_08(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }