Commit Graph

114 Commits

Author SHA1 Message Date
Magne Sjaastad
7cd2cd0f50 (#632) Add Eclipse cell to selection and show in 3D view and time history plot
Consolidated remove of model based on name in RimView
Cleanup selection and time history plot when project is closed
2015-11-09 19:05:31 +01:00
Jacob Støren
b6d91f5063 (#623) Keep view position when toggle on/off 2015-10-29 11:55:21 +01:00
Magne Sjaastad
ba032020ec System : Assign value directly 2015-10-26 10:29:57 +01:00
Magne Sjaastad
01224dd5e6 System : Removed unused variables 2015-10-26 10:18:57 +01:00
Magne Sjaastad
0405584bb6 System : Replaced tab with four spaces in ApplicationCode and subfolders 2015-10-23 15:46:25 +02:00
Magne Sjaastad
eb9f909fb1 (#577) Delete assosiated link data when view is deleted
When a link master view is deleted, all linked view data is deleted
2015-10-22 11:41:36 +02:00
Magne Sjaastad
dbd6ce09c5 (#539) Check for NULL pointer when deciding what kind of range filter collection to use
As the management of override range filter collection is handled
independenly from scheduleRedraw, we must check for a valid pointer when
trying to access the override range filter
2015-10-21 13:32:10 +02:00
Magne Sjaastad
8de8100c3e (#539) When view is unlinked, ask user to keep either override or original range filter collection 2015-10-21 13:16:09 +02:00
Jacob Støren
065a688c19 Fixed crash on every case loaded 2015-10-21 12:21:08 +02:00
Jacob Støren
8b894d8515 (#540) Override range filter update system improved
Rename of forgotten viewLink ->viewController
Remember to update group of linked views before adding a new dependent view.
2015-10-20 11:15:30 +02:00
Magne Sjaastad
ab0e3819a1 (#539) Added framework for update of range filter based on master
Propagate pointer to a range filter if only a single filter is modified
Moved lifetime management of range filter collection to RimView
2015-10-19 12:10:28 +02:00
Magne Sjaastad
67a62f4f02 Renamed RimViewLink to RimViewController 2015-10-13 10:24:39 +02:00
Pål Hagen
4a53b318f7 (#506) Updating view name in view linker in project tree view when a view's name is changed 2015-09-25 16:39:19 +02:00
Magne Sjaastad
1933bbeb84 (#496) Use system macro for init of abstract PDM classes
Removed project specific macro
2015-09-25 15:09:34 +02:00
Magne Sjaastad
4424c110be Transformed static functions from ViewLinker to dynamic functions in RimView 2015-09-25 11:17:51 +02:00
Jacob Støren
5e0505dfe8 Renaming and cleanup in ViewLinker and friends 2015-09-24 17:43:09 +02:00
Magne Sjaastad
af75f513f9 Several minor refactoring and cleanup 2015-09-23 12:50:06 +02:00
Magne Sjaastad
942c0a20b7 Moved camera update from RimView to RimViewLinker 2015-09-23 12:23:21 +02:00
Magne Sjaastad
c8944d8801 Refactored funtions used to find viewLinker and viewLink 2015-09-23 11:01:46 +02:00
Jacob Støren
3b98d77324 (#517) Fixed crash due to direct call to CreateDisplayModelAndUpdate
But there are ore ...
2015-09-22 21:00:50 +02:00
Jacob Støren
eb3cf20263 Avoid repeatedly resetting the view 2015-09-21 18:54:37 +02:00
Jacob Støren
31b5b2e568 Moved setting of default view to after we know the geometry is generated. 2015-09-21 18:54:33 +02:00
Jacob Støren
22d033669d (#401) Result colors now updated on "Visible cells"-overridden Eclipse cases 2015-09-21 09:10:50 +02:00
Jacob Støren
b6fb85e0a4 (#401) WIP: Prototyped total cell visibility calculation and
calculation of overridden cell visibility.
2015-09-17 16:13:17 +02:00
Magne Sjaastad
08e266c2f3 (#449) Minor fixes related to isActive 2015-09-15 10:45:39 +02:00
Magne Sjaastad
4cf3d9ff5f Check for valid bounding boxes before testing for intersection 2015-09-15 09:46:32 +02:00
Jacob Støren
f81cf98580 (#401) WIP: Refactoring Linked views update system.
Preparing for linking of visible Cells.
2015-09-14 09:53:28 +02:00
Jacob Støren
238c783b26 More renaming LikedView -> ViewLink 2015-09-14 09:53:16 +02:00
Jacob Støren
984656cbfa (#401) Added access to the ViewLinker from the main view 2015-09-14 09:53:10 +02:00
Jacob Støren
8b26726672 Renamed file LinkedView->ViewLink 2015-09-11 14:17:21 +02:00
Jacob Støren
733b3603db Rename of LinkedView -> ViewLink 2015-09-11 14:17:16 +02:00
Magne Sjaastad
f16b2af600 Rename of class names and files related to linked views 2015-09-07 14:35:26 +02:00
Magne Sjaastad
a884d79aff (#419) Removed the inapplicable views from the view drop down 2015-09-07 13:51:51 +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
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
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
b29ad69673 (#408) Save and restore MDI window size and position 2015-09-01 22:11:39 +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
Magne Sjaastad
7969e22364 (#395) Moved managed views from RimView to RimProject 2015-09-01 17:34:03 +02:00
Magne Sjaastad
444500f6cc (#395) Make sure the update() virtual function is called from camera related functions 2015-09-01 11:31:31 +02:00
Magne Sjaastad
e5f0bdfaab Managed views can use range filters from master view
RangeFilterCollection is now a private field in RimView
2015-08-27 13:44:27 +02:00
Magne Sjaastad
f6ac177ff2 Added ManagedViews and sync of camera, time step and cell result 2015-08-26 15:42:31 +02:00
Magne Sjaastad
fd5bd534f6 Added dummy static class to fix issue with single macro in cpp
The implementation of this dummy class is put in the file with the
single macro defining the UI editor. This will cause the cpp file to
always be compiled.
2015-08-12 21:51:02 +02:00
Magne Sjaastad
111509e52a Set uiHidden states in order to make the new tree view identical to previous 2015-08-09 11:16:52 +02:00
Magne Sjaastad
90762d0f0f Use uiCapability/xmlCapability instead of capability<caf::PdmUiFieldHandle>()(capability<caf::PdmXmlFieldHandle>() 2015-08-05 13:27:36 +02:00
Magne Sjaastad
57e363896f Replaced uiField() and xmlField() with uiCapability() and xmlCapability() 2015-08-05 12:34:07 +02:00
Magne Sjaastad
737936d846 Major modularization adjustments
Use uiField() when issuing setUi....() commands
Use PdmChildArrayField instead of PdmPointersFielc
Use PdmChildField instead of PdmField to pdm pointer objects
Use PdmChildArrayField instead of PdmField< std::list< caf::PdmPointer<
type > > >
Use PdmObjectHandle instead of PdmObject
Replaced parentFields(std::vector)  with parentField()
Use PdmUiPropertyViewDialog instead of PdmUiPropertyDialog
2015-07-31 18:58:23 +02:00
Pål Hagen
22c0c812af (#80) Refactored navigation mode related code
Made sure that navigation policies are created only one place, in the
new member function RiuViewer::updateNavigationPolicy().
2015-07-02 14:53:35 +02:00
Pål Hagen
c863d087f0 (#80) Added navigation modes
New navigation modes: GeoQuest and RMS. In addition, right mouse button
can now be used for panning in CAD navigation mode.
2015-07-02 14:53:34 +02:00
Jacob Støren
8f2090eccf Refactored GeoMechView createDisplayModel
Made adding well paths less obfuscated
Preparing for #314 Property Filter
2015-06-22 14:04:36 +02:00
Stein Dale
2ca5151c6c "Disable Results Lighting" field is always enabled (not read only) in a view (#311) 2015-06-18 13:20:54 +02:00
Stein Dale
4b1a71fd91 Added new field "Disable Lighting" (#311) 2015-06-18 12:23:26 +02:00
Jacob Støren
b5cfa8ab53 Renaming and improved some readability around well paths 2015-06-12 09:25:09 +02:00
Stein Dale
b59695f352 Refactored addition of well path models
Well path models can now be added to geo mech models. Moved code that
adds well path models to a scene from RimEclipseView to
RimView::addWellPathsToScene(). This new function is now used by both
RimEclipseView and RimGeoMechView. Made sure that it is not needed to
load a result before well paths appear. TODO: Compute characteristic hex
element size for geo mech models.
2015-06-11 13:44:21 +02:00
Jacob Støren
30fcbebc8e Deep fix of #316 and also implements #317
#316 Do not show wrong results ...
#317 Avoid stopping animation when switching results
This commit cleans up some of the inconsistencies etc in the top of the
display model generation logic.
2015-06-09 16:18:11 +02:00
Jacob Støren
969a181897 RimCase reintroduced as baseclass for all cases
Refactored to handle cases generically in  a lot of places.
Mostly complete regarding all these issues, but not tested yet:
Assigning caseId
Update relative path to the case data
RimProject::createDisplayModelAndRedrawAllViews
RimProject::computeUtmAreaOfInterest
Load case data on project open
save snapshots for all views
RegressionTest viewer size
Finding case based on caseId
Giving case information to octave
2015-05-15 18:51:49 +02:00
Jacob Støren
af2699d362 Z-Scale working for geomech views
Alligned GeoMech and Reservoir views through RimView
2015-05-13 22:42:11 +02:00
Stein Dale
da7035517f Added include - RedHat compilation fix
Added #include <limits.h>.
2015-05-11 09:48:55 +02:00
Jacob Støren
d6643d9d35 RimView etc: More aligning GeoMech/Eclipse
Now Animation drawstyle works fairly well.
2015-05-08 14:13:26 +02:00
Jacob Støren
86b058cdbe RimView etc: Refactored and alligned
To implement geomechView features alligned with ReservoirView
Now geomech results are shown with correct legend, and updated fairly
well.
2015-05-08 10:38:10 +02:00
Jacob Støren
3dac8807c7 Refactoring more general stuff into RimView
updateViewerWidget
scheduleUpdateDisplayModelAndRedraw
2015-04-30 10:34:15 +02:00
Jacob Støren
4b7d593b3c Refactored general view stuff into RimView
Removing it from RimReservoirView and RimGeoMechView
2015-04-29 22:19:49 +02:00
Jacob Støren
4a21bb4a30 Added RimView, and sorted the libs in folders 2015-04-29 10:50:25 +02:00