00001 // Copyright (C) 2008 Timothy Moore timoore@redhat.com 00002 // 00003 // This program is free software; you can redistribute it and/or 00004 // modify it under the terms of the GNU General Public License as 00005 // published by the Free Software Foundation; either version 2 of the 00006 // License, or (at your option) any later version. 00007 // 00008 // This program is distributed in the hope that it will be useful, but 00009 // WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 // General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU General Public License 00014 // along with this program; if not, write to the Free Software 00015 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00016 00017 #ifndef SIMGEAR_EFFECT_CULL_VISITOR_HXX 00018 #define SIMGEAR_EFFECT_CULL_VISITOR_HXX 1 00019 00020 #include <osgUtil/CullVisitor> 00021 00022 namespace osg 00023 { 00024 class Geode; 00025 } 00026 00027 namespace simgear 00028 { 00029 class EffectCullVisitor : public osgUtil::CullVisitor 00030 { 00031 public: 00032 EffectCullVisitor(); 00033 EffectCullVisitor(const EffectCullVisitor&); 00034 virtual osgUtil::CullVisitor* clone() const; 00035 using osgUtil::CullVisitor::apply; 00036 virtual void apply(osg::Geode& node); 00037 }; 00038 } 00039 #endif