VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtPointObjectFacade.h
Go to the documentation of this file.
00001 // /******************************************************************************
00002 // ** Copyright (c) 2009 MAK Technologies, Inc.
00003 // ** All rights reserved.
00004 // ******************************************************************************/
00005 // /******************************************************************************
00006 // ** $RCSfile: DtPointObjectFacade.h,v $ $Revision: 1.19 $ $State: Exp $
00007 // ******************************************************************************/
00008 // 
00009 // //! \file DtPointObjectFacade.h
00010 // //! \brief Contains makVrv::DtPointObjectFacade class.
00011 // //! \ingroup vrvCore
00012 // 
00013 // #ifndef DtPointObjectFacade_H_
00014 // #define DtPointObjectFacade_H_
00015 // 
00016 // #include <vrvCore/vrvCore.h>
00017 // #include <vrvCore/DtUniqueID.h>
00018 // #include <vrvCore/DtEnvironmentalStateListener.h>
00019 // #include <vrvCore/DtBaseConnection.h>
00020 // #include <vrvCore/DtObjectFacadeInterface.h>
00021 // #include <vrvUtil/DtUnicode.h>
00022 // 
00023 // #include <matrix/vlVector.h>
00024 // #include <boost/signal.hpp>
00025 // 
00026 // #include <vector>
00027 // #include <string>
00028 // 
00029 // namespace makVrv
00030 // {
00031 //    class DtMouseState;
00032 //    class DtEnvironmentalVisualizerSet;
00033 //    class DtAgentManagerInterface;
00034 // 
00035 //    //! \brief Facade for a 3d model with position determined by a single
00036 //    //! control point
00037 //    //! \ingroup vrvCore
00038 //    class DT_DLL_VRVCORE DtPointObjectFacade : public DtObjectFacadeInterface
00039 //    {
00040 //    public:
00041 //       //! \brief CTOR
00042 //       DtPointObjectFacade(DtAgentManagerInterface& sceneInterface, int modelSet);
00043 // 
00044 //       //! \brief DTOR
00045 //       virtual ~DtPointObjectFacade();
00046 // 
00047 //       //! \brief Set the offset of the object from the origin
00048 //       virtual void setOffset(const DtVector& position);
00049 // 
00050 //       //! \brief Realize with the specified model definition
00051 //       virtual void setModelDefinition(const std::string& modelDefinition);
00052 // 
00053 //       //! \brief Set the model definitions for the indicator widget
00054 //       virtual void setIndicatorModelDefinitions(
00055 //          const std::string& normalTheme,
00056 //          const std::string& activeTheme,
00057 //          const std::string& selectedTheme, 
00058 //          const std::string& multiSelectedTheme);
00059 // 
00060 //       //! \brief Set the color of the shape in RGBA
00061 //       virtual void setColor(float r,float g,float b,float a);
00062 // 
00063 //       //! \brief Set the facade object's individual selection state
00064 //       virtual void setSelected(bool selected);
00065 //       
00066 //       //! \brief Get the facade object's individual selection state
00067 //       virtual bool singleSelected() const;
00068 // 
00069 //       //! \brief set when the facade is selected as part of a group
00070 //       virtual void setMultiSelected(bool selected);
00071 //       
00072 //       //! \brief query if the facade is selected as part of a group
00073 //       virtual bool multiSelected() const;
00074 //       
00075 //       //! \brief Get if the facade is single or multiselected
00076 //       virtual bool selected() const;
00077 // 
00078 //       //! \brief Set the text for the info box
00079 //       virtual void setInfoText(const DtUnicode& text);
00080 // 
00081 //       //! \brief Set the info box visibility for the facade
00082 //       virtual void setInfoVisible(bool visible, bool signal=true );
00083 // 
00084 //       //! \brief Set if the Height Above Terrain (HAT) line is visible.
00085 //       void setHatLineVisible( bool visible );
00086 // 
00087 //       //! \brief Set the widgets visible or not
00088 //       virtual void setIndicatorsEnabled( bool enabled );
00089 // 
00090 //       //! \brief Set the widget indicators to be on only for selected objects
00091 //       virtual void setIndicatorsOnSelect(bool enabled);
00092 // 
00093 //       //! \brief Set whether the object is rendered
00094 //       virtual void setVisible( bool visible );
00095 // 
00096 //       //! \brief Set an origin for the object
00097 //       virtual void setOrigin(const DtVector& origin);
00098 // 
00099 //       //! Set true to allow this object to be picked
00100 //       virtual void setPickable( bool pickable );
00101 // 
00102 //       //! Set event handling on or off for the point object's widgets
00103 //       virtual void setWidgetEventsEnabled(bool enabled);
00104 // 
00105 //       virtual DtUniqueID uniqueID() const;
00106 // 
00107 //       //! \brief Get the offset of the object from the origin
00108 //       virtual DtVector offset();
00109 // 
00110 //       //! \brief Get the origin of the object
00111 //       virtual DtVector origin();
00112 // 
00113 //       //! \brief Returns the model set that this facade was visualized for
00114 //       virtual int modelSet() const;
00115 // 
00116 //       //! Returns the visualizer based on the name, or 0 if does not exists
00117 //       virtual DtStateVisualizer* visualizer(const std::string&);
00118 // 
00119 //       DtEnvironmentalVisualizerSet* visualizer()
00120 //       {
00121 //          return myVisualizer;
00122 //       }
00123 // 
00124 //       //! \brief Emitted when the info becomes visible or invisible
00125 //       boost::signal<void (bool isVisible)> signal_infoVisibleChanged;
00126 // 
00127 //    protected:
00128 // 
00129 //       //! \brief Called when a widget owned by the facade gets a mouse down event
00130 //       virtual void slot_indicatorMouseDown(
00131 //          DtMouseState& state, DtUniqueID objectId, const std::string& displayEngineName,
00132 //          const std::string& windowName, const std::string& channelName);
00133 // 
00134 //       //! Called when a widget owned by the facade gets a mouse up event
00135 //       virtual void slot_indicatorMouseUp(
00136 //          DtMouseState& state, DtUniqueID objectId, const std::string& displayEngineName,
00137 //          const std::string& windowName, const std::string& channelName);
00138 // 
00139 //       //! Called when a widget owned by the facade gets a mouse double click event
00140 //       virtual void slot_indicatorMouseDblClick(
00141 //          DtMouseState& state, DtUniqueID objectId, const std::string& displayEngineName,
00142 //          const std::string& windowName, const std::string& channelName);
00143 // 
00144 //       //! \brief Copy CTOR
00145 //       DtPointObjectFacade(DtPointObjectFacade&);
00146 // 
00147 //    protected:
00148 //       DtEnvironmentalVisualizerSet*  myVisualizer;
00149 //       DtBaseConnection                    mySimulation;
00150 //       DtEnvironmentalStateListener        myListener;
00151 //    };
00152 // }
00153 // 
00154 // #endif

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)