|
| | DtEnvironmentalVertexVisualizer (DtBaseConnection &conn, DtStateListener &listener, int modelSet) |
| | Constructor. More...
|
| |
| virtual | ~DtEnvironmentalVertexVisualizer () |
| | DTOR. More...
|
| |
| virtual void | setVisualizerDefinition (const DtVisualizerDefinition &visDef) |
| | Override to get the vertexVisualizerSet attribute. More...
|
| |
| virtual void | setOrigin (const DtVector &position) |
| | Call to scene object to set location. More...
|
| |
| virtual void | addControlPoint (const DtVector &position, const DtUniqueID &elementID) |
| |
| virtual void | insertControlPoint (int index, const DtVector &position) |
| |
| virtual void | removeControlPoint (int index) |
| |
| virtual void | moveControlPoint (int index, const DtVector &position) |
| |
| virtual void | setControlPoints (const DtEnvironmentalStateListener::ControlPointsList &, const std::vector< DtUniqueID > &vertexElementIDs) |
| |
| virtual void | setControlPoints (const DtEnvironmentalStateListener::ControlPointsList &) |
| | Will only use this to move points that have currently been created. More...
|
| |
| virtual void | setColor (float r, float g, float b, float a) |
| |
| virtual void | setInfoText (DtUniqueID id, const DtUnicode &) |
| | Sets information text for specified id or index. More...
|
| |
| virtual void | setInfoText (int, const DtUnicode &) |
| |
| virtual void | setSelected (DtUniqueID id, bool) |
| | Sets selected either by unique id of child or index of child. More...
|
| |
| virtual void | setSelected (int, bool) |
| |
| virtual bool | selected (DtUniqueID id) const |
| | Returns selected either by unique id of child or index of child. More...
|
| |
| virtual bool | selected (int index) const |
| |
| virtual void | setHeightAboveTerrainLineVisible (bool) |
| | Sets HAT line visible either by id, index or for all points. More...
|
| |
| virtual void | setHeightAboveTerrainLineVisible (DtUniqueID, bool) |
| |
| virtual void | setHeightAboveTerrainLineVisible (int, bool) |
| |
| virtual void | setShowInfoOnSelect (bool) |
| | Sets info visible by select either by id, index or for all points. More...
|
| |
| virtual void | setShowInfoOnSelect (DtUniqueID, bool) |
| |
| virtual void | setShowInfoOnSelect (int, bool) |
| |
| virtual void | setVertexHidden (DtUniqueID, bool) |
| | Hides/shows child. More...
|
| |
| virtual void | setVertexHidden (int, bool) |
| |
| virtual SelectionState | pointSelected (DtUniqueID id) const |
| | Returns true if point is selected by id or index. More...
|
| |
| virtual SelectionState | pointSelected (int) const |
| |
| virtual void | setIndicatorsEnabled (bool) |
| | Sets indicators enabled/disabled for all points. More...
|
| |
| virtual void | setWidgetEventsEnabled (bool) |
| | Sets widget events enabled/disabled for all points. More...
|
| |
| virtual void | setEnabled (bool enabled) |
| | respond to change in tactical graphics display settings More...
|
| |
| virtual void | setIndicatorModelDefinitions (const std::string &normalTheme, const std::string &activeTheme, const std::string &selectedTheme, const std::string &multiSelectedTheme) |
| | Sets model definitions for all current and future points. More...
|
| |
| virtual void | setUseHighestTerrainLod (DtEnvironmentalVisualizerSet *v, bool useHighest) |
| | Set whether the line is to currently visible terrain LOD or to highest available terrain LOD. More...
|
| |
| virtual void | setUseHighestTerrainLod (bool useHighest) |
| | Apply to all visualizer sets in visualizer. More...
|
| |
| virtual bool | useHighestTerrainLod () const |
| | Get whether line is to currently visible terrain LOD or to highest available terrain LOD. More...
|
| |
| int | numVertices () const |
| |
| DtUniqueID | uniqueIdOf (int iIndex) const |
| |
| int | indexOf (DtUniqueID sceneID) const |
| |
| int | indexOfElementID (DtUniqueID elementID) const |
| |
| virtual void | setHatLinesEnabled (bool) |
| | Tells the visualizer if HAT lines are enabled. More...
|
| |
| virtual void | setHatLinesOnSelectionOnly (bool) |
| | Tells the visualizer if HAT lines are visible on selected vertices only. More...
|
| |
| virtual DtUniqueID | uniqueID () const |
| | Return unique id of mySceneObjectAgent, if it exists, else returns 0;. More...
|
| |
| virtual void | setSelected (bool) |
| | Sets selected state. More...
|
| |
| virtual void | setPickable (bool) |
| | Sets pickable state. More...
|
| |
| DtEnvironmentalStateListener & | environmentalStateListener () |
| |
| const PointList & | controlPoints () const |
| |
| const ElementIDList & | vertexElementIDs () const |
| |
virtual const
DtStateVisualizer::TypeInfo & | typeInfo () const |
| | The instance's type info. More...
|
| |
| virtual void | setOwner (DtSceneObjectAgent *) |
| | The owner agent of this vertex visualizer set. More...
|
| |
| virtual void | setAttached (DtUniqueID) |
| | Sets this object to be attached to the specified object. More...
|
| |
| | DtSceneObjectVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet) |
| |
| virtual | ~DtSceneObjectVisualizer () |
| |
| virtual DtSceneObjectAgent * | sceneObjectAgent () |
| |
| virtual void | setParent (DtStateVisualizer *p) |
| | Override of base class setParent to simply set the parent without destroying/recreating model agents. More...
|
| |
| virtual void | setModelDefinitionForAgents () |
| | Sets model definition for all the agents that this visualizer might be using. More...
|
| |
| virtual void | setSceneObjectAgent (DtSceneObjectAgent *) |
| |
| virtual void | setElementID (const DtElementID &elementID) |
| |
| DtElementID | elementID () const |
| |
| virtual bool | show (int) |
| | Override to show/hide scene object agent (if it exists) More...
|
| |
| virtual bool | hide (int) |
| | Will call destroyModelAgents(), if, when the context is added, it is the first context in the list. More...
|
| |
| | DtStateVisualizer (DtBaseConnection &connection, DtStateListener &listener, int modelSet) |
| | CTOR. More...
|
| |
| virtual | ~DtStateVisualizer () |
| | DTOR. More...
|
| |
| void | setModelDefinition (const std::string &definition) |
| | Sets the model definition and creates agent(s) based on that definition. More...
|
| |
| const std::string & | modelDefinition () const |
| | Gets the current model definition. More...
|
| |
| virtual void | implementVisibility (bool visible) |
| | Wrap some of the show/hide functionality so that it can be overloaded (ex. More...
|
| |
| virtual bool | setVisible (bool visible, int context) |
| | Returns true if this context wants to show or hide the item. More...
|
| |
| virtual void | initialize () |
| | Initialize the visualizer. More...
|
| |
| virtual bool | isVisible () const |
| | Returns true if visible. More...
|
| |
| virtual bool | selected () const |
| |
| void | setName (const std::string &) |
| | Internal name of state visualizer. More...
|
| |
| const std::string & | name () const |
| |
| virtual bool | pickable () const |
| |
| virtual void | setUniqueID (DtUniqueID id) |
| |
| DtUniqueID | uniqueID () const |
| |
| int | visualizerType () const |
| |
| void | setShowHideContext (const std::vector< int > &s) |
| | Set show/hide context without changing visibility of item. More...
|
| |
| DtStateListener & | listener () |
| |
| DtBaseConnection & | simulation () |
| | Get the connection for this visualizer. More...
|
| |
| void | setDistribute (bool b) |
| | Whether or not to distribute over the network. More...
|
| |
| bool | distribute () const |
| |
|
| virtual void | slot_listenerLocationSet (const DtVector &) |
| |
| virtual void | slot_listenerControlPointLocationSet (int index, const DtVector &) |
| |
| virtual void | setControlPoints () |
| |
| virtual void | resetSpatial () |
| |
| virtual void | createModelAgents () |
| | Creates the model agent. If already created, makes it visible. More...
|
| |
| virtual void | destroyModelAgents () |
| | Model agent is only destroyed in destructor. More...
|
| |
| virtual bool | setVertexVisible (bool, DtShowHideContext::ShowHideContext) |
| |
| virtual void | setOriginAndOffset (DtEnvironmentalVisualizerSet *, const DtVector &, const DtVector &) |
| |
| virtual void | setColor (DtEnvironmentalVisualizerSet *, float r, float g, float b, float a) |
| |
| virtual void | setIndicatorsEnabled (DtEnvironmentalVisualizerSet *, bool) |
| |
| virtual void | setInfoText (DtEnvironmentalVisualizerSet *, const DtUnicode &) |
| |
| virtual void | setMultiSelected (DtEnvironmentalVisualizerSet *, bool) |
| |
| virtual void | setHatLineVisible (DtEnvironmentalVisualizerSet *, bool) |
| |
| virtual void | setShowInfoPopupOnSelect (DtEnvironmentalVisualizerSet *, bool) |
| |
| virtual void | setWidgetEventsEnabled (DtEnvironmentalVisualizerSet *, bool) |
| |
| virtual void | setGroundClamp (DtEnvironmentalVisualizerSet *, bool) |
| |
| virtual void | setIndicatorModelDefinitions (DtEnvironmentalVisualizerSet *, const std::string &normalTheme, const std::string &activeTheme, const std::string &selectedTheme, const std::string &multiSelectedTheme) |
| |
| virtual void | updateHatLines () |
| |
| virtual void | updateHatLine (int index) |
| |
| virtual void | updateHatLine (DtUniqueID id) |
| |
virtual
DtEnvironmentalVisualizerSet * | createAndInitializePointVisualizer (const DtUniqueID &vertexElementId, int index) |
| |
| virtual void | slot_mouseDown (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName, DtStateVisualizer *v) |
| |
| virtual bool | pointIsDifferent (const DtVector &newPos, const DtVector &lastPos) const |
| |
| virtual void | slot_mouseUp (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName, DtStateVisualizer *v) |
| |
| virtual void | slot_mouseDblClick (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName, DtStateVisualizer *v) |
| |
| virtual void | startAttached () |
| | Starts the process of attachment by creating updater for attachment. More...
|
| |
| virtual void | endAttached () |
| | Ends the attachment process. More...
|
| |
| virtual DtVector | offsetAtPosition (const DtVector &origin) const |
| | Given the origin and the point offset, return an offset that is valid at the given position. More...
|
| |
| virtual void | setGroundClamp (bool) |
| | Sets whether or not to ground clamp points (default is false) More...
|
| |
| virtual DtSceneObjectAgent * | createObjectAgent () |
| |
| virtual void | slot_mouseDown (DtMouseState &mouseState, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| | Called when the mouse is clicked in this visualizer. More...
|
| |
| virtual void | slot_mouseUp (DtMouseState &mouseState, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| |
| virtual void | slot_mouseDblClick (DtMouseState &mouseState, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| |
| virtual bool | supportsShowHideContext (int) const |
| | Default returns true. More...
|
| |
| template<typename T , typename C > |
| void | connectAndUpdate (boost::signal< void(T)> &sig, void(C::*fp)(T), T val) |
| | Connect a signal and update the entity. More...
|
| |
This will visualize points on a multi-point line by creating a DtEnvironmentalVisualizerSet for each point that maps to a way point element definition.
If that element definition does not exist, or you wish to create your own point visualizer, override the createPointVisualizer method in a subclass of this object and return a visualizer to visualize these points