Commit 7baefe53 authored by Kendrick, Coleman's avatar Kendrick, Coleman
Browse files

Remove unused function

parent 7acea758
......@@ -85,8 +85,7 @@ public:
/// Call to set the View to Z- direction
void setViewToZNegative();
void adjustProjection(unsigned int axis);
void getProjection(Mantid::Kernel::V3D &minBound, Mantid::Kernel::V3D &maxBound) const;
void adjustProjection(const unsigned int axis);
/// Init rotation at a point on the screen
void initRotationFrom(int a, int b);
......
......@@ -325,7 +325,7 @@ void Viewport::setViewToZNegative() {
adjustProjection(2);
}
void Viewport::adjustProjection(unsigned int axis) {
void Viewport::adjustProjection(const unsigned int axis) {
// reset the projection bounds to the original values
m_left = m_leftOrig;
m_right = m_rightOrig;
......@@ -351,11 +351,6 @@ void Viewport::adjustProjection(unsigned int axis) {
applyProjection();
}
void Viewport::getProjection(Mantid::Kernel::V3D &minBound, Mantid::Kernel::V3D &maxBound) const {
minBound = Mantid::Kernel::V3D(m_left, m_bottom, m_near);
maxBound = Mantid::Kernel::V3D(m_right, m_top, m_far);
}
/**
* Set a new rotation.
* @param rot :: Rotattion as a quaternion.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment