public new vtkWidgetRepresentation NewInstance() { vtkWidgetRepresentation result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkWidgetRepresentation.vtkWidgetRepresentation_NewInstance_25(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkWidgetRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkWidgetRepresentation SafeDownCast(vtkObjectBase o) { vtkWidgetRepresentation vtkWidgetRepresentation = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkWidgetRepresentation.vtkWidgetRepresentation_SafeDownCast_32((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkWidgetRepresentation = (vtkWidgetRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkWidgetRepresentation.Register(null); } } return(vtkWidgetRepresentation); }
public vtkWidgetRepresentation GetRepresentation() { vtkWidgetRepresentation vtkWidgetRepresentation = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkAbstractWidget.vtkAbstractWidget_GetRepresentation_08(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkWidgetRepresentation = (vtkWidgetRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkWidgetRepresentation.Register(null); } } return(vtkWidgetRepresentation); }