/home/tetron/hack/vos/libs/vos/metaobjects/a3dl/billboard.hh
Go to the documentation of this file.00001 /* 00002 This file is part of the Virtual Object System of 00003 the Interreality project (http://interreality.org). 00004 00005 Copyright (C) 2002 Reed Hedges 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Lesser General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public 00018 License along with this library; if not, write to the Free Software 00019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 00021 Reed Hedges, interreality.org 00022 */ 00023 00024 #ifndef _A3DL_BILLBOARD_HH_ 00025 #define _A3DL_BILLBOARD_HH_ 00026 00027 #include "a3dldefs.hh" 00028 00029 #include <vos/metaobjects/a3dl/object3d.hh> 00030 00031 #ifndef A3DL_EXPORTS 00032 IMPORT_METAOBJECT_FACTORIES(A3DL_Billboard) 00033 #endif 00034 00035 namespace A3DL 00036 { 00037 /** @class Billboard billboard.hh vos/metaobjects/a3dl/billboard.hh 00038 * @ingroup libmetaobject_a3dl 00039 * Billboard objects are two dimensional images that have a position in 3D space. 00040 * The first two components of the object's scaling property define the X and Y 00041 * dimensions. The Z scaling is ignored. The orientation is also ignored: billboard 00042 * objects always face the viewer, and are always "right side up". 00043 */ 00044 00045 class A3DL_API Billboard : public virtual Object3D 00046 { 00047 public: 00048 Billboard(VOS::VobjectBase* superobject); 00049 virtual ~Billboard(); 00050 virtual const std::string getVOSType(); 00051 static VOS::MetaObject* new_Billboard(VOS::VobjectBase* superobject, const std::string& type); 00052 }; 00053 } 00054 00055 #endif