|
| | DtEntityWakeVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet) |
| | CTOR. More...
|
| |
| virtual | ~DtEntityWakeVisualizer () |
| | DTOR. More...
|
| |
| virtual void | setWakeEnabled (bool enabled) |
| | Enable or disable wake This call stores the enabled state for processing whether all wake effects should be enabled on this entity. More...
|
| |
| virtual void | setSprayEnabled (bool enabled) |
| | Enable or disable spray at the bow and hull of the ship. More...
|
| |
| virtual void | setSternWaveEnabled (bool enabled) |
| | Enable or disable a stern wave. More...
|
| |
| virtual void | setWakeOffset (double offset) |
| | Set the distance from the center of the ship to the origin point of the circles use to generate the wake. More...
|
| |
| virtual void | setBowSprayOffset (double offset) |
| | Set the distance from the wake origin to where the spray appears, if enabled. More...
|
| |
| virtual void | setBowWaveOffset (double offset) |
| | Set the offset to the bow wake. More...
|
| |
| virtual void | setSternWaveOffset (double offset) |
| | Set the offset to the stern wakes. More...
|
| |
| virtual void | setShipLength (double length) |
| | Set the length of the ship. More...
|
| |
| virtual void | setBeamWidth (double width) |
| | Set the beamwidth (widest point) of the ship. More...
|
| |
| virtual void | setPropWashEnabled (bool b) |
| | Set whether prop wash effects are enabled. More...
|
| |
| virtual void | setPropWashOffset (double offset) |
| | Set the distance from the wake origin to where the prop wash appears, if enabled. More...
|
| |
| virtual void | setPropWashFadeTime (double fadeTime) |
| | Set the amount of time, in seconds, over which the prop wash will dissipate. More...
|
| |
| virtual void | setDraft (double draft) |
| | Set the draft, or the distance the hull extends underwater. More...
|
| |
| virtual void | setLODDistance (double distance) |
| | Set the distance at which the prop wash segments and waves are halved. More...
|
| |
| virtual void | setSprayVelocityScale (double scale) |
| | Set the velocity scaling for bow spray effects. More...
|
| |
| virtual void | setBowWaveScale (double scale) |
| | Set the scaling for bow wave effects. More...
|
| |
| virtual void | setMaxBowWaveAmplitude (double amplitude) |
| | Set the max amplitude for bow waves. More...
|
| |
| virtual void | setBowSize (double size) |
| | Set the size of the bow (0 for a pointy one.) More...
|
| |
| virtual void | setSpraySizeScale (double scale) |
| | Set the particle size scaling for bow spray effects. More...
|
| |
| virtual void | setNumHullSprays (int numSprays) |
| | Set the number of spray particle systems emitted along the hull of the ship. More...
|
| |
| virtual void | setHullSpraySizeScale (double scale) |
| | Set the initial size of hull spray particles. More...
|
| |
| virtual void | setHullSprayStart (double offset) |
| | Set the start offset of hull spray effects. More...
|
| |
| virtual void | setHullSprayEnd (double offset) |
| | Set the end offset of hull spray effects. More...
|
| |
| virtual void | setHullSprayVelocityScale (double scale) |
| | Set the initial velocity of hull spray particles as a percent of the ship velocity. More...
|
| |
| virtual void | setHullSprayVerticalOffset (double offset) |
| | Set the initial vertical position of hull spray particles. More...
|
| |
| virtual void | setDamageState (int state) |
| |
virtual const
DtStateVisualizer::TypeInfo & | typeInfo () const |
| | The instance's type info. More...
|
| |
| virtual void | setParent (DtStateVisualizer *parent) |
| | Override of DtStateVisualizer base method. More...
|
| |
| virtual void | setIsFrozen (bool frozen) |
| | Set if the entity this wake is part of is in the frozen state. More...
|
| |
| | DtEntityStateVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet) |
| | CTOR. More...
|
| |
| virtual | ~DtEntityStateVisualizer () |
| | DTOR. More...
|
| |
| virtual void | setState (int stateNumber, int stateValue) |
| | Override to set the attribute state of agents. More...
|
| |
| DtEntityStateListener & | entityStateListener () |
| |
| | 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 void | setSelected (bool) |
| | Sets selected state. More...
|
| |
| virtual bool | selected () const |
| |
| void | setName (const std::string &) |
| | Internal name of state visualizer. More...
|
| |
| const std::string & | name () const |
| |
| virtual void | setPickable (bool) |
| | Sets pickable state. More...
|
| |
| 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_oceanWakesEnabledChanged (bool enabled) |
| | Receives notification of global settings changes for ocean wakes. More...
|
| |
| virtual void | slot_hullSprayEffectsChanged (bool enabled) |
| | Receives notification of global settings changes for hull-spray. More...
|
| |
| virtual bool | active () const |
| |
| virtual void | createModelAgents () |
| | Create the wake and wake updater agents. More...
|
| |
| virtual void | destroyModelAgents () |
| | Destroy the wake and wake updater agents. More...
|
| |
| virtual void | setModelDefinitionForAgents () |
| | No-op. Required for all DtState visualizers, but not used here. More...
|
| |
| virtual void | setVisualizerDefinition (const DtVisualizerDefinition &visDef) |
| | Set the visualizer definition, which contains any user=specified attributes. More...
|
| |
| virtual void | setEmbarkedOn (const std::string &) |
| | Called by signal when the entity's embarked state changes. More...
|
| |
| virtual bool | visible () const |
| | Used locally, checks all the conditions to determine if a wake should be generated for this entity. More...
|
| |
| virtual void | updateWakeEffects () |
| | Used locally, enables/disables the wake, spray and prop-wash by creating or destroying all model-agents. More...
|
| |
| virtual bool | areWakeEffectsEnabled () const |
| | Used locally, returns if wake effects are enabled, both locally and globally. More...
|
| |
| virtual void | updateSprayEffects () |
| | Used locally, enables/disables the spray (bow-spray, hull-spray, etc). More...
|
| |
| virtual bool | areSprayEffectsEnabled () const |
| | Used locally, returns if the spray effects is enabled globally. More...
|
| |
| virtual void | slot_wakeDefaultLODDistanceChanged (double distance) |
| | Receives notification of global settings changes for wake lod default distance. More...
|
| |
| 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 | hide (int context) |
| | Will call destroyModelAgents(), if, when the context is added, it is the first context in the list. More...
|
| |
| virtual bool | show (int context) |
| | Will call createModelAgents(), if, when context is removed from myShowHideContexts, the list size is zero. More...
|
| |
| 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...
|
| |
|
| enum | Type {
AllVisualizerTypes = 0,
EntityVisualizerType = 1,
EnvironmentalVisualizerType,
InteractionVisualizerType,
AggregateVisualizerType,
IntervisibilityVisualizerType,
TacticalSmokeVisualizerType,
UserType = 10000
} |
| | Visualizer class types that are supportable via visualizers. More...
|
| |
boost::signal< void(DtStateVisualizer
*, DtStateVisualizer
*, DtStateVisualizer *)> | signal_reparented |
| | Signaled when the parent of this item changes, called before destroying any model agents. More...
|
| |
boost::signal< void(DtMouseState
&, const DtUniqueID &, const
std::string &, const
std::string &, const
std::string
&, DtStateVisualizer *)> | signal_mouseDown |
| | Emitted when the entity's indicator is clicked. More...
|
| |
boost::signal< void(DtMouseState
&, const DtUniqueID &, const
std::string &, const
std::string &, const
std::string
&, DtStateVisualizer *)> | signal_mouseUp |
| |
boost::signal< void(DtMouseState
&, const DtUniqueID &, const
std::string &, const
std::string &, const
std::string
&, DtStateVisualizer *)> | signal_mouseDblClick |
| |
Visualizer for kelvin wakes.