source: anuga_work/development/anugavis/src/height_quantity.h @ 5259

Last change on this file since 5259 was 5259, checked in by jack, 16 years ago

More preparation for anugavis height quantity support: now retrieves the number of points from the NetCDF file.

File size: 647 bytes
Line 
1#ifndef HEIGHT_QUANTITY_H
2#define HEIGHT_QUANTITY_H
3
4#include <SDL.h>
5
6struct height_quantity_simple{
7  char *name;
8  uint8_t dynamic;
9  double offset;
10  double scale;
11  Uint32 color;
12  struct height_quantity_simple *next;
13};
14
15/* Define (or redefine if already defined a simple height quantity with the
16 * given offset, scale, and color. Returns 0 on success, -1 on error.
17 */
18extern int AnugaVis_DefineHeightQuantity(const char *name,
19                                         double offset, double scale,
20                                         int red, int green, int blue);
21/* Undefine a given simple height quantity.
22 */
23extern void AnugaVis_UndefineHeightQuantity(char *name);
24
25#endif
Note: See TracBrowser for help on using the repository browser.