mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4857 Remove obsolete code
This commit is contained in:
parent
4253c32dac
commit
ceee8b6a85
@ -54,31 +54,6 @@ bool RicIntersectionBoxXSliceFeature::isCommandEnabled()
|
||||
void RicIntersectionBoxXSliceFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
RicIntersectionFeatureImpl::createIntersectionBoxSlize("X-slice (Intersection box)", RimIntersectionBox::PLANE_STATE_X);
|
||||
|
||||
// RimGridView* activeView = RiaApplication::instance()->activeGridView();
|
||||
// RimGridView* activeMainOrComparisonView = RiaApplication::instance()->activeMainOrComparisonGridView();
|
||||
//
|
||||
// if ( activeMainOrComparisonView )
|
||||
// {
|
||||
// RimIntersectionCollection* coll = activeMainOrComparisonView->crossSectionCollection();
|
||||
// CVF_ASSERT( coll );
|
||||
//
|
||||
// RimIntersectionBox* intersectionBox = new RimIntersectionBox();
|
||||
// intersectionBox->name = QString( "X-slice (Intersection box)" );
|
||||
//
|
||||
// coll->appendIntersectionBoxAndUpdate( intersectionBox );
|
||||
//
|
||||
// cvf::Vec3d domainCoord = activeView->viewer()->viewerCommands()->lastPickPositionInDomainCoords();
|
||||
// intersectionBox->setToDefaultSizeSlice( RimIntersectionBox::PLANE_STATE_X, domainCoord );
|
||||
//
|
||||
// coll->updateConnectedEditors();
|
||||
// RiuMainWindow::instance()->selectAsCurrentItem( intersectionBox, false );
|
||||
//
|
||||
// activeMainOrComparisonView->showGridCells(false);
|
||||
// RiuMainWindow::instance()->refreshDrawStyleActions();
|
||||
//
|
||||
// activeView->scheduleCreateDisplayModelAndRedraw();
|
||||
// }
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -54,34 +54,6 @@ bool RicIntersectionBoxYSliceFeature::isCommandEnabled()
|
||||
void RicIntersectionBoxYSliceFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
RicIntersectionFeatureImpl::createIntersectionBoxSlize("Y-slice (Intersection box)", RimIntersectionBox::PLANE_STATE_Y);
|
||||
|
||||
//RimGridView* activeView = RiaApplication::instance()->activeGridView();
|
||||
//if ( activeView )
|
||||
//{
|
||||
// RimIntersectionCollection* coll = activeView->crossSectionCollection();
|
||||
// CVF_ASSERT( coll );
|
||||
//
|
||||
// RimIntersectionBox* intersectionBox = new RimIntersectionBox();
|
||||
// intersectionBox->name = QString( "Y-slice (Intersection box)" );
|
||||
//
|
||||
// coll->appendIntersectionBoxAndUpdate( intersectionBox );
|
||||
//
|
||||
// cvf::Vec3d domainCoord = activeView->viewer()->viewerCommands()->lastPickPositionInDomainCoords();
|
||||
// intersectionBox->setToDefaultSizeSlice( RimIntersectionBox::PLANE_STATE_Y, domainCoord );
|
||||
//
|
||||
// coll->updateConnectedEditors();
|
||||
// RiuMainWindow::instance()->selectAsCurrentItem( intersectionBox );
|
||||
//
|
||||
// RimGridView* rimView = nullptr;
|
||||
// coll->firstAncestorOrThisOfType( rimView );
|
||||
// if ( rimView )
|
||||
// {
|
||||
// rimView->showGridCells( false );
|
||||
// RiuMainWindow::instance()->refreshDrawStyleActions();
|
||||
//
|
||||
// rimView->scheduleCreateDisplayModelAndRedraw();
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -54,34 +54,6 @@ bool RicIntersectionBoxZSliceFeature::isCommandEnabled()
|
||||
void RicIntersectionBoxZSliceFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
RicIntersectionFeatureImpl::createIntersectionBoxSlize("Z-slice (Intersection box)", RimIntersectionBox::PLANE_STATE_Z);
|
||||
|
||||
// RimGridView* activeView = RiaApplication::instance()->activeGridView();
|
||||
// if ( activeView )
|
||||
// {
|
||||
// RimIntersectionCollection* coll = activeView->crossSectionCollection();
|
||||
// CVF_ASSERT( coll );
|
||||
//
|
||||
// RimIntersectionBox* intersectionBox = new RimIntersectionBox();
|
||||
// intersectionBox->name = QString( "Z-slice (Intersection box)" );
|
||||
//
|
||||
// coll->appendIntersectionBoxAndUpdate( intersectionBox );
|
||||
// cvf::Vec3d domainCoord = activeView->viewer()->viewerCommands()->lastPickPositionInDomainCoords();
|
||||
//
|
||||
// intersectionBox->setToDefaultSizeSlice( RimIntersectionBox::PLANE_STATE_Z, domainCoord );
|
||||
//
|
||||
// coll->updateConnectedEditors();
|
||||
// RiuMainWindow::instance()->selectAsCurrentItem( intersectionBox );
|
||||
//
|
||||
// RimGridView* rimView = nullptr;
|
||||
// coll->firstAncestorOrThisOfType( rimView );
|
||||
// if ( rimView )
|
||||
// {
|
||||
// rimView->showGridCells( false );
|
||||
// RiuMainWindow::instance()->refreshDrawStyleActions();
|
||||
//
|
||||
// rimView->scheduleCreateDisplayModelAndRedraw();
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user