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); }