![]() |
VR-Forces Developer's Guide
|
Driver for GLStudio cockpits.

Public Member Functions | |
| DtGlStudioDriver (DtAgentManager &agentManager, const std::string &instanceName) | |
| virtual | ~DtGlStudioDriver () |
| virtual const std::string & | className () const |
| virtual void | hideEntity (DtObserver *obs) |
| virtual void | unHideEntity (DtObserver *obs) |
| virtual void | setAttachmentHas3DCockpit (DtObserver *obs, bool cockpit) |
| virtual void | realizeCockpit (DtObserver *obs, const std::string &modelDefinition="") |
Public Member Functions inherited from makVrv::DtDriver | |
| DtDriver (DtAgentManager &agentManager, const std::string &instanceName) | |
| virtual | ~DtDriver () |
| virtual void | realizeConfiguration (const DtConfiguration &configuration) |
| virtual DtConfiguration | createConfiguration (bool saveAllParameters=false) const |
| DtAgentManager & | agentManager () |
| virtual DtAgentManagerInterface & | sceneInterface () |
| bool | started () const |
| virtual const std::string & | instanceName () const |
| virtual bool | autoStart () const |
| virtual void | setAutoStart (bool autoStart) |
| virtual bool | isWindowDependent () const |
| virtual void | setIsWindowDependent (bool dep) |
| virtual void | setIsUserControllable (bool) |
| virtual bool | isUserControllable () const |
| virtual void | setIsPersistent (bool per) |
| virtual bool | isPersistent () const |
| virtual bool | isOnDriverSelectionList () const |
| virtual void | setOnDriverSelectionList (bool) |
| bool | objectFromAgentManager (const DtUniqueID &id) const |
Protected Types | |
| typedef std::map< DtObserver *, DtUniqueID > | DtObserverAttachmentMap |
Protected Member Functions | |
| virtual bool | onStart () |
| virtual bool | onStop () |
| virtual bool | onTick () |
| virtual void | handleAttachChange (DtObserver *obs) |
| virtual void | handleObserverDestroyed (DtObserver *observer) |
| virtual void | handleObserverCreated (DtObserver *observer) |
| virtual void | handleEnableStateChanged (bool enabled) |
| virtual void | unrealizeCockpit (DtObserver *obs) |
| virtual DtUniqueID | findAttachedSimObject (DtObserver *obs) |
Protected Member Functions inherited from makVrv::DtDriver | |
| void | applyChangesAndDelete (DtElementChanges *changes) |
| void | reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type) |
| void | reportElementAttribute (DtElementID id, DtElementAttribute *attribute) |
| void | reportElementDestroyed (DtElementID id) |
| void | start () |
| void | stop () |
| bool | tick () |
| virtual void | slot_displayEngineAdded (const DtDeRecord &igRecord) |
| virtual void | setInstanceName (const std::string &name) |
| virtual void | installAccessories () |
| virtual void | uninstallAccessories () |
Protected Attributes | |
| DtObserverAttachmentMap | myAttachedObserverMap |
| std::string | myClassName |
| DtAttachManager * | myAttachManager |
| DtDe * | myDe |
Protected Attributes inherited from makVrv::DtDriver | |
| DtAgentManager & | myAgentManager |
| bool | myStartedFlag |
| std::string | myName |
| DtConfiguration | myConfiguration |
| bool | myPersistentFlag |
| bool | myUserControllableFlag |
| bool | myRequestStateDiffPendingFlag |
| DtElementChanges | myChanges |
Additional Inherited Members | |
Static Protected Attributes inherited from makVrv::DtDriver | |
| static const std::string | theOnDriverSelectionList |
|
protected |
| makVrv::DtGlStudioDriver::DtGlStudioDriver | ( | DtAgentManager & | agentManager, |
| const std::string & | instanceName | ||
| ) |
constructor
|
virtual |
destructor
|
virtual |
Get this Driver's class name.
Implements makVrv::DtDriver.
|
virtual |
|
virtual |
|
virtual |
The GL Studio driver uses this to tell the observer that it's going to render a 3D cockpit so the observer can take that into account when determining znear.
|
virtual |
Creates a cockpit for the given observer's attached entity. If a model definition is given it will be created otherwise the default cockpit mappings will be used.
|
protectedvirtual |
Start the host output. Create all object for an existing host connection.
Implements makVrv::DtDriver.
|
protectedvirtual |
Stop the host output. All scene object created by the host should be destroyed.
Implements makVrv::DtDriver.
|
protectedvirtual |
Tick.
Implements makVrv::DtDriver.
|
protectedvirtual |
checks when attachment changes if a new cockpit needs to be
|
protectedvirtual |
checks when observers are destroyed if cockipts need to be removed
|
protectedvirtual |
checks when observer is created if cockpits need to be addeed
|
protectedvirtual |
checks when HUDs are enabled, realizes cockpit for any entities Attached to that don't have a HUD yet.
|
protectedvirtual |
cleans up any cockpits that may have been created
|
protectedvirtual |
finds the sim object ID of the attached object
|
protected |
|
protected |
|
protected |
|
protected |