Commit graph

157 commits

Author SHA1 Message Date
Yann Lanthony
4e5b995618 [ui] handle python values in UIGraph.appendAttribute 2018-01-15 15:02:18 +01:00
Yann Lanthony
affd2b2fdf [ui] add UIGraph.begin/endModification methods
alternative to create grouped graph modifications where the use of a contextmanager is not possible
2018-01-15 14:59:02 +01:00
Yann Lanthony
4ea793be74 [ui] return command result after pushing it to the undo stack
this allows to directly retrieve, for instance, the node created by UIGraph.addNode method
2018-01-12 13:59:07 +01:00
Yann Lanthony
49c3491534 [graph] expose NodeChunks log files as properties 2017-12-28 21:26:26 +01:00
Yann Lanthony
531d75140f [ui] ChunksMonitor: evaluate status filepaths at each timer event
Don't store status filepaths since they might change after a graph update, without the NodeChunks being themselves modified.
2017-12-04 12:36:21 +01:00
Yann Lanthony
16db901d86 [core] NodeChunks as a ListModel + [ui] DFS sorted nodes proxy model
* core: NodeChunks are now stored in a ListModel inside Node
* ui: introduce SortedModelByReference
* ui: UIGraph exposes a proxy model of its graph's nodes sorted as visited by DFS (instead of another model of chunks)
* ui: added NodeChunks Component
2017-11-28 21:43:15 +01:00
Yann Lanthony
0e08291f8a [ui] introduce UIGraph + ChunksMonitor
* extract UIGraph from Reconstruction: base class that wraps a core.Graph, without knowledge of photogrammetry pipeline
* ChunksMonitor: watch NodeChunks status files for external changes to keep UI updated even when the graph is being computed externally
* Reconstruction inherits UIGraph with photogrammetry specific features
2017-11-24 17:20:13 +01:00