vil_geotiff_header Class Reference

#include <vil_geotiff_header.h>

List of all members.


Detailed Description

Definition at line 27 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 31 of file vil_geotiff_header.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

int vil_geotiff_header::gtif_number_of_keys (  )  [inline]

Definition at line 37 of file vil_geotiff_header.h.

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_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_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_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.

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 160 of file vil_geotiff_header.cxx.

void vil_geotiff_header::print_gtif (  )  [inline]

Definition at line 57 of file vil_geotiff_header.h.

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

Definition at line 80 of file vil_geotiff_header.cxx.

bool vil_geotiff_header::gtif_rastertype ( rastertype_t &   )  [private]

Definition at line 93 of file vil_geotiff_header.cxx.

bool vil_geotiff_header::geounits ( geounits_t &   )  [private]

Definition at line 106 of file vil_geotiff_header.cxx.

bool vil_geotiff_header::geographic_type ( geographic_t &   )  [private]


Member Data Documentation

TIFF* vil_geotiff_header::tif_ [private]

Definition at line 61 of file vil_geotiff_header.h.

GTIF* vil_geotiff_header::gtif_ [private]

Definition at line 62 of file vil_geotiff_header.h.

unsigned short vil_geotiff_header::key_directory_version_ [private]

Definition at line 65 of file vil_geotiff_header.h.

unsigned short vil_geotiff_header::key_revision_ [private]

Definition at line 68 of file vil_geotiff_header.h.

unsigned short vil_geotiff_header::minor_revision_ [private]

Definition at line 69 of file vil_geotiff_header.h.

int vil_geotiff_header::number_of_geokeys_ [private]

Definition at line 72 of file vil_geotiff_header.h.

modeltype_t vil_geotiff_header::model_type_ [private]

Definition at line 74 of file vil_geotiff_header.h.

rastertype_t vil_geotiff_header::raster_type_ [private]

Definition at line 75 of file vil_geotiff_header.h.

geographic_t vil_geotiff_header::geographic_type_ [private]

Definition at line 76 of file vil_geotiff_header.h.

geounits_t vil_geotiff_header::geounits_ [private]

Definition at line 77 of file vil_geotiff_header.h.


The documentation for this class was generated from the following files:
Generated on Tue Dec 2 05:08:02 2008 for core/vil by  doxygen 1.5.1