GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-bea8435a9e
nviz.h File Reference
#include <grass/config.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <GL/glx.h>
#include <grass/ogsf.h>
#include <grass/defs/nviz.h>
Include dependency graph for nviz.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  light_data
 
struct  fringe_data
 
struct  arrow_data
 
struct  scalebar_data
 
struct  nv_data
 
struct  render_window
 

Macros

#define GL_GLEXT_PROTOTYPES
 
#define MAP_OBJ_UNDEFINED   0
 
#define MAP_OBJ_SURF   1
 
#define MAP_OBJ_VOL   2
 
#define MAP_OBJ_VECT   3
 
#define MAP_OBJ_SITE   4
 
#define DRAW_COARSE   0
 
#define DRAW_FINE   1
 
#define DRAW_BOTH   2
 
#define DRAW_QUICK_SURFACE   0x01
 
#define DRAW_QUICK_VLINES   0x02
 
#define DRAW_QUICK_VPOINTS   0x04
 
#define DRAW_QUICK_VOLUME   0x08
 
#define RANGE   (5 * GS_UNIT_SIZE)
 
#define RANGE_OFFSET   (2 * GS_UNIT_SIZE)
 
#define ZRANGE   (3 * GS_UNIT_SIZE)
 
#define ZRANGE_OFFSET   (1 * GS_UNIT_SIZE)
 
#define DEFAULT_SURF_COLOR   0x33BBFF
 
#define FORMAT_PPM   1
 
#define FORMAT_TIF   2
 

Macro Definition Documentation

◆ DEFAULT_SURF_COLOR

#define DEFAULT_SURF_COLOR   0x33BBFF

Definition at line 63 of file nviz.h.

◆ DRAW_BOTH

#define DRAW_BOTH   2

Definition at line 50 of file nviz.h.

◆ DRAW_COARSE

#define DRAW_COARSE   0

Definition at line 48 of file nviz.h.

◆ DRAW_FINE

#define DRAW_FINE   1

Definition at line 49 of file nviz.h.

◆ DRAW_QUICK_SURFACE

#define DRAW_QUICK_SURFACE   0x01

Definition at line 53 of file nviz.h.

◆ DRAW_QUICK_VLINES

#define DRAW_QUICK_VLINES   0x02

Definition at line 54 of file nviz.h.

◆ DRAW_QUICK_VOLUME

#define DRAW_QUICK_VOLUME   0x08

Definition at line 56 of file nviz.h.

◆ DRAW_QUICK_VPOINTS

#define DRAW_QUICK_VPOINTS   0x04

Definition at line 55 of file nviz.h.

◆ FORMAT_PPM

#define FORMAT_PPM   1

Definition at line 65 of file nviz.h.

◆ FORMAT_TIF

#define FORMAT_TIF   2

Definition at line 66 of file nviz.h.

◆ GL_GLEXT_PROTOTYPES

#define GL_GLEXT_PROTOTYPES

Definition at line 20 of file nviz.h.

◆ MAP_OBJ_SITE

#define MAP_OBJ_SITE   4

Definition at line 46 of file nviz.h.

◆ MAP_OBJ_SURF

#define MAP_OBJ_SURF   1

Definition at line 43 of file nviz.h.

◆ MAP_OBJ_UNDEFINED

#define MAP_OBJ_UNDEFINED   0

Definition at line 42 of file nviz.h.

◆ MAP_OBJ_VECT

#define MAP_OBJ_VECT   3

Definition at line 45 of file nviz.h.

◆ MAP_OBJ_VOL

#define MAP_OBJ_VOL   2

Definition at line 44 of file nviz.h.

◆ RANGE

#define RANGE   (5 * GS_UNIT_SIZE)

Definition at line 58 of file nviz.h.

◆ RANGE_OFFSET

#define RANGE_OFFSET   (2 * GS_UNIT_SIZE)

Definition at line 59 of file nviz.h.

◆ ZRANGE

#define ZRANGE   (3 * GS_UNIT_SIZE)

Definition at line 60 of file nviz.h.

◆ ZRANGE_OFFSET

#define ZRANGE_OFFSET   (1 * GS_UNIT_SIZE)

Definition at line 61 of file nviz.h.