![]() |
VR-Vantage 3.2 API Documentation
|
VR-Vantage 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).