VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtTerrainLayer.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtTerrainLayer.h,v $ $Revision: 1.10 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvCore/vrvCore.h>
00015 #include <vrvCore/DtUniqueID.h>
00016 #include <map>
00017 
00018 namespace makArchives
00019 {
00020    class DtPropRecord;
00021 }
00022 
00023 namespace makVrv
00024 {
00025    class DtDe;
00026    class DtProp;
00027    class DtAgentManagerInterface;
00028 
00032    class DT_DLL_VRVCORE DtTerrainLayer
00033    {
00034    public:
00036       typedef std::map<DtUniqueID,DtProp*> PropMap;
00037 
00039       DtTerrainLayer(DtDe& de, DtAgentManagerInterface& sceneInterface);
00040 
00042       virtual ~DtTerrainLayer();
00043 
00046       virtual void addProp(DtProp* prop);
00047 
00049       virtual bool addPropFromRecord(const makArchives::DtPropRecord& record);
00050 
00053       virtual DtProp* findProp(DtUniqueID id);
00054 
00057       virtual bool destroyProp(DtUniqueID id);
00058 
00060       const PropMap& props() const;
00061 
00062    protected:
00063       DtDe& myDe;
00064       DtAgentManagerInterface& mySceneInterface;
00065 
00066    private:
00067       PropMap myProps;
00068    };
00069 }

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)