Commit a2490ea2 authored by Jan Möbius's avatar Jan Möbius

Removed Coordsys Plugin ( integrated in Core )

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5238 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1af88b15
//=============================================================================
//
// OpenFlipper
// Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen
// www.openflipper.org
//
//-----------------------------------------------------------------------------
//
// License
//
// OpenFlipper is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// OpenFlipper is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with OpenFlipper. If not, see <http://www.gnu.org/licenses/>.
//
//-----------------------------------------------------------------------------
//
// $Revision$
// $Author$
// $Date$
//
//=============================================================================
#include <QtGui>
#include "Coordsys.hh"
#include <iostream>
#include "OpenFlipper/BasePlugin/PluginFunctions.hh"
#include <ACG/Scenegraph/BaseNode.hh>
void CoordsysPlugin::pluginsInitialized() {
std::cerr << "Initializing coordsys plugin" << std::endl;
//init the slice node
node_ = new ACG::SceneGraph::CoordsysNode(PluginFunctions::getSceneGraphRootNode(),"Core Coordsys Node");
}
Q_EXPORT_PLUGIN2( coordsysplugin , CoordsysPlugin );
//=============================================================================
//
// OpenFlipper
// Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen
// www.openflipper.org
//
//-----------------------------------------------------------------------------
//
// License
//
// OpenFlipper is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// OpenFlipper is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with OpenFlipper. If not, see <http://www.gnu.org/licenses/>.
//
//-----------------------------------------------------------------------------
//
// $Revision$
// $Author$
// $Date$
//
//=============================================================================
#ifndef CoordsysPlugin_HH
#define CoordsysPlugin_HH
#include <QObject>
#include <QtGui>
#include <QCheckBox>
#include <QMenuBar>
#include <OpenFlipper/BasePlugin/BaseInterface.hh>
#include <OpenFlipper/BasePlugin/KeyInterface.hh>
#include <OpenFlipper/common/Types.hh>
#include <ACG/Scenegraph/CoordsysNode.hh>
class CoordsysPlugin : public QObject, BaseInterface, KeyInterface
{
Q_OBJECT
Q_INTERFACES(BaseInterface)
Q_INTERFACES(KeyInterface)
signals:
void updateView();
private slots:
void slotObjectUpdated(int /*_identifier*/){};
// void slotKeyEvent( QKeyEvent* _event ) {};
void pluginsInitialized();
public :
~CoordsysPlugin() {};
QString name() { return (QString("Coordsys")); };
QString description( ) { return (QString("Paints a coordinate system frame")); };
private :
ACG::SceneGraph::CoordsysNode* node_;
public slots:
QString version() { return QString("0.1"); };
};
#endif //CoordsysPlugin_HH
################################################################################
#
################################################################################
include( $$TOPDIR/qmake/all.include )
Plugin()
DIRECTORIES = .
# Input
HEADERS += $$getFilesFromDir($$DIRECTORIES,*.hh)
SOURCES += $$getFilesFromDir($$DIRECTORIES,*.cc)
FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
################################################################################
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