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