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

Remove unused function

parent 7acea758
...@@ -85,8 +85,7 @@ public: ...@@ -85,8 +85,7 @@ public:
/// Call to set the View to Z- direction /// Call to set the View to Z- direction
void setViewToZNegative(); void setViewToZNegative();
void adjustProjection(unsigned int axis); void adjustProjection(const unsigned int axis);
void getProjection(Mantid::Kernel::V3D &minBound, Mantid::Kernel::V3D &maxBound) const;
/// Init rotation at a point on the screen /// Init rotation at a point on the screen
void initRotationFrom(int a, int b); void initRotationFrom(int a, int b);
......
...@@ -325,7 +325,7 @@ void Viewport::setViewToZNegative() { ...@@ -325,7 +325,7 @@ void Viewport::setViewToZNegative() {
adjustProjection(2); adjustProjection(2);
} }
void Viewport::adjustProjection(unsigned int axis) { void Viewport::adjustProjection(const unsigned int axis) {
// reset the projection bounds to the original values // reset the projection bounds to the original values
m_left = m_leftOrig; m_left = m_leftOrig;
m_right = m_rightOrig; m_right = m_rightOrig;
...@@ -351,11 +351,6 @@ void Viewport::adjustProjection(unsigned int axis) { ...@@ -351,11 +351,6 @@ void Viewport::adjustProjection(unsigned int axis) {
applyProjection(); 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. * Set a new rotation.
* @param rot :: Rotattion as a quaternion. * @param rot :: Rotattion as a quaternion.
......
Supports Markdown
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