OrsGraphShortestPath_49eccde254f111ea9c7f0c9d9276653a

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
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)
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.

computePath()
deletePaths(pathsToDelete)
exportToCSV()
getComboBoxScalarSlotsList()
getCreationSlotIDForPathUUID(pathSlotUUID)
getCurrentSlotDescriptionForPathUUID(pathSlotUUID)
getCurrentSlotIDForPathUUID(pathSlotUUID)
getCurrentView()
getDescriptionDictForGraph()
getGraph()
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
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()
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()
updatePathStatsValues()
updateTablePathsModel()

This function is to actualize the table model of paths