VR-Vantage
Loading...
Searching...
No Matches
examples

This group contains example code demonstrating VR-Vantage features and APIs. More...

Collaboration diagram for examples:

Classes

class  DtExampleCommLinesDriver
class  DtCustomMenu
 A builder for the Custom menu. The menu string is "DtCustomMenu". More...
class  CustomMenuItem
 The item for bringing up a Custom dialog. This DtMenuItem is added to the DtCustomMenu menu. More...
class  makVrv::DtExampleDialogMenu
 The "Examples" Menu. More...
class  makVrv::DtExampleSettingsMenuItem
 The item for bringing up a dialog to adjust example settings. More...
class  makVrv::DtExampleInterface
 Example Interface (based on the humble dialog pattern). More...
class  makVrv::DtExampleLogic
 Example Logic (based on humble dialog pattern). More...
class  makVrv::DtExamplePage
 Example Page that goes into the example dialog. More...
class  makVrv::DtExampleSettingsManager
 Example Settings Manager. More...
class  makVrv::DtExampleSettingsRecord
 Example Settings Record. More...
class  makVrv::DtExampleWidget
 Example Widget that is part of the example page. Based on the humble dialog pattern. More...
class  DtExampleDriver
class  DtExampleEffectsDriver
class  makVrv::DtElementAttributesMonitor
class  entityTypeFilterPlugin::DtEntityTypeFilter
 This class defines a filter that when applied to a state listener (which has access to ALL the network transmitted entity data) will find the entity's entity type and compare it to a list of filters. If the entity type matches any of the filters, it should be filtered out. More...
class  entityTypeFilterPlugin::DtEntityTypeFilterAccessory
 This class defines an accessory that the plugin will install into the accesory manager. When a DtVrlinkDriver is started, it will register this example's derived DtFilteredEntityElementProcessor and DtFilteredAggregateElementProcessor with "DtEntityElementProcessor" and "DtAggregateElementProcessor" handles, effectively replacing those base classes with the new derived classes. More...
class  entityTypeFilterPlugin::DtEntityTypeFilterManager
 The DtEntityTypeFilterManager is a simgleton class that tracks the current state of entity type filters, updates the Entity and Aggregate element processors when those filters change, and tracks the start and stop of DtVrlinkDrivers so that when they start they are synced to the current filter state. More...
class  entityTypeFilterPlugin::DtFilteredAggregateElementProcessor
 DtFilteredAggregateElementProcessor is a
DtAggregateElementProcessor that can be instructed to filter out aggregates by aggregate type. More...
class  entityTypeFilterPlugin::DtFilteredEntityElementProcessor
 DtFilteredEntityElementProcessor is a
DtEntityElementProcessor that can be instructed to filter out entities by entity type. More...
class  entityTypeFilterPlugin::DtGroundEntitiesFilterItem
 DtGroundEntitiesFilterItem is a menu item that, when triggered, will request that a ground entities filter be added or removed, depending on whether or not the filter currently exists in the DtEntityTypeFilterManager. It will update its display text accordingly. More...
class  CheckBoxAdder
 The main widget for the ExampleExtendDialogPage. This class also contains application logic. This widget contains a single QCheckBox widget. When the user checks the check box , a Qt signal signal is emitted which is connected to the slot that handles the logic. The slot prints the label to the console and changes its case on check box. More...
class  ExampleExtendDialogPage
 The example page that will be inserted into the Dialog. This page contains a widget that also implements the logic. The widget is created at construction of this page and destroyed with the page. For this example, the widget has a single check box and the logic just changes the label case on the check box while printing it to the console in upper/lower
case when checked/unchecked respectively. More...
class  DerivedDialogLogic
 The logic for the widget. This class does not have knowledge about how the widget was implemented, but communicates with the widget through an interface. The interface allows the widget or logic to be independently re-factored without affecting the other. This class extends the already existing logic class makVrv::DtLoaderSettingsWidget which manages user input for Flip DDS commands. This extended logic gives the user the ability to enable/disable the Flip DDS checkbox in the original dialog. More...
class  DerivedDialogWidget
 The main widget for the dialog-page. This class does not contain any application logic, but instead delegates the logic to another object (a logic-object) through signals emitted via the interface of this class. The interface allows the widget or logic to be independently re-factored without affecting the other. This widget extends the existing makVrv::DtLoaderSettingsWidget by adding a new checkbox which (when checked/unchecked) enables/disables the Flip DDS checkbox already existing in the base class. More...
