VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
makVrv::DtVirtualRealitySettingsLogic Class Reference

Logic for the VirtualReality settings gui.

Public Member Functions

 DtVirtualRealitySettingsLogic (DtDe &de, DtVirtualRealitySettingsInterface &gui, DtPersistenceControlsInterface &persistenceGui)
 
virtual ~DtVirtualRealitySettingsLogic ()
 
virtual void sendSettingsToGui ()
 

Protected Member Functions

Slots for when the VR state changes
virtual void slot_vrRunningChanged (bool running)
 
Slots for when the GUI changes
virtual void slot_enabledChanged (bool enabled)
 
virtual void slot_mirroringChanged (makArchives::DtVirtualRealitySettingsRecord::DtMirroring view)
 
virtual void slot_mirrorChannelChanged (const std::string &enabled)
 
virtual void slot_attachedObserverChanged (const std::string &observer)
 
virtual void slot_flipOverlaysChanged (bool flip)
 
virtual void slot_overlayWidthChanged (float width)
 
virtual void slot_overlayAspectChanged (float aspect)
 
virtual void slot_overlayDistanceChanged (float distance)
 
virtual void slot_disableDepthCopyChanged (bool disable)
 
virtual void slot_enableVRSChanged (bool enable)
 
virtual void slot_resolutionScaleChanged (int scale)
 
virtual void slot_enableMixedRealityMaskChanged (bool enable)
 
virtual void slot_browseForMixedRealityDefinitionFilePushed ()
 
virtual void slot_enableRealWorldDepthTestingChanged (bool enable)
 
virtual void slot_disableFocusViewsChanged (bool disable)
 
virtual void slot_disableAAChanged (bool disable)
 
Slots for when the settings changes
virtual void slot_enabledUpdated (bool enabled)
 
virtual void slot_mirroringUpdated (makArchives::DtVirtualRealitySettingsRecord::DtMirroring view)
 
virtual void slot_mirrorChannelUpdated (const std::string &enabled)
 
virtual void slot_channelsUpdated ()
 
virtual void slot_observersUpdated ()
 
virtual void slot_observerRemoved (const DtObserver *obs)
 
virtual void slot_attachedObserverUpdated (const std::string &observerName)
 
virtual void slot_flipOverlaysUpdated (bool flip)
 
virtual void slot_overlayWidthUpdated (float width)
 
virtual void slot_overlayAspectUpdated (float aspect)
 
virtual void slot_overlayDistanceUpdated (float distance)
 
virtual void slot_disableDepthCopyUpdated (bool use)
 
virtual void slot_enableVRSUpdated (bool enable)
 
virtual void slot_resolutionScaleUpdated (int scale)
 
virtual void slot_enableMixedRealityMaskUpdated (bool enable)
 
virtual void slot_enableRealWorldDepthTestingUpdated (bool enable)
 
virtual void slot_disableFocusViewsUpdated (bool disable)
 
virtual void slot_disableAAUpdated (bool disable)
 

Private Member Functions

 DtVirtualRealitySettingsLogic ()
 
 DtVirtualRealitySettingsLogic (const DtVirtualRealitySettingsLogic &)
 
DtVirtualRealitySettingsLogicoperator= (const DtVirtualRealitySettingsLogic &)
 

Persistence slots

DtDemyDe
 
DtVirtualRealitySettingsInterfacemyInterface
 
DtPersistenceControlsInterfacemyPersistenceControls
 
DtSignalConnectionManager myConnections
 
void on_import ()
 
void on_export ()
 
void on_importFilePathChosen (const std::string &filePath)
 
void on_exportFilePathChosen (const std::string &filePath)
 
virtual void settingsRestored (const DtSettingsBackup *)
 

Constructor & Destructor Documentation

makVrv::DtVirtualRealitySettingsLogic::DtVirtualRealitySettingsLogic ( )
private

prevent default constructor

makVrv::DtVirtualRealitySettingsLogic::DtVirtualRealitySettingsLogic ( const DtVirtualRealitySettingsLogic )
private

prevent copy-construction

makVrv::DtVirtualRealitySettingsLogic::DtVirtualRealitySettingsLogic ( DtDe de,
DtVirtualRealitySettingsInterface gui,
DtPersistenceControlsInterface persistenceGui 
)

CTOR.

virtual makVrv::DtVirtualRealitySettingsLogic::~DtVirtualRealitySettingsLogic ( )
virtual

DTOR.

Member Function Documentation

DtVirtualRealitySettingsLogic& makVrv::DtVirtualRealitySettingsLogic::operator= ( const DtVirtualRealitySettingsLogic )
private

prevent assignment

virtual void makVrv::DtVirtualRealitySettingsLogic::sendSettingsToGui ( )
virtual

Update the GUI with current VirtualReality settings. Not virtual since it's called from the constructor.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_vrRunningChanged ( bool  running)
protectedvirtual
virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enabledChanged ( bool  enabled)
protectedvirtual

This signal fires when the UI enabled check box is changed. The logic will change the settings manager to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_mirroringChanged ( makArchives::DtVirtualRealitySettingsRecord::DtMirroring  view)
protectedvirtual

