public new vtkDistanceRepresentation NewInstance() { vtkDistanceRepresentation result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkDistanceRepresentation.vtkDistanceRepresentation_NewInstance_26(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkDistanceRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public vtkDistanceRepresentation GetDistanceRepresentation() { vtkDistanceRepresentation vtkDistanceRepresentation = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkDistanceWidget.vtkDistanceWidget_GetDistanceRepresentation_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkDistanceRepresentation = (vtkDistanceRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkDistanceRepresentation.Register(null); } } return(vtkDistanceRepresentation); }
public new static vtkDistanceRepresentation SafeDownCast(vtkObjectBase o) { vtkDistanceRepresentation vtkDistanceRepresentation = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkDistanceRepresentation.vtkDistanceRepresentation_SafeDownCast_29((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkDistanceRepresentation = (vtkDistanceRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkDistanceRepresentation.Register(null); } } return(vtkDistanceRepresentation); }
public void SetRepresentation(vtkDistanceRepresentation r) { vtkDistanceWidget.vtkDistanceWidget_SetRepresentation_11(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis()); }