![]() |
VR-Forces 4.8 Class Documentation
|
This widget contains fields for configuring DiGuys. More...

Public Member Functions | |
| DtDiGuySettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. More... | |
| virtual | ~DtDiGuySettingsWidget () |
| Virtual DTOR. More... | |
| virtual void | setDistanceUnitLabels (const DtUnicode &unitLabel) |
| Set a label extension to use for all distance-related labels. More... | |
| virtual void | setDistanceDecimals (int decimals) |
| Set the number of decimal places to use for all distance-related items. More... | |
| virtual void | setMaxDrawDistanceRange (float max, float min, float step) |
| Sets Slider/spinbox min/max/step distance to draw diguys. More... | |
| virtual void | setMaxMotionUpdateDistanceRange (float max, float min, float step) |
| Sets Slider/spinbox min/max/step distance to draw diguys. More... | |
| virtual void | setInstancedLodMax (int max) |
| Sets Slider/spinbox max for the instanced lod value. More... | |
Field Value Getters/Setters | |
| virtual bool | instancingEnabled () const |
| Gets whether or not diguy instancing is enabled. More... | |
| virtual void | setInstancingEnabled (bool enabled) |
| Sets whether or not diguy instancing is enabled. More... | |
| virtual int | instancedLod () const |
| Gets lod to use for instanced diguys (1-7) More... | |
| virtual void | setInstancedLod (int lod) |
| Sets lod to use for instanced diguys (1-7) More... | |
| virtual bool | visualizeInstancing () const |
| Gets whether or not visualizing diguy instancing is enabled. More... | |
| virtual void | setVisualizeInstancing (bool enabled) |
| Sets whether or not visualizing diguy instancing is enabled. More... | |
| virtual float | maxDrawDistance () const |
| Gets Maximum distance to draw diguys (-1 is no limit) More... | |
| virtual void | setMaxDrawDistance (float distance) |
| Sets Maximum distance to draw diguys (-1 is no limit) More... | |
| virtual float | maxMotionUpdateDistance () const |
| Gets Maximum distance to update diguys motion(-1 is no limit) More... | |
| virtual void | setMaxMotionUpdateDistance (float distance) |
| Sets Maximum distance to update diguys motion(-1 is no limit) More... | |
| virtual bool | multiThreadUpdate () const |
| Gets whether or not visualizing diguy instancing is enabled. More... | |
| virtual void | setMultiThreadUpdate (bool enabled) |
| Sets whether or not visualizing diguy instancing is enabled. More... | |
Public Member Functions inherited from makVrv::DtDiGuySettingsInterface | |
| virtual | ~DtDiGuySettingsInterface () |
| DTOR. More... | |
Protected Slots | |
User input slots | |
| void | onDiGuyInstancingEnabledChanged (int checkedState) |
| Receives notification that the user changed the instancing enabled checkbox. More... | |
| void | onDiGuyInstancedLodChanged (int lod) |
| Receives notification that the user changed the instancing lod value (1-7). More... | |
| void | onDiGuyVisualizeInstancingChanged (int checkedState) |
| Receives notification that the user changed the visualize instancing checkbox. More... | |
| void | onDiGuyMaxDrawDistanceChanged (double distance) |
| Receives notification that the user changed the max draw distance. More... | |
| void | onDiGuyMaxMotionUpdateDistanceChanged (double distance) |
| Receives notification that the user changed the max update distance. More... | |
| void | onDiGuyMultiThreadUpdateChanged (int checkedState) |
| Receives notification that the user changed the multi threaded update checkbox. More... | |
Protected Member Functions | |
| void | connectToSignals () |
| Connect to widget changed signals. More... | |
Protected Attributes | |
| DtDe & | myDe |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtDiGuySettingsInterface | |
| boost::signal< void(bool)> | signal_diGuyInstancingEnabledChanged |
| Signals that the user changed the instancing enabled checkbox. More... | |
| boost::signal< void(int)> | signal_diGuyInstancedLodChanged |
| Signals that the user changed the instancing lod value (1-7). More... | |
| boost::signal< void(bool)> | signal_diGuyVisualizeInstancingChanged |
| Signals that the user changed the visualize instancing checkbox. More... | |
| boost::signal< void(float)> | signal_diGuyMaxDrawDistanceChanged |
| Signals that the user changed the max draw distance. More... | |
| boost::signal< void(float)> | signal_diGuyMaxMotionUpdateDistanceChanged |
| Signals that the user changed the max draw distance. More... | |
| boost::signal< void(bool)> | signal_diGuyMultiThreadUpdateChanged |
| Signals that the user changed the multi threaded update checkbox. More... | |
This widget contains fields for configuring DiGuys.
| makVrv::DtDiGuySettingsWidget::DtDiGuySettingsWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Gets whether or not diguy instancing is enabled.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets whether or not diguy instancing is enabled.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Gets lod to use for instanced diguys (1-7)
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets lod to use for instanced diguys (1-7)
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Gets whether or not visualizing diguy instancing is enabled.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets whether or not visualizing diguy instancing is enabled.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Gets Maximum distance to draw diguys (-1 is no limit)
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets Maximum distance to draw diguys (-1 is no limit)
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Gets Maximum distance to update diguys motion(-1 is no limit)
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets Maximum distance to update diguys motion(-1 is no limit)
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Gets whether or not visualizing diguy instancing is enabled.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets whether or not visualizing diguy instancing is enabled.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Set a label extension to use for all distance-related labels.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Set the number of decimal places to use for all distance-related items.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets Slider/spinbox min/max/step distance to draw diguys.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets Slider/spinbox min/max/step distance to draw diguys.
Implements makVrv::DtDiGuySettingsInterface.
|
virtual |
Sets Slider/spinbox max for the instanced lod value.
Implements makVrv::DtDiGuySettingsInterface.
|
protectedslot |
Receives notification that the user changed the instancing enabled checkbox.
|
protectedslot |
Receives notification that the user changed the instancing lod value (1-7).
|
protectedslot |
Receives notification that the user changed the visualize instancing checkbox.
|
protectedslot |
Receives notification that the user changed the max draw distance.
|
protectedslot |
Receives notification that the user changed the max update distance.
|
protectedslot |
Receives notification that the user changed the multi threaded update checkbox.
|
protected |
Connect to widget changed signals.
Non-virtual (Called from CTOR).
|
protected |