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