![]() |
VR-Forces 4.6.1 Class Documentation
|
DtInstrumentPanelCreator creates display, window, and observer configurations to implement an instrument panel window for the given model definition. More...

Public Member Functions | |
| ~DtGlStudioInstrumentPanelBuilder () | |
| Destructor. | |
| virtual void | createInstrumentPanel (const DtModelDefinition &modelDefinition) |
| Calls createInsetView on the base class to get the window created and then looks up the DtGlStudioDriver and calls realizeCockpit with the name of the model definition. | |
Public Member Functions inherited from makVrv::DtInstrumentPanelBuilder | |
| virtual | ~DtInstrumentPanelBuilder () |
| Destructor. | |
Public Member Functions inherited from makVrv::DtInsetViewCreator | |
| DtInsetViewCreator (DtDe &de) | |
| virtual | ~DtInsetViewCreator () |
| virtual void | createInsetView () |
| virtual void | createInsetView (const std::string &s) |
| Creates and displays a new window with a new observer given the base display name. | |
| virtual void | createInsetViewForObserverMode (const std::string &observerMode) |
| Given the observer mode string, creates an inset view for that observer mode. | |
Protected Member Functions | |
| DtGlStudioInstrumentPanelBuilder (DtDe &de) | |
| Constructor needs the DtDe to use. | |
| virtual DtObserverConfiguration | createObserverConfiguration (const std::string &observerName, bool realize=true) |
| Overridden to cache the name of the observer in myObserverName. | |
| virtual DtWindowConfiguration | createWindowConfigurationFor (const std::string &displayName, const DtDisplayConfiguration &dec, const DtObserverConfiguration &observerConfig, const DtSensorFieldOfViewData *fov) |
| Overridden to remove the "showCockpits" keyword (which would show all mapped cockpits) in favor of the channel keyword from the model definition (which shows only that cockpit). | |
| virtual std::string | generateWindowName (const std::string &displayName) const |
| Called by createWindowConfigurationFor to generate the base of the window name. | |
Protected Member Functions inherited from makVrv::DtInstrumentPanelBuilder | |
| DtInstrumentPanelBuilder (DtDe &de) | |
| Constructor needs the DtDe to use. | |
Protected Member Functions inherited from makVrv::DtInsetViewCreator | |
| virtual DtDisplayConfiguration | createDisplayConfigurationFor () |
| Creates a display configuration based on the default display engine configuration given the display name. | |
| virtual DtObserverConfiguration | createObserverConfigurationFor (const std::string &displayName, bool realize=true) |
| Creates and returns a new observer configuration. | |
| virtual DtObserverConfiguration | createObserverConfigurationFor (bool realize=true) |
| Creates and returns a new observer configuration that doesn't incorporate the display name into the observer name. | |
| virtual DtObserverConfiguration | createObserverConfigurationForObserverMode (const std::string &mode, bool realize=true) |
| Creates and returns a new observer configuration. | |
Protected Attributes | |
| DtModelDefinition | myModelDefinition |
| std::string | myObserverName |
Friends | |
| class | DtGlStudioInstrumentPanelBuilderCreator |
DtInstrumentPanelCreator creates display, window, and observer configurations to implement an instrument panel window for the given model definition.
| makVrv::DtGlStudioInstrumentPanelBuilder::~DtGlStudioInstrumentPanelBuilder | ( | ) |
Destructor.
|
protected |
Constructor needs the DtDe to use.
|
virtual |
Calls createInsetView on the base class to get the window created and then looks up the DtGlStudioDriver and calls realizeCockpit with the name of the model definition.
Reimplemented from makVrv::DtInstrumentPanelBuilder.
|
protectedvirtual |
Overridden to cache the name of the observer in myObserverName.
Reimplemented from makVrv::DtInsetViewCreator.
|
protectedvirtual |
Overridden to remove the "showCockpits" keyword (which would show all mapped cockpits) in favor of the channel keyword from the model definition (which shows only that cockpit).
Sets the size based on the PerspectiveWidth and PerspectiveHeight height parameters of the model definition.
Reimplemented from makVrv::DtInsetViewCreator.
|
protectedvirtual |
Called by createWindowConfigurationFor to generate the base of the window name.
Defaults to displayName + " Panel". Override to control the naming of inset windows.
Reimplemented from makVrv::DtInsetViewCreator.
|
friend |
|
protected |
|
protected |