VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Files | Typedefs | Functions
examples
Collaboration diagram for examples:

Classes

class  DtExampleCommLinesDriver
 
class  DtCustomMenu
 
class  CustomMenuItem
 
class  makVrv::DtExampleDialogMenu
 
class  makVrv::DtExampleSettingsMenuItem
 
class  makVrv::DtExampleInterface
 
class  makVrv::DtExampleLogic
 
class  makVrv::DtExamplePage
 
class  makVrv::DtExampleSettingsManager
 
class  makVrv::DtExampleSettingsRecord
 
class  makVrv::DtExampleWidget
 
class  DtExampleDriver
 
class  DtExampleEffectsDriver
 
class  makVrv::DtElementAttributesMonitor
 
class  entityTypeFilterPlugin::DtEntityTypeFilter
 
class  entityTypeFilterPlugin::DtEntityTypeFilterAccessory
 
class  entityTypeFilterPlugin::DtEntityTypeFilterManager
 
class  entityTypeFilterPlugin::DtFilteredAggregateElementProcessor
 
class  entityTypeFilterPlugin::DtFilteredEntityElementProcessor
 
class  entityTypeFilterPlugin::DtGroundEntitiesFilterItem
 
class  CheckBoxAdder
 
class  ExampleExtendDialogPage
 
class  DerivedDialogLogic
 
class  DerivedDialogWidget
 
class  ExtraDialogInterface
 
class  ReplacementDialogPage
 
class  DtGimbalCompassOverlaySection
 
class  DtGimbalCompassOverlaySectionCreator
 
class  DtGimbalDriver
 
class  DtGimbalSensorOverlay
 
class  MyVrlinkEntityStateRep
 
class  MyVrlinkEntityStateRepCreator
 
class  HumbleDialogLogic
 
class  HumbleDialogMenu
 
class  HumbleDialogMenuItem
 
class  HumbleDialogPage
 
class  HumbleDialogWidget
 
class  HumbleDialogWidgetInterface
 
class  DtExampleMilStd::DtExampleMilStdManager
 
class  DtExampleMilStd::DtExampleMilStdRenderer
 
class  DtExampleMilStd::DtMilStdSymbolDriver
 
class  DtExampleMilStd::DtMilStdSymbolToolbar
 
class  makVrv::DtArtPartSymbolDecoration
 
class  makVrv::DtArtPartSymbolDecorationCreator
 
class  makVrv::exampleSymbolFacade::DtExampleSymbolDriver
 
class  makVrv::exampleSymbolFacade::DtRotateSymbolDialog
 
class  makVrv::exampleSymbolFacade::DtSymbolDriverToolbar
 
class  makVrv::exampleSymbolFacade::DtAddSymbolItem
 
class  makVrv::exampleSymbolFacade::DtRotateSymbolItem
 
class  makVrv::exampleSymbolFacade::DtHideSymbolItem
 
class  makVrv::exampleSymbolFacade::DtDeleteSymbolItem
 
class  makVrv::exampleSymbolFacade::DtSymbolFacade
 
class  makVrv::exampleTacticalGraphics::DtExampleTacticalGraphicsDriver
 
class  DtExampleThreadedDriver
 
class  makVrv::DtLightEditorInterface
 
class  makVrv::DtLightEditorLogic
 
class  makVrv::DtLightEditorMenu
 
class  makVrv::DtLightEditorMenuItem
 
class  makVrv::DtLightEditorPage
 
class  makVrv::DtLightEditorWidget
 
class  MyObject
 
class  DtExampleTrackHistoryDriver
 

Namespaces

 makVrv
 
 entityTypeFilterPlugin
 

Files

file  DtExampleBallisticsDriver.h
 
file  exampleBallistics.h
 
file  DtBulletHoleUpdater.h
 
file  exampleCustomElementAttributePlugin.h
 
file  CustomMenu.h
 
file  DtExampleDialogMenu.h
 
file  DtExampleInterface.h
 
file  DtExampleLogic.h
 
file  DtExamplePage.h
 
file  DtExampleSettingsManager.h
 
file  DtExampleSettingsRecord.h
 
file  DtExampleWidget.h
 
file  exampleDialogPagePlugin.h
 
file  exampleDialogPagePlugin.h
 
file  DtExampleDriver.h
 
file  exampleDriver.h
 
file  DtElementAttributesMonitor.h
 
file  DtEntityTypeFilterAccessory.h
 
file  DtFilteredAggregateElementProcessor.h
 
file  DtFilteredEntityElementProcessor.h
 
file  DtSharedEntityTypeFilterSignaler.h
 
file  exampleEntityTypeFilter.h
 
file  exampleEntityTypeFilterPlugin.h
 
file  CheckBoxAdder.h
 
file  exampleExtendDialogByAdditionPlugin.h
 
file  ExampleExtendDialogPage.h
 
file  DerivedDialogLogic.h
 
file  DerivedDialogWidget.h
 
file  exampleExtendDialogByDerivationPlugin.h
 
file  ExtraDialogInterface.h
 
file  ReplacementDialogPage.h
 
file  DtGimbalCompassOverlaySection.h
 
file  DtGimbalDriver.h
 
file  DtGimbalSensorOverlay.h
 
file  exampleHumbleDialogPlugin.h
 
file  HumbleDialogLogic.h
 
file  HumbleDialogMenu.h
 
file  HumbleDialogPage.h
 
file  HumbleDialogWidget.h
 
file  HumbleDialogWidgetInterface.h
 
file  DtJoystickObserverControl.h
 
file  exampleDialogPagePlugin.h
 
file  exampleDialogPagePlugin.h
 
file  DtExampleMilStdManager.h
 
file  DtExampleMilStdRenderer.h
 
file  DtMilStdSymbolDriver.h
 
file  DtMilStdSymbolToolbar.h
 
file  exampleMilStdSymbology.h
 
file  multipleChannelUtilities.h
 
file  multipleChannelTextUtilities.h
 
file  DtExampleProjectile.h
 
file  DtObserverShooter.h
 
file  DtProjectile.h
 
file  exampleSymbolFacade1.h
 
file  DtArtPartDecorationUpdater.h
 
file  DtArtPartSymbolDecoration.h
 
file  DtExampleSymbolDriver.h
 
file  DtRotateSymbolDialog.h
 
file  DtSymbolDriverToolbar.h
 
file  DtSymbolFacade.h
 
file  exampleSymbolFacade.h
 
file  DtExampleTacticalGraphicsDriver.h
 
file  exampleTacticalGraphics.h
 
file  DtExampleSimulationConnection.h
 
file  DtExampleThreadedDriver.h
 
file  DtCloudDriver.h
 
file  DtCloudDriverCommon.h
 
file  DtCloudParser.h
 
file  exampleCloudDriverPlugin.h
 
file  exampleCloudDriverPluginInit.h
 
file  DtLightEditorInterface.h
 
file  DtLightEditorLogic.h
 
file  DtLightEditorMenu.h
 
file  DtLightEditorPage.h
 
file  DtLightEditorWidget.h
 
file  lightEditorPlugin.h
 
file  lightEditorPlugin.h
 
file  MyObject.h
 
file  DtExampleSymbolDriver1.h
 
file  DtSymbolDriverToolbar1.h
 
file  DtSymbolFacade1.h
 
file  exampleSymbolFacade1.h
 
file  DtExampleSymbolDriver2.h
 
file  DtSymbolDriverToolbar2.h
 
file  DtSymbolFacade2.h
 
file  exampleSymbolFacade2.h
 
file  DtExampleSymbolDriver3.h
 
file  DtRotateSymbolDialog3.h
 
file  DtSymbolDriverToolbar3.h
 
file  DtSymbolFacade3.h
 
file  exampleSymbolFacade3.h
 
file  DtExampleSymbolDriver4.h
 
file  DtRotateSymbolDialog4.h
 
file  DtSymbolDriverToolbar4.h
 
file  DtSymbolFacade4.h
 
file  exampleSymbolFacade4.h
 
file  DtExampleSymbolDriver5.h
 
file  DtRotateSymbolDialog5.h
 
file  DtSymbolDriverToolbar5.h
 
file  DtSymbolFacade5.h
 
file  exampleSymbolFacade4.h
 
file  DtExampleTrackHistoryDriver.h
 

Typedefs

typedef DtPageCreatorTemplate
< DtExamplePage > 
makVrv::DtExamplePageCreator
 
typedef
makVrv::DtPageCreatorTemplate
< ExampleExtendDialogPage > 
ExampleExtendDialogPageCreator
 
typedef
makVrv::DtPageCreatorTemplate
< ReplacementDialogPage > 
ReplacementDialogPageCreator
 
typedef
makVrv::DtPageCreatorTemplate
< HumbleDialogPage > 
HumbleDialogPageCreator
 
typedef DtPageCreatorTemplate
< DtLightEditorPage > 
makVrv::DtLightEditorPageCreator
 

Functions

makVrv::DtChannelConfiguration makeChannelConfiguration (makVrv::DtDe &de, double left=0, double right=100, double bottom=0, double top=100)
 
makVrv::DtWindowConfiguration makeWindowConfiguration (makVrv::DtDe &de, int x, int y, unsigned int numChannels=1)
 
makVrv::DtDisplayConfiguration makeDisplayConfiguration (makVrv::DtDe &de, const std::string &name="My Display Configuration")
 
void inspectDisplayWindows (makVrv::DtDe &de)
 
std::string registerModelDefinition (makVrv::DtDe &de, const std::string &dataFile)
 
void addModelToTheScene (makVrv::DtDe &de, const std::string &modelName)
 
void loadTheScene (makVrv::DtDe &de)
 
void createCustomOverlay (makVrv::DtDe &de, makVrv::DtChannel *channel, makVrv::DtOverlayManager::DefaultOverlays layerId)
 
void createCustomMultiChannelOverlay (makVrv::DtDe &de, makVrv::DtChannelManager::ChannelMap &channels, makVrv::DtOverlayManager::DefaultOverlays layerId)
 
void putTextOnOverlay (makVrv::DtDe &de, makVrv::DtOverlayRenderer &renderer, const std::string &text, const DtVector &position, makVrv::DtFontInterface *font)
 
void create2dOverlays (makVrv::DtDe &de)
 
void populate2dOverlays (makVrv::DtDe &de)
 
makVrv::DtWindowConfiguration makeWindowConfiguration (makVrv::DtDe &de, int x=100, int y=100)
 

Detailed Description

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

Typedef Documentation

typedef DtPageCreatorTemplate<DtExamplePage> makVrv::DtExamplePageCreator

A creator class for makVrv::DtExamplePage.

A creator class for makVrv::ExampleToExtendDialogPage.

Examples

A creator class for makVrv::HumbleDialogPage.

Examples
typedef DtPageCreatorTemplate<DtLightEditorPage> makVrv::DtLightEditorPageCreator

A creator class for makVrv::DtLightEditorPage.

Function Documentation

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.

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.

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.

Helper function creates a display-configuration. This configuration creates one window each with two 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.

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)
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.


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)