summaryrefslogtreecommitdiff
path: root/src/ImageMetaData.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-01-18 16:37:23 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-01-18 16:37:23 +0100
commit1b9caaa5d92c0b7210bfadc708b12aa2298c2f16 (patch)
treebfc234c556d281e0078990ca49b1a0482761d77a /src/ImageMetaData.H
parent61988218606c52684c8121a8274245bde4d3dcf5 (diff)
inline get/set methods
Diffstat (limited to 'src/ImageMetaData.H')
-rw-r--r--src/ImageMetaData.H38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/ImageMetaData.H b/src/ImageMetaData.H
index a305415..b3cc85c 100644
--- a/src/ImageMetaData.H
+++ b/src/ImageMetaData.H
@@ -38,27 +38,27 @@ class ImageMetaData {
int load_image(char *name);
int save_image(char *in_img, char *out_img);
- const char *get_manufacturer();
- const char *get_model();
- double get_longitude();
- double get_latitude();
- double get_height();
- double get_direction();
- double get_nick();
- double get_tilt();
- double get_focal_length();
- double get_focal_length_35mm();
- int get_projection_type();
+ const char *get_manufacturer() {return manufacturer;};
+ const char *get_model() {return model;};
+ double get_longitude() {return longitude;};
+ double get_latitude() {return latitude;};
+ double get_height() {return height;};
+ double get_direction() {return direction;};
+ double get_nick() {return nick;};
+ double get_tilt() {return tilt;};
+ double get_focal_length() {return focal_length;};
+ double get_focal_length_35mm() {return focal_length_35mm;};
+ int get_projection_type() {return projection_type;};
void get_distortion_params(double *_k0, double *_k1, double *_x0);
- void set_longitude(double v);
- void set_latitude(double v);
- void set_height(double v);
- void set_direction(double v);
- void set_nick(double v);
- void set_tilt(double v);
- void set_focal_length_35mm(double v);
- void set_projection_type(int v);
+ void set_longitude(double v) {longitude = v;};
+ void set_latitude(double v) {latitude = v;};
+ void set_height(double v) {height = v;};
+ void set_direction(double v) {direction = v;};
+ void set_nick(double v) {nick = v;};
+ void set_tilt(double v) {tilt = v;};
+ void set_focal_length_35mm(double v) {focal_length_35mm = v;};
+ void set_projection_type(int v) {projection_type = v;};
void set_distortion_params(double _k0, double _k1, double _x0);
};
#endif