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