GM_VerticalDisplayOptions_t
dmcclean
Global Mapper UserTrusted User
Where is the definition of GM_VerticalDisplayOptions_t?
It is used by GM_Get/SetVerticalDisplayOptions, but I can't find the definition in any of the include files I have.
Apologies if I'm missing something obvious, C isn't my forte.
It is used by GM_Get/SetVerticalDisplayOptions, but I can't find the definition in any of the include files I have.
Apologies if I'm missing something obvious, C isn't my forte.
Comments
-
It is in GlobalMapperTypes.h, which comes with the SDK. Here is the declaration:
typedef struct
{
uint32 mSize; // Size of structure
const char* mShaderName; // Shader name
float mAmbientLight; // Ambient light level (Range: 0.0 - 1.0)
float mVertExag; // Vertical exaggeration (Range: 0.1 - 10.0)
float mLightAltitude; // Light altitude (Range: 0.0 - 90.0)
float mLightAzimuth; // Light azimuth (Range: 0.0 - 360.0)
boolean mHillShading; // Is hill shading enabled?
boolean mWaterEnabled; // Is Water display enabled?
uint8 mWaterAlpha; // Alpha translucency of water (Range: 0 - 255)
uint8 mWaterColorRed; // Water color - red component
uint8 mWaterColorGrn; // Water color - green component
uint8 mWaterColorBlue;// Water color - blue component
float mWaterLevel; // Water level (meters)
uint8 mShadeDarkness; // Maximum hill shader shadow darkness (0 - 255, 0 is black, 255 is white)
uint8 mShadeHighlight;// Highlight level (whiteness) to apply for direct sunlight (0 is no additional whiteness, and 255 is completely white)
} GM_VerticalDisplayOptions_t;
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Thanks!
Sorry for wasting your time, I hate notepad search for not looping back around when it hits the end of the file. D'oh.
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website