![]() |
VR-Forces 5.0.2 Developer's Guide
|
Visualizer for kelvin wakes.

Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
Protected Member Functions | |
| virtual void | slot_oceanWakesEnabledChanged (bool enabled) |
| virtual void | slot_hullSprayEffectsChanged (bool enabled) |
| virtual bool | active () const |
| virtual void | createModelAgents () |
| virtual void | destroyModelAgents () |
| virtual void | setModelDefinitionForAgents () |
| virtual void | connectToListenerSignals () override |
| virtual void | setInitialValuesFromVisualizerDefinition () override |
| virtual void | setEmbarkedOn (const std::string &) |
| virtual bool | visible () const |
| virtual void | updateWakeEffects () |
| virtual bool | areWakeEffectsEnabled () const |
| virtual void | updateSprayEffects () |
| virtual bool | areSprayEffectsEnabled () const |
| virtual void | slot_wakeDefaultLODDistanceChanged (double distance) |
Protected Member Functions inherited from makVrv::DtStateVisualizer | |
| virtual void | makeVisible () |
| virtual bool | isVisible () const |
| template<typename T , typename C > | |
| void | connectAndUpdate (boost::signalslib::signal< void(T)> &sig, void(C::*fp)(T), T val) |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStateVisualizer | |
| enum | Type { AllVisualizerTypes = 0, EntityVisualizerType = 1, EnvironmentalVisualizerType, InteractionVisualizerType, AggregateVisualizerType, IntervisibilityVisualizerType, TacticalSmokeVisualizerType, UserType = 10000 } |
Public Attributes inherited from makVrv::DtStateVisualizer | |
| boost::signalslib::signal < void(DtStateVisualizer *, DtStateVisualizer *, DtStateVisualizer *)> | signal_reparented |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::DtEntityWakeVisualizer::DtEntityWakeVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
| makVrv::DtEntityWakeVisualizer::DtEntityWakeVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| DtSceneObjectAgent * | sceneObject, | ||
| int | modelSet | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
overridevirtual |
called soon after construction to initialize the signals/state from the listener
Reimplemented from makVrv::DtStateVisualizer.
|
virtual |
Enable or disable wake This call stores the enabled state for processing whether all wake effects should be enabled on this entity.
|
virtual |
Enable or disable spray at the bow and hull of the ship.
|
virtual |
Enable or disable a stern wave.
|
virtual |
Set the distance from the center of the ship to the origin point of the circles use to generate the wake.
|
virtual |
Set the distance from the wake origin to where the spray appears, if enabled.
|
virtual |
Set the offset to the bow wake.
|
virtual |
Set the offset to the stern wakes.
|
virtual |
Set the length of the ship.
|
virtual |
Set the beamwidth (widest point) of the ship.
|
virtual |
Set whether prop wash effects are enabled.
|
virtual |
Set the distance from the wake origin to where the prop wash appears, if enabled.
|
virtual |
Set the amount of time, in seconds, over which the prop wash will dissipate.
|
virtual |
Set the draft, or the distance the hull extends underwater. Used to influence the bow wake.
|
virtual |
Set the distance at which the prop wash segments and waves are halved.
|
virtual |
Set the velocity scaling for bow spray effects.
|
virtual |
Set the scaling for bow wave effects.
|
virtual |
Set the max amplitude for bow waves.
|
virtual |
Set the size of the bow (0 for a pointy one.)
|
virtual |
Set the particle size scaling for bow spray effects.
|
virtual |
Set the number of spray particle systems emitted along the hull of the ship.
|
virtual |
Set the initial size of hull spray particles.
|
virtual |
Set the start offset of hull spray effects.
|
virtual |
Set the end offset of hull spray effects.
|
virtual |
Set the initial velocity of hull spray particles as a percent of the ship velocity.
|
virtual |
Set the initial vertical position of hull spray particles.
|
virtual |
|
virtual |
The instance's type info.
Implements makVrv::DtStateVisualizer.
|
virtual |
Set if the entity this wake is part of is in the frozen state.
|
static |
This class's type info.
|
protectedvirtual |
Receives notification of global settings changes for ocean wakes. This call stores the global enabled state for processing whether all wake effects should be enabled on all entities.
| enabled | is the new global state. |
|
protectedvirtual |
Receives notification of global settings changes for hull-spray.
| enabled | is the new global state. |
|
protectedvirtual |
|
protectedvirtual |
Create the wake and wake updater agents.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
Destroy the wake and wake updater agents.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
No-op. Required for all DtState visualizers, but not used here.
Implements makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
Connect the visualizer to the listeners signals Called by DtStateVisualizer::initialize()
Reimplemented from makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
Sets member variables from the visualizer definition if they exist Should not call this directly. Called by DtStateVisualizer::initialize.
Reimplemented from makVrv::DtStateVisualizer.
|
protectedvirtual |
Called by signal when the entity's embarked state changes.
|
protectedvirtual |
Used locally, checks all the conditions to determine if a wake should be generated for this entity.
|
protectedvirtual |
Used locally, enables/disables the wake, spray and prop-wash by creating or destroying all model-agents. This call performs the work of enabling/disabling the effects, but does not save the enabled state of the effects.
|
protectedvirtual |
Used locally, returns if wake effects are enabled, both locally and globally.
| true | if wake effects are locally and globally enabled. |
| false | otherwise |
|
protectedvirtual |
Used locally, enables/disables the spray (bow-spray, hull-spray, etc). This call performs the work of enabling/disabling the effects, but does not save the enabled state of the effects.
|
protectedvirtual |
Used locally, returns if the spray effects is enabled globally.
| true | if spray effect is globally enabled. |
| false | otherwise |
|
protectedvirtual |
Receives notification of global settings changes for wake lod default distance.
| distance | is the new global state. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |