00001 // apt_signs.hxx -- build airport signs on the fly 00002 // 00003 // Written by Curtis Olson, started July 2001. 00004 // 00005 // Copyright (C) 2001 Curtis L. Olson - http://www.flightgear.org/~curt 00006 // 00007 // This program is free software; you can redistribute it and/or 00008 // modify it under the terms of the GNU General Public License as 00009 // published by the Free Software Foundation; either version 2 of the 00010 // License, or (at your option) any later version. 00011 // 00012 // This program is distributed in the hope that it will be useful, but 00013 // WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 // General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License 00018 // along with this program; if not, write to the Free Software 00019 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00020 // 00021 // $Id: apt__signs_8hxx_source.html,v 1.3 2010/02/23 22:10:07 curt Exp $ 00022 00023 00024 #ifndef _SG_APT_SIGNS_HXX 00025 #define _SG_APT_SIGNS_HXX 00026 00027 00028 #ifndef __cplusplus 00029 # error This library requires C++ 00030 #endif 00031 00032 00033 #include <simgear/compiler.h> 00034 00035 #include <string> 00036 00037 #include <osg/Node> 00038 00039 class SGMaterialLib; // forward declaration 00040 00041 using std::string; 00042 00043 00044 // Generate a generic sign 00045 osg::Node* SGMakeSign( SGMaterialLib *matlib, 00046 const string& path, const string& content ); 00047 00048 00049 // Generate a runway sign 00050 osg::Node* SGMakeRunwaySign( SGMaterialLib *matlib, 00051 const string& path, const string& name ); 00052 00053 00054 #endif // _SG_APT_SIGNS_HXX