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 * guettler@informatik.uni-leipzig.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 * * 00024 * DESCRIPTION * 00025 * 00026 * * 00027 * * 00028 * $Log: DummyGround.h,v $ 00029 * Revision 1.1 2009/11/12 16:16:41 guettler 00030 * new DummyGround which uses a DummyPrimitive 00031 * * 00032 * * 00033 **************************************************************************/ 00034 #ifndef __DUMMYGROUND_H_ 00035 #define __DUMMYGROUND_H_ 00036 00037 #include "abstractground.h" 00038 00039 namespace lpzrobots { 00040 00041 /** 00042 * DummyGround which holds a DummyPrimitive (so getMainPrimitive() works). 00043 */ 00044 class DummyGround : public AbstractGround { 00045 public: 00046 DummyGround(const OdeHandle& odeHandle, const OsgHandle& osgHandle); 00047 virtual ~DummyGround(); 00048 00049 /// overload this function to create the obstacle. All primitives should go into the list "obst" 00050 virtual void create(); 00051 }; 00052 00053 } 00054 00055 #endif /* __DUMMYGROUND_H_ */