public override vtkFieldData GetAttributesAsFieldData(int type) { vtkFieldData vtkFieldData = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkGraph.vtkGraph_GetAttributesAsFieldData_12(base.GetCppThis(), type, ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkFieldData = (vtkFieldData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkFieldData.Register(null); } } return(vtkFieldData); }
public new static vtkFieldData SafeDownCast(vtkObjectBase o) { vtkFieldData vtkFieldData = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkFieldData.vtkFieldData_SafeDownCast_35((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkFieldData = (vtkFieldData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkFieldData.Register(null); } } return(vtkFieldData); }
public vtkFieldData ReadFieldData() { vtkFieldData vtkFieldData = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkDataReader.vtkDataReader_ReadFieldData_69(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkFieldData = (vtkFieldData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkFieldData.Register(null); } } return(vtkFieldData); }