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