USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::HiLab Class Reference

Process HiRise label. More...

#include <HiLab.h>

Collaboration diagram for Isis::HiLab:
Collaboration graph

Public Member Functions

 HiLab (Cube *cube)
 Constructs a HiLab Object.
 
int getCpmmNumber ()
 Returns the value of the CpmmNumber keyword read from the instrument group in the labels of a hiris cube.
 
int getChannel ()
 Returns the value of the ChannelNumber keyword read from the instrument group in the labels of a hirise cube.
 
int getBin ()
 Returns the bin value, read as the value of the Summing keyword from the instrument group in the labels of a hirise cube.
 
int getTdi ()
 Returns the value of the Tdi keyword read from the instrument group in the labels of a hirise cube.
 
int getCcd ()
 Returns the value of the ccd from a lookup table based on the cpmm number.
 

Private Attributes

int p_cpmmNumber
 
 Value of the CpmmNumber keyword from the cube's 

Instrument group

 
int p_channel
 
    Value of the ChannelNumber keyword from the 

cube's Instrument group

 
int p_bin
 
        Value of the Summing keyword from the cube's 

Instrument group, if it exists

 
int p_tdi
 
        Value of the Tdi keyword from the cube's 

Instrument group, if it exists

 

Detailed Description

Process HiRise label.

This class retrieves label keyword values from an Isis3 HiRise cube file. This class receives a Cube object from an opened HiRise cube file and has methods to return HiRise specific keyword values from the label.

Author
2005-06-29 unknown
History:

2005-06-29 unknown - Original Version

2006-08-17 Debbie A. Cook - Added members p_bin and p_tdi along with methods to retrieve them and the ccd

2008-05-12 Steven Lambright - Removed references to CubeInfo

2012-04-16 Jeannie Walldren - Wrapped class inside Isis namespace. Added documentation.

Definition at line 49 of file HiLab.h.

Constructor & Destructor Documentation

Isis::HiLab::HiLab ( Cube cube)

Constructs a HiLab Object.

Parameters
cubeThe cube containing the HiRise labels to be processed.

Definition at line 30 of file HiLab.cpp.

References _FILEINFO_, Isis::Cube::group(), and Isis::PvlContainer::hasKeyword().

Member Function Documentation

int Isis::HiLab::getBin ( )
inline

Returns the bin value, read as the value of the Summing keyword from the instrument group in the labels of a hirise cube.

Returns
int The bin value from the cube's labels

Definition at line 79 of file HiLab.h.

References p_bin.

int Isis::HiLab::getCcd ( )

Returns the value of the ccd from a lookup table based on the cpmm number.

Returns
int The ccd value.

Definition at line 52 of file HiLab.cpp.

int Isis::HiLab::getChannel ( )
inline

Returns the value of the ChannelNumber keyword read from the instrument group in the labels of a hirise cube.

Returns
int The channel number from the cube's labels

Definition at line 69 of file HiLab.h.

References p_channel.

int Isis::HiLab::getCpmmNumber ( )
inline

Returns the value of the CpmmNumber keyword read from the instrument group in the labels of a hiris cube.

Returns
int The cpmm number from the cube's labels

Definition at line 59 of file HiLab.h.

References p_cpmmNumber.

int Isis::HiLab::getTdi ( )
inline

Returns the value of the Tdi keyword read from the instrument group in the labels of a hirise cube.

Returns
int The tdi from the cube's labels

Definition at line 89 of file HiLab.h.

References p_tdi.

Member Data Documentation

int Isis::HiLab::p_bin
private

        Value of the Summing keyword from the cube's 

Instrument group, if it exists

Definition at line 107 of file HiLab.h.

Referenced by getBin().

int Isis::HiLab::p_channel
private

    Value of the ChannelNumber keyword from the 

cube's Instrument group

Definition at line 105 of file HiLab.h.

Referenced by getChannel().

int Isis::HiLab::p_cpmmNumber
private

 Value of the CpmmNumber keyword from the cube's 

Instrument group

Definition at line 103 of file HiLab.h.

Referenced by getCpmmNumber().

int Isis::HiLab::p_tdi
private

        Value of the Tdi keyword from the cube's 

Instrument group, if it exists

Definition at line 109 of file HiLab.h.

Referenced by getTdi().


The documentation for this class was generated from the following files: