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