VR-Forces 4.0.4 Class Documentation
include/vrfGuiCore/DtVrfSpotReportVisualizer.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00011 
00012 #pragma once
00013 
00014 #include <vrfGuiCore/vrfGuiCore.h>
00015 #include <vrfGuiCore/DtSpotReportListener.h>
00016 #include <vrfGuiCore/DtVrfSpotReportDataHandler.h>
00017 
00018 #include <vrvUtil/DtSignalConnectionManager.h>
00019 #include <vrvCore/DtBaseConnection.h>
00020 #include <vrvCore/DtElementEntry.h>
00021 
00022 namespace makVrf
00023 {
00024    class DtVrfSpotReportVisualizerSet;
00025    class DtVrfSpotReportsSettingsRecord;
00026 
00027    const makVrv::DtElementEntry::ElementType DtSpotReportStateType = (makVrv::DtElementEntry::ElementType)
00028       (makVrv::DtElementEntry::UserStart + 100);
00029    const makVrv::DtElementEntry::ElementType DtSpotReportEntryType = (makVrv::DtElementEntry::ElementType)
00030       (makVrv::DtElementEntry::UserStart + 100);
00031 
00032    class DT_DLL_VRFGUICORE DtVrfSpotReportVisualizer
00033    {
00034    public:
00035       DtVrfSpotReportVisualizer(makVrv::DtBaseConnection& conn, makVrv::DtStateListener*);
00036       virtual ~DtVrfSpotReportVisualizer();
00037 
00038    public:
00042       virtual void visualize();
00043 
00045       virtual void setPickable(bool b);
00046 
00049       inline makVrv::DtElementID elementID() const
00050       {
00051          return myListener->uniqueId();
00052       }
00053 
00054    protected:
00055          
00058       virtual void setModelSetEnabled( int modelSet, bool enabled );
00059 
00062       virtual void slot_spotReportChanged(const DtSpotReportState& s);
00063 
00066       virtual void slot_spotReportOptionsChanged(const DtVrfSpotReportsSettingsRecord&);
00067 
00069       virtual makVrv::DtUnicode chooseModelDefinition(
00070          const std::vector<makVrv::DtUnicode>& definitions);
00071 
00072    protected:
00073       typedef std::map<int, DtVrfSpotReportVisualizerSet*> SpotReportModelSetMap;
00074       SpotReportModelSetMap mySpotReportModelSetMap;
00075 
00076       makVrv::DtBaseConnection&  mySimulation;
00077       makVrv::DtStateListener*      myListener;
00078 
00079       makVrv::DtSignalConnectionManager  myConnections;
00080       DtVrfSpotReportState       mySpotReportState;
00081 
00082       bool myPickable;
00083    };
00084 }

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)