Preparing for property filter. #314

Prototype code for property filter visibility
Refactoring the VizLogic class to make the responsibilities clearer
This commit is contained in:
Jacob Støren committed 2015-06-22 08:18:54 +02:00
1 parent e9fe03f63a
commit 088bc12459
7 files changed
+232 -79

No files matched your search

@@ -225,7 +225,7 @@ void RimGeoMechView::createDisplayModel()
m_viewer->removeAllFrames();
m_vizLogic->appendNoAnimPartsToModel(frameModels[0].p());
m_vizLogic->updateStaticCellColors();
m_vizLogic->updateStaticCellColors(-1);
// Create Scenes from the frameModels
// Animation frames for results display, starts from frame 1
@@ -296,7 +296,7 @@ void RimGeoMechView::updateCurrentTimeStep()
}
else
{
this->updateStaticCellColors();
m_vizLogic->updateStaticCellColors(m_currentTimeStep);
m_viewer->animationControl()->slotPause(); // To avoid animation timer spinning in the background
}
@@ -308,7 +308,7 @@ void RimGeoMechView::updateCurrentTimeStep()
//--------------------------------------------------------------------------------------------------
void RimGeoMechView::updateStaticCellColors()
{
m_vizLogic->updateStaticCellColors();
m_vizLogic->updateStaticCellColors(-1);
}
//--------------------------------------------------------------------------------------------------