public vtkGeoAlignedImageRepresentation AddDefaultImageRepresentation(vtkImageData image) { vtkGeoAlignedImageRepresentation vtkGeoAlignedImageRepresentation = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkGeoView.vtkGeoView_AddDefaultImageRepresentation_01(base.GetCppThis(), (image == null) ? default(HandleRef) : image.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkGeoAlignedImageRepresentation = (vtkGeoAlignedImageRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkGeoAlignedImageRepresentation.Register(null); } } return(vtkGeoAlignedImageRepresentation); }
public new static vtkGeoAlignedImageRepresentation SafeDownCast(vtkObjectBase o) { vtkGeoAlignedImageRepresentation vtkGeoAlignedImageRepresentation = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkGeoAlignedImageRepresentation.vtkGeoAlignedImageRepresentation_SafeDownCast_07((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkGeoAlignedImageRepresentation = (vtkGeoAlignedImageRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkGeoAlignedImageRepresentation.Register(null); } } return(vtkGeoAlignedImageRepresentation); }