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