Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
9178ba28
Commit
9178ba28
authored
Sep 26, 2020
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[STYLE
#364
] one character variables names are bad
parent
46595edf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
src/modules/navigationSlices/WMNavigationSlices.cpp
src/modules/navigationSlices/WMNavigationSlices.cpp
+19
-19
No files found.
src/modules/navigationSlices/WMNavigationSlices.cpp
View file @
9178ba28
...
...
@@ -2,7 +2,7 @@
//
// Project: OpenWalnut ( http://www.openwalnut.org )
//
// Copyright 2009 OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS
// Copyright 2009
-2020
OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS
// For more information see http://www.openwalnut.org/copying
//
// This file is part of OpenWalnut.
...
...
@@ -350,20 +350,20 @@ void WMNavigationSlices::moduleMain()
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getScene
()
->
insert
(
m_output
);
// add for side-views
boost
::
shared_ptr
<
WGEViewer
>
v
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Axial View"
);
if
(
v
)
boost
::
shared_ptr
<
WGEViewer
>
v
iewer
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Axial View"
);
if
(
v
iewer
)
{
v
->
getScene
()
->
insert
(
m_axialOutput
);
v
iewer
->
getScene
()
->
insert
(
m_axialOutput
);
}
v
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Coronal View"
);
if
(
v
)
v
iewer
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Coronal View"
);
if
(
v
iewer
)
{
v
->
getScene
()
->
insert
(
m_coronalOutput
);
v
iewer
->
getScene
()
->
insert
(
m_coronalOutput
);
}
v
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Sagittal View"
);
if
(
v
)
v
iewer
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Sagittal View"
);
if
(
v
iewer
)
{
v
->
getScene
()
->
insert
(
m_sagittalOutput
);
v
iewer
->
getScene
()
->
insert
(
m_sagittalOutput
);
}
// disable the pick-coloring for the side views
...
...
@@ -421,19 +421,19 @@ void WMNavigationSlices::moduleMain()
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getScene
()
->
remove
(
m_output
);
v
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Axial View"
);
if
(
v
)
v
iewer
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Axial View"
);
if
(
v
iewer
)
{
v
->
getScene
()
->
remove
(
m_axialOutput
);
v
iewer
->
getScene
()
->
remove
(
m_axialOutput
);
}
v
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Coronal View"
);
if
(
v
)
v
iewer
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Coronal View"
);
if
(
v
iewer
)
{
v
->
getScene
()
->
remove
(
m_coronalOutput
);
v
iewer
->
getScene
()
->
remove
(
m_coronalOutput
);
}
v
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Sagittal View"
);
if
(
v
)
v
iewer
=
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getViewerByName
(
"Sagittal View"
);
if
(
v
iewer
)
{
v
->
getScene
()
->
remove
(
m_sagittalOutput
);
v
iewer
->
getScene
()
->
remove
(
m_sagittalOutput
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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