public virtual vtkAssembly GetAssembly() { vtkAssembly vtkAssembly = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkAbstractPropPicker.vtkAbstractPropPicker_GetAssembly_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkAssembly = (vtkAssembly)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkAssembly.Register(null); } } return(vtkAssembly); }
public new static vtkAssembly SafeDownCast(vtkObjectBase o) { vtkAssembly vtkAssembly = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkAssembly.vtkAssembly_SafeDownCast_22((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkAssembly = (vtkAssembly)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkAssembly.Register(null); } } return(vtkAssembly); }