#include <vil_geotiff_header.h>
Public Types | |
enum | GTIF_HEMISPH { UNDEF = -1, NORTH = 0, SOUTH = 1 } |
Public Member Functions | |
vil_geotiff_header (TIFF *tif) | |
virtual | ~vil_geotiff_header () |
int | gtif_number_of_keys () const |
bool | gtif_tiepoints (vcl_vector< vcl_vector< double > > &tiepoints) |
bool | gtif_pixelscale (double &scale_x, double &scale_y, double &scale_z) |
bool | gtif_trans_matrix (double *&trans_matrix) |
returns the matrix in the argument. | |
bool | PCS_WGS84_UTM_zone (int &zone, GTIF_HEMISPH &hemisph) |
returns the Zone and the Hemisphere (0 for N, 1 for S);. | |
bool | PCS_NAD83_UTM_zone (int &zone, GTIF_HEMISPH &hemisph) |
returns the Zone and the Hemisphere (0 for N, 1 for S);. | |
bool | GCS_WGS84_MET_DEG () |
returns true if in geographic coords, linear units are in meters and angular units are in degrees. | |
bool | get_key_value (geokey_t key, void **value, int &size, int &length, tagtype_t &type) |
<key> : key id. | |
void | print_gtif () |
Private Member Functions | |
bool | gtif_modeltype (modeltype_t &type) |
bool | gtif_rastertype (rastertype_t &) |
bool | geounits (geounits_t &) |
bool | geographic_type (geographic_t &) |
Private Attributes | |
TIFF * | tif_ |
GTIF * | gtif_ |
unsigned short | key_directory_version_ |
unsigned short | key_revision_ |
unsigned short | minor_revision_ |
int | number_of_geokeys_ |
modeltype_t | model_type_ |
rastertype_t | raster_type_ |
geographic_t | geographic_type_ |
geounits_t | geounits_ |
Definition at line 27 of file vil_geotiff_header.h.
Definition at line 31 of file vil_geotiff_header.h.
vil_geotiff_header::vil_geotiff_header | ( | TIFF * | tif | ) |
Definition at line 11 of file vil_geotiff_header.cxx.
virtual vil_geotiff_header::~vil_geotiff_header | ( | ) | [inline, virtual] |
Definition at line 35 of file vil_geotiff_header.h.
bool vil_geotiff_header::GCS_WGS84_MET_DEG | ( | ) |
returns true if in geographic coords, linear units are in meters and angular units are in degrees.
Definition at line 161 of file vil_geotiff_header.cxx.
bool vil_geotiff_header::geographic_type | ( | geographic_t & | ) | [private] |
bool vil_geotiff_header::geounits | ( | geounits_t & | units | ) | [private] |
Definition at line 106 of file vil_geotiff_header.cxx.
bool vil_geotiff_header::get_key_value | ( | geokey_t | key, |
void ** | value, | ||
int & | size, | ||
int & | length, | ||
tagtype_t & | type | ||
) |
<key> : key id.
: a single value or an array of values <size>: the size of individual key values <length> : the number of values in the value array <type>: the type of the key
Definition at line 221 of file vil_geotiff_header.cxx.
bool vil_geotiff_header::gtif_modeltype | ( | modeltype_t & | type | ) | [private] |
Definition at line 80 of file vil_geotiff_header.cxx.
int vil_geotiff_header::gtif_number_of_keys | ( | ) | const [inline] |
Definition at line 37 of file vil_geotiff_header.h.
bool vil_geotiff_header::gtif_pixelscale | ( | double & | scale_x, |
double & | scale_y, | ||
double & | scale_z | ||
) |
Definition at line 54 of file vil_geotiff_header.cxx.
bool vil_geotiff_header::gtif_rastertype | ( | rastertype_t & | type | ) | [private] |
Definition at line 93 of file vil_geotiff_header.cxx.
bool vil_geotiff_header::gtif_tiepoints | ( | vcl_vector< vcl_vector< double > > & | tiepoints | ) |
Definition at line 28 of file vil_geotiff_header.cxx.
bool vil_geotiff_header::gtif_trans_matrix | ( | double *& | trans_matrix | ) |
returns the matrix in the argument.
Definition at line 69 of file vil_geotiff_header.cxx.
bool vil_geotiff_header::PCS_NAD83_UTM_zone | ( | int & | zone, |
GTIF_HEMISPH & | hemisph | ||
) |
returns the Zone and the Hemisphere (0 for N, 1 for S);.
Definition at line 191 of file vil_geotiff_header.cxx.
bool vil_geotiff_header::PCS_WGS84_UTM_zone | ( | int & | zone, |
GTIF_HEMISPH & | hemisph | ||
) |
returns the Zone and the Hemisphere (0 for N, 1 for S);.
Definition at line 119 of file vil_geotiff_header.cxx.
void vil_geotiff_header::print_gtif | ( | ) | [inline] |
Definition at line 63 of file vil_geotiff_header.h.
geographic_t vil_geotiff_header::geographic_type_ [private] |
Definition at line 82 of file vil_geotiff_header.h.
geounits_t vil_geotiff_header::geounits_ [private] |
Definition at line 83 of file vil_geotiff_header.h.
GTIF* vil_geotiff_header::gtif_ [private] |
Definition at line 68 of file vil_geotiff_header.h.
unsigned short vil_geotiff_header::key_directory_version_ [private] |
Definition at line 71 of file vil_geotiff_header.h.
unsigned short vil_geotiff_header::key_revision_ [private] |
Definition at line 74 of file vil_geotiff_header.h.
unsigned short vil_geotiff_header::minor_revision_ [private] |
Definition at line 75 of file vil_geotiff_header.h.
modeltype_t vil_geotiff_header::model_type_ [private] |
Definition at line 80 of file vil_geotiff_header.h.
int vil_geotiff_header::number_of_geokeys_ [private] |
Definition at line 78 of file vil_geotiff_header.h.
rastertype_t vil_geotiff_header::raster_type_ [private] |
Definition at line 81 of file vil_geotiff_header.h.
TIFF* vil_geotiff_header::tif_ [private] |
Definition at line 67 of file vil_geotiff_header.h.