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