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