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