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