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