Commit 7b06aceb authored by Alexander Wiebel's avatar 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
......@@ -259,9 +259,12 @@ void WMNavSlices::create()
}
}
osg::Vec3 wv3D2ov3( wmath::WVector3D v ) // WVector3D to osg::Vec3 conversion
namespace //anonymous name space
{
return osg::Vec3( v[0], v[1], v[2] );
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 )
......
......@@ -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.
......
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