Commit graph

132 commits

Author SHA1 Message Date
Yann Lanthony
d0c0a28d5d [common] introduce ListModel
*qt: for now, use QObjectListModel for both Dict and List models
2017-10-23 19:55:32 +02:00
Yann Lanthony
d22c2f7f8e [desc] Introducing ListAttribute and GroupAttribute 2017-10-23 19:55:32 +02:00
Yann Lanthony
2a213b70cf [common] add 'parent' field to CoreObject
useful to match QObject's API
2017-10-23 19:55:32 +02:00
Yann Lanthony
8e472b7d2b [common] qt: use begin/endResetModel in 'clear' method 2017-10-23 19:55:31 +02:00
Yann Lanthony
455d61672e [common] use python list naming for adding elements to QObjectListModel
differentiate append and extend methods
2017-10-23 19:55:31 +02:00
Yann Lanthony
1e306f8408 rename Model to DictModel + augment API
* add "update" and "reset" methods
* core: no more default keyAttrName
* qt: if keyAttrName is empty, don't register items in internal dictionnary
2017-10-23 19:54:55 +02:00
Yann Lanthony
9c7d0c1b1c [desc] Attribute inherits BaseObject and expose members as properties
* also expose graph.Attribute's desc as a property
* introduce Variant in data structure backend API
2017-10-23 15:07:09 +02:00
Yann Lanthony
74e4089c68 [stats] update stats one last time only if subprocess is still running 2017-10-23 14:42:39 +02:00
Yann Lanthony
473141ebed [core] fix graph file loading
Only resolve attribute expressions (containing edges description) once all nodes have been created
2017-10-23 14:33:42 +02:00
Yann Lanthony
6fa0cba8db [qt-backend] fix object referencement in setObjectList method 2017-10-20 14:57:32 +02:00
Yann Lanthony
6c3c50048a [misc] fix indentation 2017-10-20 14:56:14 +02:00
Yann Lanthony
c004e2af91 [commands] use new Graph.attribute method 2017-10-19 17:48:27 +02:00
Yann Lanthony
7f78fac119 [core] add Graph.attribute method
shortcut to get an attribute from its fullname
2017-10-19 17:45:02 +02:00
Yann Lanthony
925d2e71f6 [core] turn Node.nodeType into a property 2017-10-19 17:35:32 +02:00
Yann Lanthony
f9ff32c68a [core] plugin loading: ignore folders starting with __ 2017-10-19 16:22:04 +02:00
Fabien Castan
48e3e4cfa1 Merge branch 'dev_processGraph' of https://github.com/alicevision/meshroom into dev_processGraph 2017-10-19 12:30:48 +02:00
Fabien Castan
edd14691fc [nodes] use non-exclusive choice for describerTypes param 2017-10-19 12:30:05 +02:00
Fabien Castan
7ec61b9d6c [nodes] refineIntrinsics param as a choice 2017-10-19 12:28:19 +02:00
Fabien Castan
d42c44af07 [nodes] verbose param should not invalidate 2017-10-19 12:27:30 +02:00
Fabien Castan
76fad411a4 [core] support for non-exclusive choice params 2017-10-19 12:26:31 +02:00
Yann Lanthony
e49fdf457c [core] reset status of submitted nodes when a node computation fails
* catch Exception and stop graph execution
* report error using logging.error
* misc: fix indentation issues
2017-10-17 16:53:52 +02:00
Yann Lanthony
fd0c209837 [commands] only re-create out edges when undoing RemoveNode
"in" edges are automatically recreated since serialized as a connection expression in Node's dict representation and resolved by addNode
2017-10-17 16:32:57 +02:00
Fabien Castan
977a6b1507 [core] fix indent 2017-10-16 19:56:58 +02:00
Fabien Castan
daebef92f1 [nodes] ImageMatching: add minNbImages parameter 2017-10-16 19:25:01 +02:00
Fabien Castan
6e270ad6a9 Use imageMatching node in the multiview pipeline 2017-10-16 18:18:35 +02:00
Yann Lanthony
84945c52bb move photogrammetryPipeline to new multiview module 2017-10-16 18:05:38 +02:00
Yann Lanthony
ce6925117a [core] fix node depth computation 2017-10-16 15:30:13 +02:00
Fabien Castan
505989cfcc Meshroom file example is no more required, you can use meshroom_photogrammetry instead. 2017-10-16 14:01:14 +02:00
Fabien Castan
ca0c375cee [bin] photogrammetry: fix save option 2017-10-16 13:59:52 +02:00
Fabien Castan
e423493798 [bin] fix toNodes argument when empty 2017-10-16 12:39:44 +02:00
Fabien Castan
fd1b9f2cea Merge branch 'dev_processGraph' of https://github.com/alicevision/meshroom into dev_processGraph
Conflicts:
	meshroom/core/graph.py
2017-10-16 12:30:15 +02:00
Fabien Castan
5374daec00 [bin] new software to run the full photogrammetry pipeline 2017-10-16 12:24:02 +02:00
Fabien Castan
0655d1b7d1 [bin] add toNode argument with partial name support 2017-10-16 12:24:02 +02:00
Fabien Castan
18d2e4bd39 [core] Node: add missing initialization in constructor 2017-10-16 12:24:02 +02:00
Fabien Castan
c291e0d6bf [core] process: change output formatting and add a timer 2017-10-16 12:24:01 +02:00
Fabien Castan
3ca3a794fe [core] graph: re-implement getDepth to return the correct value 2017-10-16 12:24:01 +02:00
Fabien Castan
2024d7ab1c [core] graph: move applyExpr when adding a Node to the graph 2017-10-16 12:24:01 +02:00
Fabien Castan
540fe3d47f [common] CoreModel: raise an error in getter if the parameter does not exist 2017-10-16 12:24:00 +02:00
Fabien Castan
d74affba35 [core] change param order in Edge constructor 2017-10-16 12:24:00 +02:00
Fabien Castan
287c0f13ce [core] split Param into specific types and update nodes accordingly 2017-10-16 12:23:59 +02:00
Fabien Castan
931ad23f50 Add explicit backend between standalone and pyside 2017-10-16 12:23:59 +02:00
Fabien Castan
aacdf32915 Move nodes into subfolders 2017-10-16 12:23:58 +02:00
Yann Lanthony
c1b80ff3e3 [ui] stop potential computations when app is about to exit 2017-10-13 18:02:39 +02:00
Yann Lanthony
af53dd4ae7 [ui] new EdgeMouseArea QtQuick Component
QtQuick components providing mouse interaction for edges (cubic splines)
2017-10-13 18:01:49 +02:00
Yann Lanthony
23541db54d [core] stop StatisticsThread when node is processed 2017-10-13 17:13:31 +02:00
Yann Lanthony
bc5bb96c2e [tests] fix test_depth
depth is now a property
2017-10-13 16:38:07 +02:00
Yann Lanthony
b27db8fc7a [commands] unify naming on edges source / destination 2017-10-13 16:35:03 +02:00
Yann Lanthony
45f04e14d2 [core] Edge: invert src/dst parameters order 2017-10-13 16:31:36 +02:00
Yann Lanthony
653cec28c9 [core] add Node.statusName property 2017-10-13 16:31:20 +02:00
Yann Lanthony
81fe366365 [ui] add execute / stopExecution slots + 'computing' property
* graph computation is done in a separate Thread
* 'computing' relies on this thread's 'is_alive' status
2017-10-13 16:24:32 +02:00