GRASS Programmer's Manual  6.4.2(2012)
exag.c File Reference

Nviz library -- Exaggeration functions. More...

#include <grass/nviz.h>
Include dependency graph for exag.c:

Go to the source code of this file.

Functions

int Nviz_get_exag_height (double *val, double *min, double *max)
 Get view height.
double Nviz_get_exag ()
 Get view z-exag value.

Detailed Description

Nviz library -- Exaggeration functions.

Based on visualization/nviz/src/exag.c

(C) 2008, 2010 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.

Author:
Updated/modified by Martin Landa <landa.martin gmail.com> (Google SoC 2008/2010)

Definition in file exag.c.


Function Documentation

double Nviz_get_exag ( )

Get view z-exag value.

Call after initial data has been loaded

Returns:
value

Definition at line 76 of file exag.c.

References G_debug(), G_free(), GS_get_exag_guess(), and GS_get_surf_list().

Referenced by gui_modules.wxnviz.Nviz::SetViewDefault().

int Nviz_get_exag_height ( double *  val,
double *  min,
double *  max 
)

Get view height.

Call after initial data has been loaded

Parameters:
[out]valheight value
[out]minmin value (or NULL)
[out]maxmax value (or NULL)
Returns:
1

Definition at line 28 of file exag.c.

References G_debug(), GS_get_exag_guess(), GS_get_longdim(), GS_get_surf_list(), and GS_get_zrange_nz().

Referenced by gui_modules.wxnviz.Nviz::SetViewDefault().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines