Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
7baefe53
Commit
7baefe53
authored
Aug 30, 2021
by
Kendrick, Coleman
Browse files
Remove unused function
parent
7acea758
Changes
2
Hide whitespace changes
Inline
Side-by-side
qt/widgets/instrumentview/inc/MantidQtWidgets/InstrumentView/Viewport.h
View file @
7baefe53
...
...
@@ -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
);
...
...
qt/widgets/instrumentview/src/Viewport.cpp
View file @
7baefe53
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment