DtSavedViewInputLogic processes keyboard and controller inputs to navigate between saved observer views. It provides functionality for cycling through views sequentially, directly accessing specific views by number, and toggling special views such as the backup view. This component works in conjunction with the DtSavedViewUpdater to provide a complete saved view navigation system.
#include <savedViewInputLogic.h>
◆ DtSavedViewInputLogic()
| makVre::DtSavedViewInputLogic::DtSavedViewInputLogic |
( |
makVrv::DtDe & | de, |
|
|
DtSavedViewUpdater & | updater ) |
Constructor for DtSavedViewInputLogic.
- Parameters
-
| de | Reference to the display engine |
| updater | Reference to the saved view updater that will execute view changes |
Initializes the input logic component with references to the display engine and the saved view updater that will perform the actual view changes
References de().
◆ ~DtSavedViewInputLogic()
| virtual makVre::DtSavedViewInputLogic::~DtSavedViewInputLogic |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
| virtual void makVre::DtSavedViewInputLogic::initialize |
( |
| ) |
|
|
overridevirtual |
Initializes the saved view input logic.
Loads the input configuration from commonInput.lua and sets up action handlers for view navigation commands
Reimplemented from makVre::DtInputLogic.
◆ shutdown()
| virtual void makVre::DtSavedViewInputLogic::shutdown |
( |
| ) |
|
|
overridevirtual |
Shuts down the saved view input logic.
Performs cleanup operations before component destruction
Reimplemented from makVre::DtInputLogic.
◆ className()
| virtual const std::string & makVre::DtSavedViewInputLogic::className |
( |
| ) |
|
|
virtual |
Gets the class name of this component.
- Returns
- String containing the class name
Returns the name of this component class for identification purposes
◆ nextView()
| virtual void makVre::DtSavedViewInputLogic::nextView |
( |
float | value | ) |
|
|
virtual |
Handler for the next view input action.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
Advances to the next saved view in sequence when triggered
◆ previousView()
| virtual void makVre::DtSavedViewInputLogic::previousView |
( |
float | value | ) |
|
|
virtual |
Handler for the previous view input action.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
Returns to the previous saved view in sequence when triggered
◆ toggleBackupView()
| virtual void makVre::DtSavedViewInputLogic::toggleBackupView |
( |
float | value | ) |
|
|
virtual |
Handler for toggling to/from the backup view.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
Toggles between the current view and a view containing "Backup View" in its name. If already in the backup view, returns to the previous view.
◆ view1()
| virtual void makVre::DtSavedViewInputLogic::view1 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 1.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view2()
| virtual void makVre::DtSavedViewInputLogic::view2 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 2.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view3()
| virtual void makVre::DtSavedViewInputLogic::view3 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 3.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view4()
| virtual void makVre::DtSavedViewInputLogic::view4 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 4.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view5()
| virtual void makVre::DtSavedViewInputLogic::view5 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 5.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view6()
| virtual void makVre::DtSavedViewInputLogic::view6 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 6.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view7()
| virtual void makVre::DtSavedViewInputLogic::view7 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 7.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view8()
| virtual void makVre::DtSavedViewInputLogic::view8 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 8.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view9()
| virtual void makVre::DtSavedViewInputLogic::view9 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 9.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ view10()
| virtual void makVre::DtSavedViewInputLogic::view10 |
( |
float | value | ) |
|
|
virtual |
Handler for directly selecting view 10.
- Parameters
-
| value | Input value (non-zero to trigger the action) |
◆ myDe
| makVrv::DtDe& makVre::DtSavedViewInputLogic::myDe |
|
protected |
Reference to the display engine.
◆ myClassName
| std::string makVre::DtSavedViewInputLogic::myClassName |
|
protected |
Name of this component class.
◆ myUpdater
Reference to the saved view updater that executes view changes.
The documentation for this class was generated from the following file: