VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
6.10 - Grid Lines

VR-Forces draws grid lines on a per-channel basis.

Channel grid lines use the DtChannelKeywordObject mechanism to create distributed channel grid line objects (one for each channel on which lines are drawn).

DtChannelKeywordGridLines inherits from DtChannelKeywordObject, and depends on the GridLines channel keyword. When all the necessary conditions are met to draw grid lines (terrain loaded, 2D mode, grid lines enabled) DtChannelKeywordGridLine creates a DtChannelGridLines distributed object (which in turn creates a DtOsgChannelGridLinesInstance.

The standard DialogPage pattern is used to provide a page for setting grid lines settings (DtGridLinesPage, DtGridLinesLogic, DtGridLinesInterface).

The standard archival methodology is use to store and back up settings (a DtGridLinesSettingsRecord is created, and settings are read from and written to default_GridLinesSettings.grdx).

[<< Effects] [Home]


Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)