mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 18:02:12 -05:00
Add seismic 3d view (#10472)
* Show seismic, surfaces, annotations and wellpaths in new view not requiring a grid loaded first.
This commit is contained in:
1 parent
5bf2c2a89d
commit
2172199999
73 files changed
+1520
-299
No files matched your search
@@ -252,7 +252,7 @@ void RiuViewer::clearRimView()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::setDefaultView()
|
||||
void RiuViewer::setDefaultView( const cvf::Vec3d& dir, const cvf::Vec3d& up )
|
||||
{
|
||||
cvf::BoundingBox bb = m_mainRendering->boundingBox();
|
||||
if ( !bb.isValid() )
|
||||
@@ -273,7 +273,7 @@ void RiuViewer::setDefaultView()
|
||||
}
|
||||
}
|
||||
|
||||
m_mainCamera->fitView( bb, -cvf::Vec3d::Z_AXIS, cvf::Vec3d::Y_AXIS );
|
||||
m_mainCamera->fitView( bb, dir, up );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user