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