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