VR-Forces 4.0.4 Class Documentation
include/vantageTerrainImplementation/terrainSourceChooser.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00009 #pragma once
00010 
00011 #include <osg/NodeVisitor>
00012 #include <list>
00013 #include "vantageTerrainImplementation/vantageTerrainImplementationDefines.h"
00014 #include "vantageTerrainImplementation/vantageTerrainImplementationCreator.h"
00015 
00016 class DtTerrainSourcePager;
00017 class DtVantageTerrainEngine;
00018 
00025 class DT_DLL_vantageTerrainImplementation DtTerrainSourceChooser : public osg::NodeVisitor
00026 {
00027 public:
00028    DtTerrainSourceChooser(const std::list<DtTerrainChooserFunction>& fcnList, 
00029       DtVantageTerrainEngine* terrainEngine);
00030    virtual ~DtTerrainSourceChooser();
00031 
00032 private:
00034    DtTerrainSourceChooser();
00035 
00036 public:
00037 
00038    virtual void apply(osg::Node& node);
00039 
00041    virtual const std::list<DtTerrainSourcePager*>& instantiatedPagers() const;
00042 
00043 protected:
00044    std::list<DtTerrainChooserFunction> myChooserFunctions;
00047    std::list<DtTerrainSourcePager*> myInstantiatedPagers;
00048    DtVantageTerrainEngine* myTerrainEngine;      
00049 };

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)