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