![]() |
VR-Forces Developer's Guide
|
This class displays the entity display controls inside the entity display page.

Protected Member Functions | |
| void | setupGui () |
| void | connectToSignals () |
| void | enableBuoyancyParameters (bool enabled) |
| int | nearestIconScaleIndex (double value) const |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtEntityDisplaySettingsInterface | |
| boost::signalslib::signal < void(bool)> | signal_entityLabelsSet |
| boost::signalslib::signal < void(bool)> | signal_embarkedEntityLabelsSet |
| boost::signalslib::signal < void(bool)> | signal_rotateEntitySymbolsSet |
| boost::signalslib::signal < void(bool)> | signal_showEmitterVolumesSet |
| boost::signalslib::signal < void(bool)> | signal_groundClampingSet |
| boost::signalslib::signal < void(float)> | signal_groundClampingDistanceSet |
| boost::signalslib::signal < void(bool)> | signal_orientationClampingSet |
| boost::signalslib::signal < void(bool)> | signal_lifeformsUprightSet |
| boost::signalslib::signal < void(bool)> | signal_smoothingSet |
| boost::signalslib::signal < void(float)> | signal_smoothingPeriodSet |
| boost::signalslib::signal < void(bool)> | signal_artPartSmoothingSet |
| boost::signalslib::signal < void(float)> | signal_artPartSmoothingPeriodSet |
| boost::signalslib::signal< void()> | signal_clearHistory |
| boost::signalslib::signal < void(bool)> | signal_showStealthsSet |
| boost::signalslib::signal < void(bool)> | signal_heightAboveTerrainEnabled |
| boost::signalslib::signal < void(bool)> | signal_heightAboveTerrainSelectedOnlySet |
| boost::signalslib::signal < void(DtColorizedModelColorType)> | signal_useModelColorType |
| boost::signalslib::signal < void(bool)> | signal_fixedEntityIconScalingSet |
| boost::signalslib::signal < void(double)> | signal_iconScaleSet |
| boost::signalslib::signal < void(bool)> | signal_oceanWakesEnabledChanged |
| boost::signalslib::signal < void(bool)> | signal_hullSprayEffectsEnabledChanged |
| boost::signalslib::signal < void(bool)> | signal_buoyancyModelsEnabledChanged |
| boost::signalslib::signal < void(double)> | signal_buoyancyDefaultLODDistanceChanged |
| boost::signalslib::signal < void(double)> | signal_wakeDefaultLODDistanceChanged |
| boost::signalslib::signal < void(double)> | signal_buoyancyMinimumCullDistanceChanged |
| boost::signalslib::signal < void(DtEntitySettingsRecord::BuoyancyCullType)> | signal_buoyancyCullTypeChanged |
| boost::signalslib::signal < void(bool)> | signal_buoyAndBeaconIconsEnabledChanged |
| boost::signalslib::signal < void(unsigned int)> | signal_heightAboveTerrainPeriodChanged |
| boost::signalslib::signal < void(bool)> | signal_rotorWashEnabledChanged |
| boost::signalslib::signal < void(bool)> | signal_occupantsVisibleChanged |
| boost::signalslib::signal < void(bool)> | signal_wheelRotationChanged |
| boost::signalslib::signal < void(bool)> | signal_adaptiveTickRateChanged |
| boost::signalslib::signal < void(bool)> | signal_disableBuoyancyForAttachedEntitiesChanged |
| makVrv::DtEntityDisplaySettingsWidget::DtEntityDisplaySettingsWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
| label | The distance unit label string to display. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| decimals | The number of decimal places for distance display. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| range | The maximum LOD range for the default wake model. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| range | The maximum LOD range for the default buoyancy model. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| range | The maximum cull range for the buoyancy minimum cull distance. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether entity labels are shown. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether embarked entity labels are shown. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether entity symbols rotate to match entity orientation. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether emitter volumes are shown. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether ground clamping is enabled. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether lifeforms are kept upright. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| distance | The ground clamping distance. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether orientation clamping is enabled. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether position smoothing is enabled. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| period | The smoothing period in seconds. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether articulated part smoothing is enabled. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| period | The articulated part smoothing period in seconds. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether stealth entities are shown. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether height-above-terrain display is enabled. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| mode | The height-above-terrain display mode. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether height-above-terrain applies to selected entities only. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| colorType | The colorized model color type to use. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| enabled | Whether fixed icon scaling is enabled. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| scale | The icon scale value. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| distance | The maximum ground clamping distance. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| max | The maximum value for the smoothing period range. |
| min | The minimum value for the smoothing period range. |
| step | The step increment for the smoothing period range. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
| max | The maximum value for the articulated part smoothing period range. |
| min | The minimum value for the articulated part smoothing period range. |
| step | The step increment for the articulated part smoothing period range. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the wake effect on dynamic oceans.
| [in] | state | is the enabled/disabled state for wakes. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the rotor wash effect on dynamic oceans.
| [in] | state | is the enabled/disabled state for rotor wash. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the hull spray effect.
| [in] | state | is the enabled/disabled state for hull spray effects. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the buoyancy model state.
| [in] | state | is the enabled/disabled state for all buoyancy models. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the buoyancy model default LOD.
| [in] | distance | is the LOD distance to use when no distance is set in the model definition |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the wake model default LOD.
| [in] | distance | is the LOD distance to use when no distance is set in the model definition. Note that 0 will revert to the default set in Triton.config |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the buoyancy model frustum cull distance.
| [in] | distance | is the range within which buoyancy won't be frustum culled |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the type of buoyancy culling used.
| [in] | cullType | is either DtEntitySettingsRecord::BuoyancyCullNone or DtEntitySettingsRecord::BuoyancyCullFrontFacing |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the buoy/beacon icon state.
| [in] | state | is the enabled/disabled state for all buoy/beacon 2D icons |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set the perioduency at which height above terrain lines are updated.
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set whether to display offset DiGuys that are part of an entity (ex. driver of a car)
| [in] | state | is the enabled/disabled state for all offset DiGuys |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set whether to enable rotating wheels that are part of an entity.
| [in] | enabled | True to enable wheel rotation for all entities. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set whether to use adaptive tick rate for entities.
| [in] | enabled | True to enable adaptive tick rate for all entities. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
virtual |
Set whether to disable buoyancy for observer attached entities.
| [in] | enabled | True to disable buoyancy for observer-attached entities. |
Implements makVrv::DtEntityDisplaySettingsInterface.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protected |
Sets up the widget's fields. Non-virtual (Called from CTOR).
|
protected |
Connects widget signals to slots. Non-virtual (Called from CTOR).
|
protected |
Finds the nearest discrete index for a given icon scale value.
|
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 |
|
protected |
|
protected |
|
protected |