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