VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtObjectFacadeInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtObjectFacadeInterface.h,v $ $Revision: 1.7 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtObjectFacadeInterface_H_
00014 #define DtObjectFacadeInterface_H_
00015 
00016 #include <vrvCore/vrvCore.h>
00017 #include <vrvCore/DtUniqueID.h>
00018 #include <vrvCore/DtMouseState.h>
00019 
00020 #include <boost/signal.hpp>
00021 
00022 namespace makVrv
00023 {
00024    class DtStateVisualizer;
00025 
00028    class DT_DLL_VRVCORE DtObjectFacadeInterface
00029    {
00030    public:
00031 
00033       virtual ~DtObjectFacadeInterface();
00034 
00036       virtual void setModelDefinition(const std::string& modelDefinition) = 0;
00037 
00039       virtual void setIndicatorModelDefinitions(
00040          const std::string& normalTheme,
00041          const std::string& activeTheme,
00042          const std::string& selectedTheme,
00043          const std::string& multiSelectedTheme) = 0;
00044 
00046       virtual DtUniqueID uniqueID() const = 0;
00047 
00049       virtual void setIndicatorsEnabled(bool enabled) = 0;
00050 
00052       virtual void setIndicatorsOnSelect(bool enabled) = 0;
00053       
00055       virtual void setHatLineVisible( bool visible ) = 0;
00056 
00058       virtual void setVisible(bool visible) = 0;
00059 
00061       virtual void setColor(float r,float g,float b,float a) = 0;
00062 
00064       virtual void setSelected(bool selected) = 0;
00065       
00067       virtual bool selected() const = 0;
00068 
00070       virtual DtStateVisualizer* visualizer(const std::string&) = 0;
00071 
00073 
00074 
00075       typedef boost::signal<void (
00076          DtMouseState& mouseState, const DtUniqueID& id,
00077          const std::string& displayEngineName,
00078          const std::string& windowName, const std::string& channelName)>
00079          WidgetEventSignal;
00080       
00082       WidgetEventSignal signal_indicatorMouseDown;
00083 
00085       WidgetEventSignal signal_indicatorMouseUp;
00086 
00088       WidgetEventSignal signal_indicatorMouseDblClick;
00090    };
00091 }
00092 
00093 #endif
00094 

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)