44 typedef enum { none, negative, positive } no_data_type_t;
57 bool d_geo_transform_set;
60 double d_width, d_height, d_top, d_left, d_bottom, d_right;
62 no_data_type_t d_no_data_type;
70 void m_scale_data(
double *data);
73 bool effectively_two_D(
FONgGrid *fbtp);
76 FONgTransform(libdap::DDS *dds, libdap::ConstraintEvaluator &evaluator,
const string &localfile);
82 bool is_geo_transform_set() {
return d_geo_transform_set; }
83 void geo_transform_set(
bool state) { d_geo_transform_set = state; }
85 double no_data() {
return d_no_data; }
86 void set_no_data(
const string &nd) { d_no_data = strtod(nd.c_str(), NULL); }
88 void set_no_data_type(no_data_type_t t) { d_no_data_type = t; }
89 no_data_type_t no_data_type() {
return d_no_data_type; }
91 int num_bands() {
return d_num_bands; }
92 void set_num_bands(
int n) { d_num_bands = n; }
94 void push_var(
FONgGrid *v) { d_fong_vars.push_back(v); }
95 int num_var() {
return d_fong_vars.size(); }
97 FONgGrid *var(
int i) {
return d_fong_vars.at(i); }
100 virtual void set_width(
int width) { d_width = width; }
101 virtual void set_height(
int height) { d_height = height; }
103 virtual int width() {
return d_width; }
104 virtual int height() {
return d_height; }
107 virtual void set_top(
int top) { d_top = top; }
108 virtual void set_left(
int left) { d_left = left; }
110 virtual double top() {
return d_top; }
111 virtual double left() {
return d_left; }
114 virtual void set_bottom(
int top) { d_bottom = top; }
115 virtual void set_right(
int left) { d_right = left; }
117 virtual double bottom() {
return d_bottom; }
118 virtual double right() {
return d_right; }
122 virtual void dump(
ostream &)
const {}