VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtInsetViewCreator Class Reference

DtInsetViewCreator creates display, window, and observer configurations to implement an Inset View. More...

Inheritance diagram for makVrv::DtInsetViewCreator:
Inheritance graph
[legend]

Public Member Functions

 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

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 createObserverConfiguration (const std::string &observerName, bool realize=true)
 This does the actual configuration creation using the observer name generated by one of the forms of createObserverConfigurationFor()
virtual DtObserverConfiguration createObserverConfigurationForObserverMode (const std::string &mode, bool realize=true)
 Creates and returns a new observer configuration.
virtual DtWindowConfiguration createWindowConfigurationFor (const std::string &displayName, const DtDisplayConfiguration &dec, const DtObserverConfiguration &observerConfig, const DtSensorFieldOfViewData *fov)
 Creates a window configuration given the display and observer configurations.
virtual std::string generateWindowName (const std::string &displayName) const
 Called by createWindowConfigurationFor to generate the base of the window name.

Protected Attributes

DtDemyDe

Detailed Description

DtInsetViewCreator creates display, window, and observer configurations to implement an Inset View.

Constructor & Destructor Documentation

makVrv::DtInsetViewCreator::DtInsetViewCreator ( DtDe de)
virtual makVrv::DtInsetViewCreator::~DtInsetViewCreator ( )
virtual

Member Function Documentation

virtual void makVrv::DtInsetViewCreator::createInsetView ( )
virtual
virtual void makVrv::DtInsetViewCreator::createInsetView ( const std::string &  s)
virtual

Creates and displays a new window with a new observer given the base display name.

Returns the display configuration created for the new window. When window is destroyed, will also destroy observer associated with window

virtual void makVrv::DtInsetViewCreator::createInsetViewForObserverMode ( const std::string &  observerMode)
virtual

Given the observer mode string, creates an inset view for that observer mode.

Queries the observer mode manager for the observer mode name and will uses that as a basis for the window title

virtual DtDisplayConfiguration makVrv::DtInsetViewCreator::createDisplayConfigurationFor ( )
protectedvirtual

Creates a display configuration based on the default display engine configuration given the display name.

virtual DtObserverConfiguration makVrv::DtInsetViewCreator::createObserverConfigurationFor ( const std::string &  displayName,
bool  realize = true 
)
protectedvirtual

Creates and returns a new observer configuration.

If realize is true, will also immediately realize the configuration

virtual DtObserverConfiguration makVrv::DtInsetViewCreator::createObserverConfigurationFor ( bool  realize = true)
protectedvirtual

Creates and returns a new observer configuration that doesn't incorporate the display name into the observer name.

If realize is true, will also immediately realize the configuration

virtual DtObserverConfiguration makVrv::DtInsetViewCreator::createObserverConfiguration ( const std::string &  observerName,
bool  realize = true 
)
protectedvirtual

This does the actual configuration creation using the observer name generated by one of the forms of createObserverConfigurationFor()

Reimplemented in makVrv::DtGlStudioInstrumentPanelBuilder, and makVrv::DtSensorViewCreator.

virtual DtObserverConfiguration makVrv::DtInsetViewCreator::createObserverConfigurationForObserverMode ( const std::string &  mode,
bool  realize = true 
)
protectedvirtual

Creates and returns a new observer configuration.

If realize is true, will also immediately realize the configuration

virtual DtWindowConfiguration makVrv::DtInsetViewCreator::createWindowConfigurationFor ( const std::string &  displayName,
const DtDisplayConfiguration dec,
const DtObserverConfiguration observerConfig,
const DtSensorFieldOfViewData fov 
)
protectedvirtual

Creates a window configuration given the display and observer configurations.

Reimplemented in makVrv::DtGlStudioInstrumentPanelBuilder, and makVrv::DtSensorViewCreator.

virtual std::string makVrv::DtInsetViewCreator::generateWindowName ( const std::string &  displayName) const
protectedvirtual

Called by createWindowConfigurationFor to generate the base of the window name.

Defaults to displayName + " Inset". Override to control the naming of inset windows.

Reimplemented in makVrv::DtGlStudioInstrumentPanelBuilder, and makVrv::DtSensorViewCreator.

Member Data Documentation

DtDe& makVrv::DtInsetViewCreator::myDe
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)