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