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