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