mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3512 System : Remove unused functions
This commit is contained in:
@@ -68,11 +68,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void setItemsEditable(bool isEditable)
|
||||
{
|
||||
m_isItemsEditable = isEditable;
|
||||
}
|
||||
|
||||
private:
|
||||
bool m_isItemsEditable;
|
||||
};
|
||||
|
||||
@@ -510,21 +510,6 @@ void RiuViewer::mousePressEvent(QMouseEvent* event)
|
||||
m_lastMousePressPosition = event->pos();
|
||||
}
|
||||
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Collection<cvf::OverlayItem> RiuViewer::allOverlayItems()
|
||||
{
|
||||
cvf::Collection<cvf::OverlayItem> allOverLays;
|
||||
for (size_t oIdx = 0; oIdx < m_mainRendering->overlayItemCount(); ++oIdx)
|
||||
{
|
||||
allOverLays.push_back(m_mainRendering->overlayItem(oIdx));
|
||||
}
|
||||
return allOverLays;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -899,18 +884,6 @@ cvf::OverlayItem* RiuViewer::pickFixedPositionedLegend(int winPosX, int winPosY)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::updateParallelProjectionSettings(RiuViewer* sourceViewer)
|
||||
{
|
||||
if (!sourceViewer || sourceViewer->m_navigationPolicy.isNull()) return;
|
||||
|
||||
cvf::Vec3d poi = sourceViewer->m_navigationPolicy->pointOfInterest();
|
||||
this->updateParallelProjectionHeightFromMoveZoom(poi);
|
||||
this->updateParallelProjectionCameraPosFromPointOfInterestMove(poi);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -113,8 +113,6 @@ public:
|
||||
|
||||
cvf::OverlayItem* pickFixedPositionedLegend(int winPosX, int winPosY);
|
||||
|
||||
void updateParallelProjectionSettings(RiuViewer* sourceViewer);
|
||||
|
||||
void setCursorPosition(const cvf::Vec3d& domainCoord);
|
||||
|
||||
std::vector<cvf::ref<cvf::Part>> visibleParts();
|
||||
@@ -160,8 +158,6 @@ private:
|
||||
cvf::ref<cvf::OverlayAxisCross> m_axisCross;
|
||||
bool m_showAxisCross;
|
||||
cvf::Collection<caf::TitledOverlayFrame> m_visibleLegends;
|
||||
cvf::Collection<cvf::OverlayItem> allOverlayItems();
|
||||
|
||||
|
||||
caf::PdmInterfacePointer<RiuViewerToViewInterface> m_rimView;
|
||||
QPoint m_lastMousePressPosition;
|
||||
|
||||
Reference in New Issue
Block a user