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