Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vil_geotiff_header Class Reference

#include <vil_geotiff_header.h>

List of all members.


Detailed Description

Definition at line 28 of file 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 ()
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 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_


Member Enumeration Documentation

enum vil_geotiff_header::GTIF_HEMISPH
 

Enumerator:
UNDEF 
NORTH 
SOUTH 

Definition at line 32 of file vil_geotiff_header.h.


Constructor & Destructor Documentation

vil_geotiff_header::vil_geotiff_header TIFF *  tif  ) 
 

Definition at line 7 of file vil_geotiff_header.cxx.

virtual vil_geotiff_header::~vil_geotiff_header  )  [inline, virtual]
 

Definition at line 36 of file vil_geotiff_header.h.


Member Function Documentation

bool vil_geotiff_header::geographic_type geographic_t &   )  [private]
 

bool vil_geotiff_header::geounits geounits_t &   )  [private]
 

Definition at line 102 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 individial key values <length> : the number of values in the value array <type>: the type of the key

Definition at line 156 of file vil_geotiff_header.cxx.

bool vil_geotiff_header::gtif_modeltype modeltype_t &  type  )  [private]
 

Definition at line 76 of file vil_geotiff_header.cxx.

int vil_geotiff_header::gtif_number_of_keys  )  [inline]
 

Definition at line 38 of file vil_geotiff_header.h.

bool vil_geotiff_header::gtif_pixelscale double &  scale_x,
double &  scale_y,
double &  scale_z
 

Definition at line 50 of file vil_geotiff_header.cxx.

bool vil_geotiff_header::gtif_rastertype rastertype_t &   )  [private]
 

Definition at line 89 of file vil_geotiff_header.cxx.

bool vil_geotiff_header::gtif_tiepoints vcl_vector< vcl_vector< double > > &  tiepoints  ) 
 

Definition at line 24 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 65 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 115 of file vil_geotiff_header.cxx.

void vil_geotiff_header::print_gtif  )  [inline]
 

Definition at line 58 of file vil_geotiff_header.h.


Member Data Documentation

geographic_t vil_geotiff_header::geographic_type_ [private]
 

Definition at line 77 of file vil_geotiff_header.h.

geounits_t vil_geotiff_header::geounits_ [private]
 

Definition at line 78 of file vil_geotiff_header.h.

GTIF* vil_geotiff_header::gtif_ [private]
 

Definition at line 63 of file vil_geotiff_header.h.

unsigned short vil_geotiff_header::key_directory_version_ [private]
 

Definition at line 66 of file vil_geotiff_header.h.

unsigned short vil_geotiff_header::key_revision_ [private]
 

Definition at line 69 of file vil_geotiff_header.h.

unsigned short vil_geotiff_header::minor_revision_ [private]
 

Definition at line 70 of file vil_geotiff_header.h.

modeltype_t vil_geotiff_header::model_type_ [private]
 

Definition at line 75 of file vil_geotiff_header.h.

int vil_geotiff_header::number_of_geokeys_ [private]
 

Definition at line 73 of file vil_geotiff_header.h.

rastertype_t vil_geotiff_header::raster_type_ [private]
 

Definition at line 76 of file vil_geotiff_header.h.

TIFF* vil_geotiff_header::tif_ [private]
 

Definition at line 62 of file vil_geotiff_header.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:40:06 2008 for core/vil by  doxygen 1.4.4