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