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