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

« back to all changes in this revision

Viewing changes to visualization/nviz2/cmd/volume.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 volume.c
3
 
 
4
 
   \brief Volume 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 volume.c
 
3
  
 
4
  \brief Volume 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
 
22
20
#include "local_proto.h"
23
21
 
24
22
/*!
25
 
   \brief Load 3d raster map layers -> volume
26
 
 
27
 
   \param params module parameters
28
 
   \param data nviz data
29
 
 
30
 
   \return number of loaded volumes
31
 
 */
 
23
  \brief Load 3d raster map layers -> volume
 
24
  
 
25
  \param params module parameters
 
26
  \param data nviz data
 
27
 
 
28
  \return number of loaded volumes
 
29
*/
32
30
int load_rasters3d(const struct GParams *params, nv_data *data)
33
31
{
34
32
  int i, nvol, id;
54
52
 
55
53
/*!
56
54
  \brief Add isosurfaces and set their attributes
57
 
 
 
55
  
58
56
  \param params module parameters
59
57
  \param data nviz data
60
58