This signal fires when the UI mirroring drop down is changed. The logic will change the settings manager to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_mirrorChannelChanged ( const std::string &  enabled)
protectedvirtual

This signal fires when the UI enabled check box is changed. The logic will change the settings manager to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_attachedObserverChanged ( const std::string &  observer)
protectedvirtual

This signal fires when the UI attached observer drop down is changed, the logic will change the settings manager to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_flipOverlaysChanged ( bool  flip)
protectedvirtual

This signal fires when the UI flip overlays check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_overlayWidthChanged ( float  width)
protectedvirtual

This signal fires when the UI overlay width spinner is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_overlayAspectChanged ( float  aspect)
protectedvirtual

This signal fires when the UI overlay aspect spinner is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_overlayDistanceChanged ( float  distance)
protectedvirtual

This signal fires when the UI overlay distance spinner is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_disableDepthCopyChanged ( bool  disable)
protectedvirtual

This signal fires when the UI disable depth copy check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enableVRSChanged ( bool  enable)
protectedvirtual

This signal fires when the UI enable VRS check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_resolutionScaleChanged ( int  scale)
protectedvirtual

This signal fires when the UI resolution scale slider is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enableMixedRealityMaskChanged ( bool  enable)
protectedvirtual

This signal fires when the UI use enable mixed reality check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_browseForMixedRealityDefinitionFilePushed ( )
protectedvirtual

This signal fires when the Browse mixed reality definition file button is pressed.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enableRealWorldDepthTestingChanged ( bool  enable)
protectedvirtual

This signal fires when the UI enable real world depth testing check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_disableFocusViewsChanged ( bool  disable)
protectedvirtual

This signal fires when the UI disable focus views check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_disableAAChanged ( bool  disable)
protectedvirtual

This signal fires when the UI disable AA check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enabledUpdated ( bool  enabled)
protectedvirtual

this function is called when the settings manager changes whether or not VR is enabled so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_mirroringUpdated ( makArchives::DtVirtualRealitySettingsRecord::DtMirroring  view)
protectedvirtual

this function is called when the settings manager changes the mirror setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_mirrorChannelUpdated ( const std::string &  enabled)
protectedvirtual

this function is called when the settings manager changes the mirror channel so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_channelsUpdated ( )
protectedvirtual

this function is called when the settings manager changes the available channels so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_observersUpdated ( )
protectedvirtual

this function is called when the settings manager changes the available observers so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_observerRemoved ( const DtObserver obs)
protectedvirtual

this function is called when an observer is removed and needs to be taken out of GUI list

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_attachedObserverUpdated ( const std::string &  observerName)
protectedvirtual

this function is called with the settings manager changes the attached observer so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_flipOverlaysUpdated ( bool  flip)
protectedvirtual

this function is called when the settings manager changes the flip overlays setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_overlayWidthUpdated ( float  width)
protectedvirtual

this function is called when the settings manager changes the overlay width setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_overlayAspectUpdated ( float  aspect)
protectedvirtual

this function is called when the settings manager changes the overlay aspect setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_overlayDistanceUpdated ( float  distance)
protectedvirtual

this function is called when the settings manager changes the overlay distance setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_disableDepthCopyUpdated ( bool  use)
protectedvirtual

this function is called when the settings manager changes the disable depth copy setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enableVRSUpdated ( bool  enable)
protectedvirtual

this function is called when the settings manager changes the enable vrs setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_resolutionScaleUpdated ( int  scale)
protectedvirtual

this function is called when the settings manager changes the resolution scale setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enableMixedRealityMaskUpdated ( bool  enable)
protectedvirtual

this function is called when the settings manager changes the enable mixed reality setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enableRealWorldDepthTestingUpdated ( bool  enable)
protectedvirtual

this function is called when the settings manager changes the enable real world depth testing setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_disableFocusViewsUpdated ( bool  disable)
protectedvirtual

this function is called when the settings manager changes the disable focus views setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_disableAAUpdated ( bool  disable)
protectedvirtual

this function is called when the settings manager changes the disable AA setting so the gui can be updated

void makVrv::DtVirtualRealitySettingsLogic::on_import ( )
protected

this function is called when the import settings button is pressed

void makVrv::DtVirtualRealitySettingsLogic::on_export ( )
protected

this function is called when the export settings button is pressed

void makVrv::DtVirtualRealitySettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected

this function is called when the import file path chosen button is pressed

void makVrv::DtVirtualRealitySettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected

this function is called when the export path chosen button is pressed

virtual void makVrv::DtVirtualRealitySettingsLogic::settingsRestored ( const DtSettingsBackup )
protectedvirtual

Called when settings are restored. Resets GUI if the restored object type is of this class.

Member Data Documentation

DtDe& makVrv::DtVirtualRealitySettingsLogic::myDe
protected

this function is called when the import settings button is pressed

DtVirtualRealitySettingsInterface& makVrv::DtVirtualRealitySettingsLogic::myInterface
protected

this function is called when the import settings button is pressed

DtPersistenceControlsInterface& makVrv::DtVirtualRealitySettingsLogic::myPersistenceControls
protected

this function is called when the import settings button is pressed

DtSignalConnectionManager makVrv::DtVirtualRealitySettingsLogic::myConnections
protected

this function is called when the import settings button is pressed


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)