GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-6da4f45b8e
gsd_wire.c File Reference

OGSF library -. More...

#include <grass/gis.h>
#include <grass/ogsf.h>
#include "gsget.h"
#include "rowcol.h"
Include dependency graph for gsd_wire.c:

Go to the source code of this file.


#define DO_ARROWS


int gsd_wire_surf (geosurf *surf)
 Draw surface wire. More...
int gsd_wire_surf_map (geosurf *surf)
 ADD. More...
int gsd_wire_surf_const (geosurf *surf, float k)
 ADD. More...
int gsd_wire_surf_func (geosurf *gs UNUSED, int(*user_func)(void) UNUSED)
 ADD. More...
int gsd_wire_arrows (geosurf *surf)
 ADD. More...
int gsd_coarse_surf_map (geosurf *surf)
 Draw coarse surface. More...

Detailed Description

OGSF library -.

GRASS OpenGL gsurf OGSF Library

(C) 1999-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Bill Brown USACERL (January 1993)
Doxygenized by Martin Landa <landa.martin> (May 2008)

Definition in file gsd_wire.c.

Macro Definition Documentation


#define DO_ARROWS

Definition at line 25 of file gsd_wire.c.

Function Documentation

◆ gsd_coarse_surf_map()

int gsd_coarse_surf_map ( geosurf surf)

Draw coarse surface.

New (TEST) wire routine that draws low res surface Based on new Trinagle Fan routine Resolution is a function of current surface resolution times wire resolution

normals have to be recalculated before proper low res surface can be drawn

In window optimization has been removed

surfsurface (geosurf)

Definition at line 572 of file gsd_wire.c.

Referenced by gsd_wire_surf().

◆ gsd_wire_arrows()

◆ gsd_wire_surf()

◆ gsd_wire_surf_const()

◆ gsd_wire_surf_func()

int gsd_wire_surf_func ( geosurf *gs  UNUSED,
int(*)(void) UNUSED  user_func 


Not yet implemented.

gssurface (geosurf) [unused]
user_funcuser defined function [unused]

Definition at line 442 of file gsd_wire.c.

Referenced by gsd_wire_surf().

◆ gsd_wire_surf_map()