![]() |
VR-Forces 5.0.2 Developer's Guide
|
DtInstrumentPanelCreator creates display, window, and observer configurations to implement an instrument panel window for the given model definition.

Public Member Functions | |
| ~DtGlStudioInstrumentPanelBuilder () | |
| virtual void | createInstrumentPanel (const DtModelDefinition &modelDefinition) |
Public Member Functions inherited from makVrv::DtInstrumentPanelBuilder | |
| virtual | ~DtInstrumentPanelBuilder () |
Public Member Functions inherited from makVrv::DtInsetViewCreator | |
| DtInsetViewCreator (DtDe &de) | |
| virtual | ~DtInsetViewCreator () |
| virtual void | createInsetView () |
| virtual void | createInsetView (const std::string &s) |
| virtual void | createInsetViewForObserverMode (const std::string &observerMode) |
Protected Attributes | |
| DtModelDefinition | myModelDefinition |
| std::string | myObserverName |
Protected Attributes inherited from makVrv::DtInsetViewCreator | |
| DtDe & | myDe |
Friends | |
| class | DtGlStudioInstrumentPanelBuilderCreator |
| 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 |