globalDefs.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /****************************************************************************
  2. *
  3. * MODULE: r3.out.vtk
  4. *
  5. * AUTHOR(S): Original author
  6. * Soeren Gebbert soerengebbert at gmx de
  7. * 27 Feb 2006 Berlin
  8. * PURPOSE: Converts 3D raster maps (RASTER3D) into the VTK-Ascii format
  9. *
  10. * COPYRIGHT: (C) 2005 by the GRASS Development Team
  11. *
  12. * This program is free software under the GNU General Public
  13. * License (>=v2). Read the file COPYING that comes with GRASS
  14. * for details.
  15. *
  16. *****************************************************************************/
  17. #ifndef __R3_OUT_VTK_GLOBALDEFS_H__
  18. #define __R3_OUT_VTK_GLOBALDEFS_H__
  19. typedef struct
  20. {
  21. /*RASTER3D maps */
  22. void *map;
  23. void *map_r;
  24. void *map_g;
  25. void *map_b;
  26. void *map_x;
  27. void *map_y;
  28. void *map_z;
  29. /*raster maps */
  30. int top;
  31. int bottom;
  32. int *elevmaps;
  33. int *elevmaptypes;
  34. int numelevmaps;
  35. int topMapType;
  36. int bottomMapType;
  37. } input_maps;
  38. extern double x_extent;
  39. extern double y_extent;
  40. #endif