class  ExtraDialogInterface
 Interface for extending the widget. This class defines the implementation-agnostic interface for the DerivedDialogWidget. This interface is used by the DerivedDialogLogic to communicate with the widget without any understanding of how the widget was implemented. More...
class  ReplacementDialogPage
 The example dialog-page that will be inserted into the dialog. This page contains a widget and logic for that widget. The widget is created at construction of this page and destroyed with the page. The logic is created when this page is activated (shown) and destroyed when this page is deactivated (hidden). For this example, the widget is derived from DtLoaderSettingsWidget and is extended with an extra checkbox. The logic is derived from DtLoaderSettingsLogic and manages the events from the extra checkbox. More...
class  DtGimbalCompassOverlaySection
 DtGimbalCompassOverlaySection extends DtOsgSensorViewCompassOverlaySection so that it can override its update() method. We need to do this because DtOsgSensorViewCompassOverlaySection makes an assumption about the way the observer is set up that is not valid in this case; it assumes that the observer is attached to the platform and then rotated to face the target (hence the observer's getAttachedRotation() can be used to get the orientation of the gimbal relative to the platform). However in this example, a gimbal object is created; oriented to point to the target each frame; and the observer is attached to that gimbal object. Therefore in this case the rotation of the observer relative to what it is attached to (the gimbal object) is always 0. More...
class  DtGimbalCompassOverlaySectionCreator
 Creator class for an instance of a DtGimbalCompassOverlaySection. An instance of this creator is registered with the DtOsgSensorViewOverlayCreator, so that our extended DtGimbalCompassOverlaySection will be used instead of the base DtOsgSensorViewCompassOverlaySection. More...
class  DtGimbalDriver
class  DtGimbalSensorOverlay
 DtGimbalSensorOverlay is a wrapper around the two primary classes used to create a DtSensorViewOverlay - DtOsgSensorViewOverlay and DtSensorFieldOfViewData. It also provides an overlay section creator list that replaces the default DtOsgSensorViewCompassOverlaySectionCreator with a DtGimbalSensorCompassOverlaySectionCreator, which reimplements the create() method of the DtOsgSensorViewCompassOverlaySectionCreator to create an instance of a DtGimbalSensorCompassOverlaySection. This same mechanism (found in the constructor) could also be used to add or remove elements from the sensor overlay entirely. The DtGimbalSensorOverlay looks up the created DtGimbalSensorCompassOverlaySection and calls its update() method from its own. More...
class  MyVrlinkEntityStateRep
class  MyVrlinkEntityStateRepCreator
class  HumbleDialogLogic
 The logic for the HumbleDialogWidget. This class does not have knowledge about how the widget was implemented, but communicates with the widget through an interface. The interface allows the widget or logic to be independently re-factored without affecting the other. More...
class  HumbleDialogMenu
 The HumbleDialog menu to be added to the main menu bar. More...
class  HumbleDialogMenuItem
 The item for bringing up a HumbleDialog dialog. This DtMenuItem is added to the HumbleDialogMenu menu. More...
class  HumbleDialogPage
 The example page that will be inserted into the example dialog. This page contains a widget and logic for the widget. The widget is created at construction of this page and destroyed with the page. The logic is created when this page is activated (shown) and destroyed when this page is deactivated (hidden). For this example, the widget has a single editable text box and the logic just prints any text entered in the widget to the console. More...
class  HumbleDialogWidget
 The main widget for the HumbleDialogPage. This class does not contain any application logic, but instead delegates the logic to another object (a logic-object) through signals emitted via the interface of this class. The interface allows the widget or logic to be independently re-factored without affecting the other. This widget contains a single QLineEdit widget and a QLabel. When the user writes text into the QLineEdit and then presses the Return or Enter key, a boost signal_processText signal is emitted passing the text to the logic-object. More...
class  HumbleDialogWidgetInterface
 Interface for the HumbleDialogWidget. This class defines the implementation-agnostic interface for the HumbleDialogWidget. This interface is used by the HumbleDialogLogic to communicate with the widget without any understanding of how the widget was implemented. More...
class  DtExampleMilStd::DtExampleMilStdManager
 Custom MIL-STD manager that injects a tracing SIDC generator and a hostile-indicator SVG renderer via the documented factory overrides. More...
class  DtExampleMilStd::DtExampleMilStdRenderer
 Custom renderer that injects a red diamond onto hostile symbols. More...
class  DtExampleMilStd::DtMilStdSymbolDriver
 Driver that creates and manages a gallery of 2525D/APP-6D symbols. More...
class  DtExampleMilStd::DtMilStdSymbolToolbar
 Toolbar that controls the MIL-STD symbology demonstration. More...
class  makVrv::DtArtPartSymbolDecoration
class  makVrv::DtArtPartSymbolDecorationCreator
class  makVrv::exampleSymbolFacade::DtExampleSymbolDriver
class  makVrv::exampleSymbolFacade::DtRotateSymbolDialog
 A dialog for prompting the user for a rotation amount. More...
class  makVrv::exampleSymbolFacade::DtSymbolDriverToolbar
class  makVrv::exampleSymbolFacade::DtAddSymbolItem
class  makVrv::exampleSymbolFacade::DtRotateSymbolItem
 Menu item for rotating symbols. This MenuItem is added to the context menu for symbols and prompts the user for an angle to rotate the symbol to (using DtRotateSymbolDialog). The item then applies the rotation to the list of selected symbols obtained from the driver. More...
class  makVrv::exampleSymbolFacade::DtHideSymbolItem
 Menu item for hiding symbols. This MenuItem is added to the context menu for symbols and hides the currently selected symbol(s) on activation (or shows them if any of the selected symbols are already hidden), using the list of selected symbols obtained from the driver. More...
class  makVrv::exampleSymbolFacade::DtDeleteSymbolItem
 Menu item for deleting symbols. In this example, functionality is added so that symbols can be deleted. This MenuItem is added to the context menu for symbols and tells the driver to delete the selected symbol(s) on activation. More...
class  makVrv::exampleSymbolFacade::DtSymbolFacade
class  makVrv::exampleTacticalGraphics::DtExampleTacticalGraphicsDriver
class  DtExampleThreadedDriver

Namespaces

namespace  makVrv
 Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarations.
namespace  entityTypeFilterPlugin
 The item for bringing up a dialog to adjust example settings.

Files

file  DtExampleBallisticsDriver.h
 Contains the DtExampleBallisticsDriver class declaration.
file  exampleBallistics.h
 Contains DLL export macros for the exampleBallistics plugin.
file  DtBulletHoleUpdater.h
 Contains makVrv::DtBulletHoleUpdater class.
file  exampleCustomElementAttributePlugin.h
 Contains declarations for plugin initialization functions.
file  CustomMenu.h
 Contains the DtCustomMenu class declaration.
file  DtExampleDialogMenu.h
 Contains the makVrv::DtExampleDialogMenu class declaration.
file  DtExampleInterface.h
 Contains the makVrv::DtExampleInterface class declaration.
file  DtExampleLogic.h
 Contains the makVrv::DtExampleLogic class declaration.
file  DtExamplePage.h
 Contains the makVrv::DtExamplePage class declaration.
file  DtExampleSettingsManager.h
 Contains the DtExampleSettingsManager class declaration.
file  DtExampleSettingsRecord.h
 Contains the DtExampleSettingsRecord class declaration.
file  DtExampleWidget.h
 Contains the makVrv::DtExampleWidget class declaration.
file  exampleDialogPagePlugin.h
 Contains DLL export macros.
file  DtExampleDriver.h
 Contains the DtExampleDriver class declaration.
file  DtExampleSimEngine.h
 Contains the DtExampleSimEngine class declaration.
file  exampleDriver.h
 Contains the DtExampleDriver class declaration.
file  DtElementAttributesMonitor.h
 Contains the DtElementAttributesMonitor class declaration.
file  DtEntityTypeFilterAccessory.h
 Contains DtEntityTypeFilterAccessory class.
file  DtFilteredAggregateElementProcessor.h
 Contains DtFilteredAggregateElementProcessor class.
file  DtFilteredEntityElementProcessor.h
 Contains DtFilteredEntityElementProcessor class.
file  DtSharedEntityTypeFilterSignaler.h
 Contains makVrv::DtSharedEntityTypeFilterSignaler class.
file  exampleEntityTypeFilter.h
 Contains DLL export macros and protocol specific macros and includes.
file  exampleEntityTypeFilterPlugin.h
 Contains declarations for plugin initialization functions.
file  CheckBoxAdder.h
 Contains the CheckBoxAdder class declaration.
file  exampleExtendDialogByAdditionPlugin.h
 Contains the plugin export macro.
file  ExampleExtendDialogPage.h
 Contains the ExampleExtendDialogPage class declaration.
file  DerivedDialogLogic.h
 Contains the declaration for the DerivedDialogWidget class.
file  DerivedDialogWidget.h
 Contains the declaration for the DerivedDialogWidget class.
file  exampleExtendDialogByDerivationPlugin.h
 Declares the entry point and initialization for the plug-in.
file  ExtraDialogInterface.h
 Contains the declaration for the ExtraDialogInterface class.
file  ReplacementDialogPage.h
 Contains the declaration for the ReplacementDialogPage class.
file  DtGimbalCompassOverlaySection.h
 Contains the DtGimbalCompassOverlaySection class declaration.
file  DtGimbalDriver.h
 Contains the DtGimbalDriver class declaration.
file  DtGimbalSensorOverlay.h
 Contains the DtGimbalSensorOverlay class declaration.
file  MyVrlinkEntityStateRepInterceptor.h
file  exampleHumbleDialogPlugin.h
 Contains the plug-in export macro.
file  HumbleDialogLogic.h
 Contains the HumbleDialogLogic class declaration.
file  HumbleDialogMenu.h
 Contains the HumbleDialogMenu class declaration.
file  HumbleDialogPage.h
 Contains the HumbleDialogPage class declaration.
file  HumbleDialogWidget.h
 Contains the HumbleDialogWidget class declaration.
file  HumbleDialogWidgetInterface.h
 Contains the HumbleDialogWidgetInterface class declaration.
file  DtExampleMilStdManager.h
 DtMilStdManager subclass demonstrating the two factory overrides.
file  DtExampleMilStdRenderer.h
 DtMilStdSVGRenderer subclass that marks hostile symbols.
file  DtMilStdSymbolDriver.h
 Driver that places a gallery of 2525D/APP-6D symbols on the terrain.
file  DtMilStdSymbolToolbar.h
 Qt toolbar with buttons for the exampleMilStdSymbology demo.
file  exampleMilStdSymbology.h
 Export macro and initialization declarations for exampleMilStdSymbology.
file  multipleChannelUtilities.h
 Prototypes of utility functions for exampleMultipleChannels.
file  multipleChannelTextUtilities.h
 Prototypes of utility functions for exampleMultipleChannelText.
file  DtExampleProjectile.h
 Contains the DtExampleProjectile class declaration.
file  DtObserverShooter.h
 Contains the DtProjectile class definition.
file  DtProjectile.h
 Contains the DtProjectile class definition.
file  DtArtPartDecorationUpdater.h
 Contains makVrv::DtArtPartDecorationUpdater class.
file  DtArtPartSymbolDecoration.h
 Contains DtArtPartSymbolDecoration class declaration.
file  DtExampleSymbolDriver.h
 Contains the DtExampleSymbolDriver class declaration.
file  DtRotateSymbolDialog.h
 Contains the DtRotateSymbolDialog class declaration.
file  DtSymbolDriverToolbar.h
 Contains the DtSymbolDriverToolbar class declaration.
file  DtSymbolFacade.h
 Contains the DtSymbolFacade class declaration.
file  exampleSymbolFacade.h
 Export macro and initialization declarations for exampleSymbolFacade4.
file  DtExampleTacticalGraphicsDriver.h
 Contains the DtExampleTacticalGraphicsDriver class declaration.
file  exampleTacticalGraphics.h
 Export macro and initialization declarations for exampleSymbolFacade1.
file  DtExampleSimEngine.h
 Contains the DtExampleSimEngine class declaration.
file  DtExampleSimulationConnection.h
 Contains the DtExampleSimulationConnection class declaration.
file  DtExampleThreadedDriver.h
 Contains the DtExampleThreadedDriver class declaration.

Typedefs

typedef DtPageCreatorTemplate< DtExamplePage > makVrv::DtExamplePageCreator
 A creator class for makVrv::DtExamplePage.
typedef makVrv::DtPageCreatorTemplate< ExampleExtendDialogPage > ExampleExtendDialogPageCreator
 A creator class for makVrv::ExampleToExtendDialogPage.
typedef makVrv::DtPageCreatorTemplate< ReplacementDialogPage > ReplacementDialogPageCreator
 A creator class for ReplacementDialogPage.
typedef makVrv::DtPageCreatorTemplate< HumbleDialogPage > HumbleDialogPageCreator
 A creator class for makVrv::HumbleDialogPage.

Functions

makVrv::DtChannelConfiguration makeChannelConfiguration (makVrv::DtDe &de, double left=0, double right=100, double bottom=0, double top=100)
 Helper function creates a channel-configuration with a default name. Channel parameter values are percentages of the windows dimensions. This example creates a separate observer for each channel because the observer identifies the model-set to be rendered. Without creating separate observers, each channel would render exactly the same scene.
makVrv::DtWindowConfiguration makeWindowConfiguration (makVrv::DtDe &de, int x, int y, unsigned int numChannels=1)
 Helper function creates a window-configuration with a default name. The windows position must be specified, the number of channels is optional. These windows can be configured with one, two, three or four channels.
makVrv::DtDisplayConfiguration makeDisplayConfiguration (makVrv::DtDe &de, const std::string &name="My Display Configuration")
 Helper function creates a display-configuration. This configuration creates multiple windows each with multiple channels.
void inspectDisplayWindows (makVrv::DtDe &de)
 Helper function to inspect the structure of the display, windows, channels and observers. This function just prints their names to the console.
std::string registerModelDefinition (makVrv::DtDe &de, const std::string &dataFile)
 Helper function populates a makVrv::DtModelDefinitionManager with a model- description for later use. Generally, the manager loads all the model- descriptions from the disk, however, this example demonstrates how it is populated through code. This function returns the unique name generated for the model definition.
void addModelToTheScene (makVrv::DtDe &de, const std::string &modelName)
 Helper function to load a geometry file and add it to the scene. This function creates a makVrv::DtSceneObject which is used to position and move models around the scene. A makVrv::DtOsgSimpleModel is created to manage the model geometry. The makVrv::DtOsgSimpleModel is added to the makVrv::DtSceneObject to place the model geometry in to the scene.
void loadTheScene (makVrv::DtDe &de)
 Helper function to load all the models into the scene. For each model filename, this function creates a model-definition, then creates a scene-object to load that definition into the scene.
void createCustomOverlay (makVrv::DtDe &de, makVrv::DtChannel *channel, makVrv::DtOverlayManager::DefaultOverlays layerId)
 Create a custom overlay on the specified channel.
void createCustomMultiChannelOverlay (makVrv::DtDe &de, makVrv::DtChannelManager::ChannelMap &channels, makVrv::DtOverlayManager::DefaultOverlays layerId)
 Create a custom overlay that will be displayed on all channels.
void putTextOnOverlay (makVrv::DtDe &de, makVrv::DtOverlayRenderer &renderer, const std::string &text, const DtVector &position, makVrv::DtFontInterface *font)
 Place a 2D graphic (in this case text) onto an overlay.
void create2dOverlays (makVrv::DtDe &de)
 Helper function to call createCustomOverlay() and createCustomMultiChannelOverlay().
void populate2dOverlays (makVrv::DtDe &de)
 Populate the 2D Overlays with different text for different overlays. This function shows how to retrieve a default channel-specific overlay (using the channel ptr) and custom overlays (using the custom overlays' layer ids). It calls putTextOnOverlay() for each of the overlay types outlined in this example.
makVrv::DtWindowConfiguration makeWindowConfiguration (makVrv::DtDe &de, int x=100, int y=100)
 Helper function creates a window-configuration with a default name. The windows position must be specified, the number of channels is optional. These windows can be configured with one, two, three or four channels.

Detailed Description

This group contains example code demonstrating VR-Vantage features and APIs.

Typedef Documentation

◆ DtExamplePageCreator

◆ ExampleExtendDialogPageCreator

A creator class for makVrv::ExampleToExtendDialogPage.

Examples

◆ ReplacementDialogPageCreator

◆ HumbleDialogPageCreator

A creator class for makVrv::HumbleDialogPage.

Examples

Function Documentation

◆ makeChannelConfiguration()

makVrv::DtChannelConfiguration makeChannelConfiguration ( makVrv::DtDe & de,
double left = 0,
double right = 100,
double bottom = 0,
double top = 100 )
extern

Helper function creates a channel-configuration with a default name. Channel parameter values are percentages of the windows dimensions. This example creates a separate observer for each channel because the observer identifies the model-set to be rendered. Without creating separate observers, each channel would render exactly the same scene.

The remainder of these functions here are unrelated to overlays; they are used to create the windows, channels, and place an object into the scene. They do provide useful examples of how these can be done through the API.

◆ makeWindowConfiguration() [1/2]

makVrv::DtWindowConfiguration makeWindowConfiguration ( makVrv::DtDe & de,
int x,
int y,
unsigned int numChannels = 1 )
extern

Helper function creates a window-configuration with a default name. The windows position must be specified, the number of channels is optional. These windows can be configured with one, two, three or four channels.

◆ makeDisplayConfiguration()

makVrv::DtDisplayConfiguration makeDisplayConfiguration ( makVrv::DtDe & de,
const std::string & name = "My Display Configuration" )
extern

Helper function creates a display-configuration. This configuration creates multiple windows each with multiple channels.

Helper function creates a display-configuration. This configuration creates one window each with two channels.

◆ inspectDisplayWindows()

void inspectDisplayWindows ( makVrv::DtDe & de)
extern

Helper function to inspect the structure of the display, windows, channels and observers. This function just prints their names to the console.

◆ registerModelDefinition()

std::string registerModelDefinition ( makVrv::DtDe & de,
const std::string & dataFile )
extern

Helper function populates a makVrv::DtModelDefinitionManager with a model- description for later use. Generally, the manager loads all the model- descriptions from the disk, however, this example demonstrates how it is populated through code. This function returns the unique name generated for the model definition.

Helper function populates a makVrv::DtModelDefinitionManager with a model- description for later use. Generally, the manager loads all the model-descriptions from the disk, however, this example demonstrates how it is populated through code. This function returns the unique name generated for the model definition.

◆ addModelToTheScene()

void addModelToTheScene ( makVrv::DtDe & de,
const std::string & modelName )
extern

Helper function to load a geometry file and add it to the scene. This function creates a makVrv::DtSceneObject which is used to position and move models around the scene. A makVrv::DtOsgSimpleModel is created to manage the model geometry. The makVrv::DtOsgSimpleModel is added to the makVrv::DtSceneObject to place the model geometry in to the scene.

◆ loadTheScene()

void loadTheScene ( makVrv::DtDe & de)

Helper function to load all the models into the scene. For each model filename, this function creates a model-definition, then creates a scene-object to load that definition into the scene.

◆ createCustomOverlay()

void createCustomOverlay ( makVrv::DtDe & de,
makVrv::DtChannel * channel,
makVrv::DtOverlayManager::DefaultOverlays layerId )
extern

Create a custom overlay on the specified channel.

◆ createCustomMultiChannelOverlay()

void createCustomMultiChannelOverlay ( makVrv::DtDe & de,
makVrv::DtChannelManager::ChannelMap & channels,
makVrv::DtOverlayManager::DefaultOverlays layerId )
extern

Create a custom overlay that will be displayed on all channels.

◆ putTextOnOverlay()

void putTextOnOverlay ( makVrv::DtDe & de,
makVrv::DtOverlayRenderer & renderer,
const std::string & text,
const DtVector & position,
makVrv::DtFontInterface * font )
extern

Place a 2D graphic (in this case text) onto an overlay.

◆ create2dOverlays()

void create2dOverlays ( makVrv::DtDe & de)
extern

◆ populate2dOverlays()

void populate2dOverlays ( makVrv::DtDe & de)
extern

Populate the 2D Overlays with different text for different overlays. This function shows how to retrieve a default channel-specific overlay (using the channel ptr) and custom overlays (using the custom overlays' layer ids). It calls putTextOnOverlay() for each of the overlay types outlined in this example.

◆ makeWindowConfiguration() [2/2]

makVrv::DtWindowConfiguration makeWindowConfiguration ( makVrv::DtDe & de,
int x = 100,
int y = 100 )
extern

Helper function creates a window-configuration with a default name. The windows position must be specified, the number of channels is optional. These windows can be configured with one, two, three or four channels.