VR-Forces 4.0.4 Class Documentation
include/vrvOsgQt/DtExtractPropsLogic.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtExtractPropsLogic.h,v $ $Revision: 1.15 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtExtractPropsLogic_H_
00014 #define DtExtractPropsLogic_H_
00015 
00016 #include <vrvOsgQt/vrvOsgQt.h>
00017 #include <vrvOsgQt/DtExtractPropsInterface.h>
00018 
00019 namespace makVrv
00020 {
00021 
00022    class DtDe;
00023    class DtTerrain;
00024    class DtTerrainPatch;
00025    class DtTerrainPatchObject;
00026 
00029    class DT_DLL_VRVOSGQT DtExtractPropsLogic
00030    {
00031 
00032    public:
00033 
00035       DtExtractPropsLogic(DtDe& de, DtTerrain& terrain, 
00036          const std::string& patchDefinition, DtExtractPropsInterface& gui);
00037 
00038       void fillOutExtractionHistory();
00040       ~DtExtractPropsLogic();
00041       
00042    protected:
00043 
00045       void extractProps(const std::string& searchExp, bool isRegEx, 
00046          const std::string& type, const std::string& modelDef);
00047 
00049       void buildSearchCandidates(DtTerrainPatchObject& tpo);
00050 
00052       virtual void terrainToBeCleared();
00053 
00057       virtual void terrainPatchToBeDeleted(const DtTerrainPatch&);
00058       
00059    protected:
00060 
00061       DtDe& myDe;
00062       DtTerrain& myTerrain;
00063       DtTerrainPatch* myPatch;
00064       DtExtractPropsInterface& myGui;
00065       DtExtractPropsInterface::SearchCandidateSet mySearchCandidates;
00066    };
00067 }
00068 
00069 #endif
00070 

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)