wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
Loading...
Searching...
No Matches
bgi::DdsHeightMap Struct Reference

#include <bgi_dds.h>

Inheritance diagram for bgi::DdsHeightMap:
Collaboration diagram for bgi::DdsHeightMap:

Public Member Functions

 DdsHeightMap ()
Public Member Functions inherited from bgi::DdsObject
virtual ~DdsObject ()=default

Data Fields

float cellHeight {1.f}
 World-unit spacing between rows (Y direction).
float cellWidth {1.f}
 World-unit spacing between columns (X direction).
int cols {0}
std::vector< float > heights
 row-major flat array of rows*cols Z values.
int rows {0}
Data Fields inherited from bgi::DdsSolid3D
CoordSpace coordSpace {CoordSpace::World3D}
SolidDrawMode drawMode {SolidDrawMode::Wireframe}
int edgeColor {15}
 Color for wireframe edges (BGI palette index).
int faceColor {7}
 Color for filled faces (BGI palette index).
glm::vec3 origin {0.f, 0.f, 0.f}
int slices {16}
 Tessellation: segments around circular axis.
int stacks {8}
 Tessellation: segments along height/depth axis.
std::string ucsName
Data Fields inherited from bgi::DdsObject
bool deleted {false}
 Soft-delete; object stays in index.
DdsExternalAttributes externalAttributes
 Generic external metadata for bridge/export workflows.
std::string id
 Auto-generated sequential key ("1", "2", …).
std::string label
 Optional user label; empty = unlabelled.
std::string layerName {"DefaultLayer"}
DdsStyle style
 Baked draw state at creation time.
DdsObjectType type {DdsObjectType::Point}
bool visible {true}

Constructor & Destructor Documentation

◆ DdsHeightMap()

bgi::DdsHeightMap::DdsHeightMap ( )
inline

Field Documentation

◆ cellHeight

float bgi::DdsHeightMap::cellHeight {1.f}

World-unit spacing between rows (Y direction).

◆ cellWidth

float bgi::DdsHeightMap::cellWidth {1.f}

World-unit spacing between columns (X direction).

◆ cols

int bgi::DdsHeightMap::cols {0}

◆ heights

std::vector<float> bgi::DdsHeightMap::heights

row-major flat array of rows*cols Z values.

◆ rows

int bgi::DdsHeightMap::rows {0}

The documentation for this struct was generated from the following file: