~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to visualization/nviz2/cmd/surface.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*!
2
 
   \file surface.c
3
 
 
4
 
   \brief Surface subroutines
5
 
 
6
 
   (C) 2008 by the GRASS Development Team
7
 
 
8
 
   This program is free software under the GNU General Public
9
 
   License (>=v2). Read the file COPYING that comes with GRASS
10
 
   for details.
11
 
 
12
 
   \author Martin Landa <landa.martin gmail.com> (Google SoC 2008)
13
 
 
14
 
   \date 2008
15
 
 */
 
2
  \file surface.c
 
3
  
 
4
  \brief Surface subroutines
 
5
  
 
6
  (C) 2008, 2010 by the GRASS Development Team
 
7
  
 
8
  This program is free software under the GNU General Public
 
9
  License (>=v2). Read the file COPYING that comes with GRASS
 
10
  for details.
 
11
  
 
12
  \author Martin Landa <landa.martin gmail.com> (Google SoC 2008/2010)
 
13
*/
16
14
 
17
15
#include <stdlib.h>
18
16
#include <string.h>
22
20
#include "local_proto.h"
23
21
 
24
22
/*!
25
 
   \brief Load raster maps/constants and set surface attributes
26
 
 
27
 
   \param params module parameters
28
 
   \param data nviz data
29
 
 */
 
23
  \brief Load raster maps/constants and set surface attributes
 
24
  
 
25
  \param params module parameters
 
26
  \param data nviz data
 
27
*/
30
28
int load_rasters(const struct GParams *params, nv_data * data)
31
29
{
32
30
    char *mapset;
182
180
}
183
181
 
184
182
/*!
185
 
   \brief Set draw mode for loaded surfaces
186
 
 
187
 
   \param params module parameters
188
 
 */
 
183
  \brief Set draw mode for loaded surfaces
 
184
  
 
185
  \param params module parameters
 
186
*/
189
187
void surface_set_draw_mode(const struct GParams *params)
190
188
{
191
189
    int *surf_list, nsurfs;