/home/tetron/hack/vos/libs/vos/csplugin/vospolygonmesh.hh
Go to the documentation of this file.00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 $Id: vospolygonmesh.h,v 1.4 2005/08/13 20:39:27 tetron Exp $ 00003 00004 This file is part of Crystal Space Virtual Object System Abstract 00005 3D Layer plugin (csvosa3dl). 00006 00007 Copyright (C) 2004-2005 Peter Amstutz 00008 00009 This program is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU Lesser General Public License as published by 00011 the Free Software Foundation; either version 2 of the License, or 00012 (at your option) any later version. 00013 00014 This library is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public License 00020 along with this program; if not, write to the Free Software 00021 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 */ 00023 00024 #ifndef _VOSPOLYGONMESH_H_ 00025 #define _VOSPOLYGONMESH_H_ 00026 00027 #include <vos/metaobjects/a3dl/polygonmesh.hh> 00028 #include "csvosa3dl.hh" 00029 #include "vosobject3d.hh" 00030 00031 class csMetaPolygonMesh : public virtual csMetaObject3D, 00032 public virtual A3DL::PolygonMesh 00033 { 00034 private: 00035 bool alreadyLoaded; 00036 public: 00037 csMetaPolygonMesh(VOS::VobjectBase* superobject); 00038 00039 static VOS::MetaObject* new_csMetaPolygonMesh(VOS::VobjectBase* superobject, 00040 const std::string& type); 00041 00042 void WriteLightmapCache(); 00043 00044 virtual void Setup(csVosA3DL* vosa3dl, csVosSector* sect); 00045 }; 00046 00047 #endif