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