-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImagem.h
More file actions
40 lines (31 loc) · 913 Bytes
/
Imagem.h
File metadata and controls
40 lines (31 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef IMAGEM_H
#define IMAGEM_H
#include "gdal_priv.h"
#include "cpl_conv.h"
class Imagem
{
public:
Imagem (int, char *);
virtual ~Imagem ();
char * getNome ();
void setNome (char *);
int getCodigo ();
void setCodigo (int);
void inicializa ();
void imprimeInfo ();
float informaIvdn (float, float);
protected:
int codigo;
char nome [150];
GDALDataset * poDataset;
double x0; // canto esquerdo superior
double y0; // canto esquerdo superior
int w; // largura em pixels
int h; // altura em pixels
int z; // numero de bandas da imagem
double xd; // largura do pixel
double yd; // altura do pixel
char driver [50]; // nome do driver usado para manipular a imagem
char srs [400]; // sistema de projecao
};
#endif // IMAGEM_H