VR-Forces 4.0.4 Class Documentation
include/vantageTerrainImplementation/osgEarthCommands.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 "vantageTerrainImplementation/terrainEngineCommand.h"
00012 #include "vantageTerrainImplementation/osgEarthTerrainSourcePager.h"
00013 
00014 class DtPageInTilesCommand : public DtTerrainPagerSpecificCommand<DtOsgEarthTerrainSourcePager>
00015 {
00016 public:
00017    DtPageInTilesCommand(DtPagingMetaDataPtr metaData);
00018    virtual ~DtPageInTilesCommand();
00019 
00020    virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager);
00021 
00023    virtual const int type() const;
00024 
00025    virtual void setTilesToAdd(const DtTileKeyList tilesToAdd);
00026 
00027    static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
00028 
00029 protected:
00030    DtTileKeyList myTilesToAdd;
00031 };
00032 
00033 class DtPageOutTilesCommand : public DtTerrainPagerSpecificCommand<DtOsgEarthTerrainSourcePager>
00034 {
00035 public:
00036    DtPageOutTilesCommand(DtPagingMetaDataPtr metaData);
00037    virtual ~DtPageOutTilesCommand();
00038 
00039    virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager);
00040 
00042    virtual const int type() const;
00043 
00044    virtual void setTilesToRemove(const DtTileKeyList tilesToRemove);
00045 
00046    static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
00047 
00048 protected:
00049    DtTileKeyList myTilesToRemove;
00050 };

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)