Commit 790bb7c0 authored by Jan Möbius's avatar Jan Möbius

Fixed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13354 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d6b5fb2f
......@@ -50,6 +50,14 @@
#include "OpenFlipper/BasePlugin/PluginFunctions.hh"
#include <OpenFlipper/common/GlobalOptions.hh>
SlicePlugin::SlicePlugin() :
tool_(0),
toolIcon_(0),
node_(0)
{
}
void SlicePlugin::initializePlugin(){
//init the slice node
node_ = new ACG::SceneGraph::ClippingNode(0,"Clipping Node");
......@@ -65,12 +73,12 @@ void SlicePlugin::initializePlugin(){
QSize size(300, 300);
tool_->resize(size);
bbGroup = new QButtonGroup();
QButtonGroup* bbGroup = new QButtonGroup();
bbGroup->setExclusive( true );
bbGroup->addButton( tool_->radioAll );
bbGroup->addButton( tool_->radioTarget );
axisGroup = new QButtonGroup();
QButtonGroup* axisGroup = new QButtonGroup();
axisGroup->setExclusive( true );
axisGroup->addButton( tool_->radioX );
axisGroup->addButton( tool_->radioY );
......
......@@ -78,7 +78,7 @@ private slots:
void initializePlugin(); // BaseInterface
public :
SlicePlugin();
~SlicePlugin() {};
QString name() { return (QString("Slice")); };
......@@ -87,8 +87,6 @@ public :
private :
SliceToolBox* tool_;
QIcon* toolIcon_;
QButtonGroup* bbGroup;
QButtonGroup* axisGroup;
void getBoundingBox(ACG::Vec3d& bbmin, ACG::Vec3d& bbmax);
......
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