GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
Loading...
Searching...
No Matches
g_surf Struct Reference

#include <ogsf.h>

Collaboration diagram for g_surf:

Data Fields

int gsurf_id
 
int cols
 
int rows
 
gsurf_att att [7]
 mask, topo, color, etc.
 
unsigned int draw_mode
 DM_GOURAUD | DM_FRINGE | DM_POLY, DM_WIRE, DM_WIRE_POLY.
 
long wire_color
 0xBBGGRR or WC_COLOR_ATT
 
double ox
 real world origin (i.e., SW corner)
 
double oy
 
double xres
 
double yres
 
float z_exag
 
float x_trans
 
float y_trans
 
float z_trans
 
float xmin
 
float xmax
 
float ymin
 
float ymax
 
float zmin
 
float zmax
 
float zminmasked
 
float xrange
 
float yrange
 
float zrange
 
float zmin_nz
 
float zmax_nz
 
float zrange_nz
 
int x_mod
 cells per viewcell, per wire viewcell
 
int y_mod
 
int x_modw
 
int y_modw
 
int nz_topo
 no zero flags
 
int nz_color
 
int mask_needupdate
 
int norm_needupdate
 
unsigned longnorms
 
struct BMcurmask
 
struct g_surfnext
 
voidclientdata
 

Detailed Description

Definition at line 266 of file ogsf.h.

Field Documentation

◆ att

gsurf_att g_surf::att[7]

mask, topo, color, etc.

Definition at line 271 of file ogsf.h.

◆ clientdata

void* g_surf::clientdata

Definition at line 296 of file ogsf.h.

◆ cols

int g_surf::cols

Definition at line 268 of file ogsf.h.

Referenced by print_surf_fields().

◆ curmask

struct BM* g_surf::curmask

Definition at line 294 of file ogsf.h.

◆ draw_mode

unsigned int g_surf::draw_mode

DM_GOURAUD | DM_FRINGE | DM_POLY, DM_WIRE, DM_WIRE_POLY.

Definition at line 274 of file ogsf.h.

Referenced by print_surf_fields().

◆ gsurf_id

int g_surf::gsurf_id

Definition at line 267 of file ogsf.h.

Referenced by gs_get_new_surface(), GS_new_surface(), and print_surf_fields().

◆ mask_needupdate

int g_surf::mask_needupdate

Definition at line 292 of file ogsf.h.

◆ next

struct g_surf* g_surf::next

Definition at line 295 of file ogsf.h.

Referenced by gs_get_new_surface().

◆ norm_needupdate

int g_surf::norm_needupdate

Definition at line 292 of file ogsf.h.

◆ norms

unsigned long* g_surf::norms

Definition at line 293 of file ogsf.h.

◆ nz_color

int g_surf::nz_color

Definition at line 291 of file ogsf.h.

◆ nz_topo

int g_surf::nz_topo

no zero flags

Definition at line 291 of file ogsf.h.

◆ ox

double g_surf::ox

real world origin (i.e., SW corner)

Definition at line 280 of file ogsf.h.

Referenced by print_surf_fields().

◆ oy

double g_surf::oy

Definition at line 280 of file ogsf.h.

Referenced by print_surf_fields().

◆ rows

int g_surf::rows

Definition at line 268 of file ogsf.h.

Referenced by print_surf_fields().

◆ wire_color

long g_surf::wire_color

0xBBGGRR or WC_COLOR_ATT

Definition at line 277 of file ogsf.h.

Referenced by print_surf_fields().

◆ x_mod

int g_surf::x_mod

cells per viewcell, per wire viewcell

Definition at line 288 of file ogsf.h.

Referenced by print_surf_fields().

◆ x_modw

int g_surf::x_modw

Definition at line 288 of file ogsf.h.

Referenced by print_surf_fields().

◆ x_trans

float g_surf::x_trans

Definition at line 283 of file ogsf.h.

Referenced by print_surf_fields().

◆ xmax

float g_surf::xmax

Definition at line 284 of file ogsf.h.

Referenced by print_surf_fields().

◆ xmin

float g_surf::xmin

Definition at line 284 of file ogsf.h.

Referenced by print_surf_fields().

◆ xrange

float g_surf::xrange

Definition at line 285 of file ogsf.h.

◆ xres

double g_surf::xres

Definition at line 281 of file ogsf.h.

Referenced by print_surf_fields().

◆ y_mod

int g_surf::y_mod

Definition at line 288 of file ogsf.h.

Referenced by print_surf_fields().

◆ y_modw

int g_surf::y_modw

Definition at line 288 of file ogsf.h.

Referenced by print_surf_fields().

◆ y_trans

float g_surf::y_trans

Definition at line 283 of file ogsf.h.

Referenced by print_surf_fields().

◆ ymax

float g_surf::ymax

Definition at line 284 of file ogsf.h.

Referenced by print_surf_fields().

◆ ymin

float g_surf::ymin

Definition at line 284 of file ogsf.h.

Referenced by print_surf_fields().

◆ yrange

float g_surf::yrange

Definition at line 285 of file ogsf.h.

◆ yres

double g_surf::yres

Definition at line 281 of file ogsf.h.

Referenced by print_surf_fields().

◆ z_exag

float g_surf::z_exag

Definition at line 282 of file ogsf.h.

Referenced by print_surf_fields().

◆ z_trans

float g_surf::z_trans

Definition at line 283 of file ogsf.h.

Referenced by print_surf_fields().

◆ zmax

float g_surf::zmax

Definition at line 284 of file ogsf.h.

Referenced by print_surf_fields().

◆ zmax_nz

float g_surf::zmax_nz

Definition at line 286 of file ogsf.h.

◆ zmin

float g_surf::zmin

Definition at line 284 of file ogsf.h.

Referenced by print_surf_fields().

◆ zmin_nz

float g_surf::zmin_nz

Definition at line 286 of file ogsf.h.

◆ zminmasked

float g_surf::zminmasked

Definition at line 284 of file ogsf.h.

◆ zrange

float g_surf::zrange

Definition at line 285 of file ogsf.h.

◆ zrange_nz

float g_surf::zrange_nz

Definition at line 286 of file ogsf.h.


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