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