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