OrsGraphShortestPath_49eccde254f111ea9c7f0c9d9276653a

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2019.
date:Feb 21 2020 16:29
dragonflyVersion:
 2020.1.0.11524
UUID:49eccde254f111ea9c7f0c9d9276653a

Class Code

class OrsPythonPlugins.OrsGraphShortestPath_49eccde254f111ea9c7f0c9d9276653a.OrsGraphShortestPath_49eccde254f111ea9c7f0c9d9276653a.OrsGraphShortestPath_49eccde254f111ea9c7f0c9d9276653a(varname=None, managed=True)
OrsStatePickEndVertex = 'OrsStateEndVertex'
OrsStatePickEndVertexAction()
OrsStatePickStartVertex = 'OrsStateStartVertex'
OrsStatePickStartVertexAction()
OrsStatePickVertices = 'OrsStatePickVertices'
OrsStatePickVerticesActivation()
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
canBeGenericallyOpened = False
canExportToCSV()
cleanup()

Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.

closable = True
computePath()
deletePaths(pathsToDelete)
exportToCSV()
getComboBoxScalarSlotsList()
getCreationSlotIDForPathUUID(pathSlotUUID)
getCurrentSlotDescriptionForPathUUID(pathSlotUUID)
getCurrentSlotIDForPathUUID(pathSlotUUID)
getDescriptionDictForGraph()
getGraph()
getNextPathName()
getPathEndVertexForPathUUID(pathSlotUUID)
getPathNameForPathUUID(pathSlotUUID)
getPathStartVertexForPathUUID(pathSlotUUID)
getPathStats(pathSlotUUID)
getPathUUIDsList()
getScalarValueHelper()
getSlotIDForSlotDescription(slotDescription)
getSlotUUIDForSlotID(slotID)
getTablePathsModel()
getUUIDDictForGraph()
getVisualGraph()
handleChanged(oldState, newState)

This method is called when the state of the application is changed.

Parameters:
  • oldState (str) – name of the old (previous) state
  • newState (str) – name of the new (current) state
handleTriggered(eventData)

This method is called on every user input (mouse move, mouse click, key press, …) when the current state of the application is one of those declared by the plugin. This method can be used to perform specific tasks even if no action is currently in progress.

Parameters:eventData (OrsEvent.eventdata.InputEventData) – the event data
keepAlive = False
multiple = False
classmethod myDemosMenu()
onCurrentViewChange()
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
orsSelectedObjectsChange()
savable = False
setCurrentEdgeSlotForPath(pathSlotUUID, edgeScalarDescription)
setCurrentPathEndIndex(endIndex)
setCurrentPathStartIndex(startIndex)
setPathDescription(pathSlotUUID, newPathName)
setPathVisibility(pathSlotUUID)
stateDescriptors = [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]
switchTemporaryToOrsStatePickEndVertexAction()
switchTemporaryToOrsStatePickStartVertexAction()
updatePathStatsCache()
updateStatsUnits()
updateTablePathsModel()

This function is to actualize the table model of paths