Robotsystem from Robot Group Leipzig: extendedViewer.cpp Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# extendedViewer.cpp

Go to the documentation of this file.

    00001 /***************************************************************************
    00002  *   Copyright (C) 2005 by Robot Group Leipzig                             *
    00003  *    martius@informatik.uni-leipzig.de                                    *
    00004  *    fhesse@informatik.uni-leipzig.de                                     *
    00005  *    der@informatik.uni-leipzig.de                                        *
    00006  *    frankguettler@gmx.de                                                 *
    00007  *                                                                         *
    00008  *   This program is free software; you can redistribute it and/or modify  *
    00009  *   it under the terms of the GNU General Public License as published by  *
    00010  *   the Free Software Foundation; either version 2 of the License, or     *
    00011  *   (at your option) any later version.                                   *
    00012  *                                                                         *
    00013  *   This program is distributed in the hope that it will be useful,       *
    00014  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
    00015  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
    00016  *   GNU General Public License for more details.                          *
    00017  *                                                                         *
    00018  *   You should have received a copy of the GNU General Public License     *
    00019  *   along with this program; if not, write to the                         *
    00020  *   Free Software Foundation, Inc.,                                       *
    00021  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
    00022  *                                                                         *
    00023  *   $Log: extendedViewer.cpp,v $
    00024  *   Revision 1.1.2.1  2006/03/06 16:52:02  robot3
    00025  *   written an own viewer because getCurrentCameraManipulator() was not implemented
    00026  *
    00027  *                                                                         *
    00028  ***************************************************************************/
    00029 /*
    00030 #include <osg/LightSource>
    00031 #include <osg/ApplicationUsage>
    00032 #include <osg/AlphaFunc>
    00033 #include <osg/io_utils>
    00034 #include <osgUtil/UpdateVisitor>
    00035
    00036 #include <osgDB/Registry>
    00037
    00038 #include <osgGA/EventVisitor>
    00039 #include <osgGA/AnimationPathManipulator>
    00040 #include <osgGA/TrackballManipulator>
    00041 #include <osgGA/FlightManipulator>
    00042 #include <osgGA/DriveManipulator>
    00043 #include <osgGA/TerrainManipulator>
    00044 #include <osgGA/UFOManipulator>
    00045 #include <osgGA/StateSetManipulator>
    00046 */
    00047 #include "extendedViewer.h"
    00048 /*
    00049 #include <osgProducer/ViewerEventHandler>
    00050
    00051 #include <stdio.h>
    00052 */
    00053 using namespace Producer;
    00054 using namespace osgProducer;
    00055 using namespace osg;
    00056 using namespace lpzrobots;
    00057
    00058 #ifdef __APPLE__
    00059 #define SINGLE_THREAD_KEYBOARDMOUSE
    00060 #endif
    00061
    00062 ExtendedViewer::ExtendedViewer(): Viewer() {}
    00063
    00064 ExtendedViewer::ExtendedViewer(Producer::CameraConfig *cfg): Viewer(cfg) {}
    00065
    00066 ExtendedViewer::ExtendedViewer(const std::string& configFile): Viewer(configFile) {}
    00067
    00068 ExtendedViewer::ExtendedViewer(osg::ArgumentParser& arguments): Viewer(arguments) {}
    00069
    00070 ExtendedViewer::~ExtendedViewer() {}
    00071
    00072
    00073