Commit Graph

2419 Commits

Author SHA1 Message Date
Pål Hagen
752c4071b9 (#412) Improved scroll wheel zooming (zoom around mouse Y position)
Moved scroll wheel handling to well log trace plot viewer, using event
filter for the plot canvas to get the mouse Y position, which is
transformed to the corresponding plot depth value and used as center for
zooming.
2015-09-04 15:57:34 +02:00
Jacob Støren
8d57bbe77b (#399) WIP: First commit of experimental geomech WellLog extractor
Not yet enabled in any way
2015-09-04 15:35:20 +02:00
Jacob Støren
ef4b0fa0d3 Reorganized wellLogExtraction code, preparing for GeoMech variant. 2015-09-04 15:35:15 +02:00
Pål Hagen
d7872971d3 (#412) Faster zooming and panning of well log plots
Could consider to use for instance Shift or Alt as extra modifiers for
speeding up/slowing down zooming/panning.
2015-09-04 14:23:13 +02:00
Pål Hagen
a1d95f2b8a (#396) Reset the zoom to show the entire depth range only when the first curve is added
Additional additions or changed parameters (by the user) will not change
the visible depth settings. Did some code cleanup.
2015-09-04 14:14:56 +02:00
Pål Hagen
94095a16f0 (#396) Set visible depth range from all available data when there's only 1 trace with 1 curve 2015-09-04 12:21:41 +02:00
Pål Hagen
dfdfdc3efc (#396) Use 0-1000 as default depth range when there's no data yet 2015-09-04 11:53:23 +02:00
Magne Sjaastad
06ab096e72 (#414) Fixed update of frame index in linked view 2015-09-04 11:42:45 +02:00
Magne Sjaastad
89fa5ecef7 Added possibility to setCurrentFrame without emitting a signal 2015-09-04 11:40:44 +02:00
Magne Sjaastad
c86dc45fd6 Delete linked views when project is closed 2015-09-04 11:22:44 +02:00
Magne Sjaastad
8a954acca1 (#413) Update camera with global coordinates if model bounding box overlap or are close
If the bounding boxes are located far from each other, use the camera
vectors directly without using displayModelOffset() This will ensure
that models will be visible even if they are located far away when views
are linked.
2015-09-04 10:47:17 +02:00
Jacob Støren
8547370b4d Removed children of curve that should not be visible in the tree. 2015-09-03 20:54:15 +02:00
Jacob Støren
1e6baed1dc Placed WellLogExtractors in the RimWellLogPlotCollection and cached them 2015-09-03 20:13:08 +02:00
Jacob Støren
e15a95f8b4 Filtered away all undefined numbers before sending to Qwt, as it did not handle them.
This fixes autoscaling of X-axis
2015-09-03 19:07:26 +02:00
Jacob Støren
11e57b663c Detaching all curves before the plot is deleted. Qwt needed it. 2015-09-03 15:10:45 +02:00
Pål Hagen
f149cfff6d (#396) Made sure that a viewer is created when adding a new plot 2015-09-03 15:05:58 +02:00
Pål Hagen
ef727b4797 (#396) Adding a curve is now legal also when there's no plot yet 2015-09-03 15:04:48 +02:00
Pål Hagen
f078a589a5 Linux compilation fix 2015-09-03 14:46:13 +02:00
Jacob Støren
7b308e514c Wip: Separated cretion of Qwt classes from Rim construction
This needs to be done because MDI window close window deletes the widgets.
We need to be able to recreate all the widgets/qwt objects when needed.
The QwtPlotCurves still crashes on window close/open
2015-09-03 14:26:49 +02:00
Magne Sjaastad
6a6973f3d4 (#395) Propagate scaleZ to linked views and fixed camera sync issue (offset z must be multiplied by scaleZ) 2015-09-03 13:06:10 +02:00
Magne Sjaastad
1f2a5a8c08 (#395) Fixed missing calls to navigationPolicyUpdate 2015-09-03 13:06:10 +02:00
Pål Hagen
8fa2701415 (#396) Added fields for minimum and maximum X-axis values 2015-09-03 12:12:36 +02:00
Pål Hagen
c7f9716468 Merge branch 'dev' of https://github.com/OPM/ResInsight into dev 2015-09-03 12:02:30 +02:00
Pål Hagen
6b34e8f6c8 (#396) Changed field descriptions 2015-09-03 12:02:13 +02:00
Jacob Støren
959abe7930 Set initial well plot axis ranges to something "pretty" 2015-09-03 11:55:24 +02:00
Jacob Støren
5dd726129c (#396) Fixed updatePlotData system. Set curve name from result variable 2015-09-03 11:39:12 +02:00
Pål Hagen
9a6221b7e8 (#396) Setting default curve color on creation 2015-09-03 10:55:54 +02:00
Pål Hagen
bcab7f2248 (#396) Adding a trace when creating a new well log plot
Did some refactoring - moved creation code to command feature.
2015-09-03 09:46:26 +02:00
Jacob Støren
2288130f6a (#396) Several fixes regarding Project with plots.
Plots loads the curve data on project open
Plots are removed on project close
Still missing some updates (curve names ...)
2015-09-03 08:22:06 +02:00
Jacob Støren
2a8533bad0 (#396) Save/Restore of WellLog plots partly in place.
Cleaned up ownership in WellLog plot classes
initAfterRead() is implemented
moved code related to command features from the WellLog classes
Still plots are not redrawn/reloaded when opening a project file.
2015-09-03 08:22:01 +02:00
Jacob Støren
30e2495849 Remove duplicate add/remove/setActive viewer methods from MainWindow.
(#408) Added Save Load of WellLog Plot window geometry also
2015-09-03 08:21:57 +02:00
Magne Sjaastad
1282766427 Update enabled state of sync items in initAfterRead 2015-09-02 17:24:49 +02:00
Magne Sjaastad
d80e64d81d (#395) Added Show All Linked Views as context menu feature of linked views 2015-09-02 17:18:26 +02:00
Magne Sjaastad
e3c11f11e9 Added Close All Windows 2015-09-02 17:18:26 +02:00
Magne Sjaastad
a012049693 Make sure icon is updated when viewer is closed 2015-09-02 17:18:25 +02:00
Magne Sjaastad
3e0423cd0f (#395) Remove already linked views from visibile views when linking visible views 2015-09-02 17:18:24 +02:00
Magne Sjaastad
ccc7703e1f (#395) Hide master view in property view, use view icons in tree view 2015-09-02 17:18:24 +02:00
Magne Sjaastad
3afa94bb3b (#395) Update visibility of options when main view changes 2015-09-02 17:18:23 +02:00
Pål Hagen
a44e548f93 (#396) Align the canvas with the actual min and max values of the curves 2015-09-02 16:41:12 +02:00
Pål Hagen
8d7bbb85a9 (#396) Scroll wheel now pans the plot in the depth direction 2015-09-02 16:30:37 +02:00
Pål Hagen
fd3df6492b (#396) Made sure that Ctrl is needed for scroll wheel zoom 2015-09-02 15:58:54 +02:00
Jacob Støren
3844c0958d Moved RimWellLeogExtractionCurve to a separate file 2015-09-02 12:34:12 +02:00
Jacob Støren
1ba3978a4e Renamed to RimWellLogExtractionCurve 2015-09-02 12:13:38 +02:00
Jacob Støren
5a265b66a6 (#396)(#397)(#398) WIP: First real Well Log extracted data visible 2015-09-02 12:08:38 +02:00
Jacob Støren
7e676ddfed (#396) Replot on data update 2015-09-02 10:52:12 +02:00
Jacob Støren
e44a78cf57 (#396) Added the data (with gui) to curves to define the well log extraction 2015-09-02 09:26:16 +02:00
Magne Sjaastad
b29ad69673 (#408) Save and restore MDI window size and position 2015-09-01 22:11:39 +02:00
Magne Sjaastad
107d3ff65a Fixed crash : Do not search for result index if no results are loaded 2015-09-01 19:55:37 +02:00
Magne Sjaastad
379cf6b228 (#395) Moved code from RiuViewer to RimView and cleaned up includes 2015-09-01 18:21:20 +02:00
Magne Sjaastad
4730e10319 Created navigationPolicyUpdate to be used from navigation policies 2015-09-01 18:04:35 +02:00