fill.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /****************************************************************************
  2. *
  3. * MODULE: r.terraflow
  4. *
  5. * COPYRIGHT (C) 2007 Laura Toma
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. *****************************************************************************/
  18. #ifndef _fill_h
  19. #define _fill_h
  20. #include <grass/iostream/ami.h>
  21. #include "common.h"
  22. #include "water.h"
  23. /* fill the terrain if necessary and compute flow direction stream;
  24. elstr is deleted and replaced with the classified elstr, which has
  25. boundary nodata distinguished from inner nodata */
  26. AMI_STREAM<waterWindowBaseType> *
  27. computeFlowDirections(AMI_STREAM<elevation_type>*& elstr,
  28. AMI_STREAM<elevation_type>*& filledstr,
  29. AMI_STREAM<direction_type>*& dirstr,
  30. AMI_STREAM<labelElevType> *& labeledWater);
  31. #endif