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