Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
7b06aceb
Commit
7b06aceb
authored
Mar 14, 2010
by
Alexander Wiebel
Browse files
[FIX] made two functions private that were use nowhere outside the class and
moved a local function to an anonymous namespace
parent
094e4894
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
src/modules/navSlices/WMNavSlices.cpp
src/modules/navSlices/WMNavSlices.cpp
+5
-2
src/modules/navSlices/WMNavSlices.h
src/modules/navSlices/WMNavSlices.h
+9
-10
No files found.
src/modules/navSlices/WMNavSlices.cpp
View file @
7b06aceb
...
...
@@ -259,9 +259,12 @@ void WMNavSlices::create()
}
}
osg
::
Vec3
wv3D2ov3
(
wmath
::
WVector3D
v
)
// WVector3D to osg::Vec3 conversion
namespace
//anonymous name space
{
osg
::
Vec3
wv3D2ov3
(
wmath
::
WVector3D
v
)
// WVector3D to osg::Vec3 conversion
{
return
osg
::
Vec3
(
v
[
0
],
v
[
1
],
v
[
2
]
);
}
}
void
WMNavSlices
::
setSlicePosFromPick
(
WPickInfo
pickInfo
)
...
...
src/modules/navSlices/WMNavSlices.h
View file @
7b06aceb
...
...
@@ -73,16 +73,6 @@ public:
*/
virtual
const
std
::
string
getDescription
()
const
;
/**
* updates the positions of the navigation slices
*/
void
updateGeometry
();
/**
* updates textures and shader parameters
*/
void
updateTextures
();
/**
* Due to the prototype design pattern used to build modules, this method returns a new instance of this method. NOTE: it
* should never be initialized or modified in some other way. A simple new instance is required.
...
...
@@ -132,6 +122,15 @@ protected:
private:
/**
* updates the positions of the navigation slices
*/
void
updateGeometry
();
/**
* updates textures and shader parameters
*/
void
updateTextures
();
/**
* Used as callback which simply sets m_textureChanged to true. Called by WSubject whenever the datasets change.
...
...
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