(#657) Wired up UI to viz model generation for cross sections

This commit is contained in:
Magne Sjaastad
2015-11-19 11:41:16 +01:00
parent 5ac3dea46d
commit 9c2b1b44a6
11 changed files with 205 additions and 63 deletions

View File

@@ -135,7 +135,7 @@ public:
virtual void scheduleGeometryRegen(RivCellSetEnum geometryType) = 0;
void scheduleCreateDisplayModelAndRedraw();
void createDisplayModelAndRedraw();
void createOverlayDisplayModelAndRedraw();
void createHighlightAndGridBoxDisplayModelWithRedraw();
RimViewController* viewController() const;
bool isMasterView() const;
@@ -165,7 +165,7 @@ protected:
virtual void createDisplayModel() = 0;
void createOverlayDisplayModel();
void createHighlightAndGridBoxDisplayModel();
void updateGridBoxData();
virtual void createPartCollectionFromSelection(cvf::Collection<cvf::Part>* parts) = 0;
@@ -200,6 +200,9 @@ protected:
cvf::ref<cvf::UByteArray> m_currentReservoirCellVisibility;
cvf::ref<cvf::ModelBasicList> m_crossSectionModel;
cvf::ref<cvf::ModelBasicList> m_highlightModelBasicList;
private:
RimViewLinker* viewLinkerIfMasterView() const;