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