public virtual vtkSelectionNode GetNode(uint idx) { vtkSelectionNode vtkSelectionNode = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkSelection.vtkSelection_GetNode_08(base.GetCppThis(), idx, ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkSelectionNode = (vtkSelectionNode)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkSelectionNode.Register(null); } } return(vtkSelectionNode); }
public new static vtkSelectionNode SafeDownCast(vtkObjectBase o) { vtkSelectionNode vtkSelectionNode = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkSelectionNode.vtkSelectionNode_SafeDownCast_31((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkSelectionNode = (vtkSelectionNode)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkSelectionNode.Register(null); } } return(vtkSelectionNode); }