USGS

Isis 3.0 Application Source Code Reference

Home

ascii2isis.cpp File Reference

Go to the source code of this file.

Functions

double TestSpecial (const double pixel)
 Tests the pixel.
void ascii2isis (Buffer &out)
void IsisMain ()

Variables

ifstream fin
string order
double null_min = DBL_MAX
double null_max = DBL_MIN
double hrs_min = DBL_MAX
double hrs_max = DBL_MIN
double lrs_min = DBL_MAX
double lrs_max = DBL_MIN


Function Documentation

double TestSpecial ( const double  pixel  ) 

Tests the pixel.

If it is valid it will return the dn value, otherwise it will return the Isis special pixel value that corresponds to it

Parameters:
pixel The double precision value that represents a pixel.
Returns:
double The double precision value representing the pixel will return as a valid dn or changed to an isis special pixel.

Definition at line 117 of file ascii2isis.cpp.

void ascii2isis ( Buffer &  out  ) 

Definition at line 93 of file ascii2isis.cpp.

void IsisMain (  ) 

Definition at line 26 of file ascii2isis.cpp.


Variable Documentation

ifstream fin

Definition at line 16 of file ascii2isis.cpp.

string order

Definition at line 17 of file ascii2isis.cpp.

double null_min = DBL_MAX

Definition at line 19 of file ascii2isis.cpp.

double null_max = DBL_MIN

Definition at line 20 of file ascii2isis.cpp.

double hrs_min = DBL_MAX

Definition at line 21 of file ascii2isis.cpp.

double hrs_max = DBL_MIN

Definition at line 22 of file ascii2isis.cpp.

double lrs_min = DBL_MAX

Definition at line 23 of file ascii2isis.cpp.

double lrs_max = DBL_MIN

Definition at line 24 of file ascii2isis.cpp.