mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Allow linking of contour map views
* Place copy of contour map in correct collection * Allow linking of contour maps * Improve handling of contour views and 3D views * Guard nullptr * Guard assert seen on Linux * Zoom all on contour map when unlinked to reset zoom If a contour map is linked to a 3D view, the view can get distorted. Call ZoomAll to reset to sensible defaults. * Remove default rainbow legend
This commit is contained in:
@@ -230,8 +230,6 @@ protected:
|
||||
virtual cvf::Transform* scaleTransform() = 0;
|
||||
|
||||
protected:
|
||||
// Overridden PdmObject methods:
|
||||
|
||||
caf::PdmFieldHandle* userDescriptionField() override;
|
||||
caf::PdmFieldHandle* backgroundColorField();
|
||||
|
||||
@@ -242,10 +240,11 @@ protected:
|
||||
|
||||
void setupBeforeSave() override;
|
||||
|
||||
// Overridden ViewWindow methods:
|
||||
void updateViewWidgetAfterCreation() override;
|
||||
QWidget* createViewWidget( QWidget* mainWindowParent ) override;
|
||||
|
||||
void setCameraPosition( const cvf::Mat4d& cameraPosition ) override;
|
||||
|
||||
protected:
|
||||
// Timestep Field. Children clamps this differently
|
||||
caf::PdmField<int> m_currentTimeStep;
|
||||
@@ -271,8 +270,6 @@ private:
|
||||
void performAutoNameUpdate() final;
|
||||
|
||||
// Implementation of RiuViewerToViewInterface
|
||||
|
||||
void setCameraPosition( const cvf::Mat4d& cameraPosition ) override;
|
||||
void setCameraPointOfInterest( const cvf::Vec3d& cameraPointOfInterest ) override;
|
||||
|
||||
void endAnimation() override;
|
||||
|
||||
Reference in New Issue
Block a user