Isis 3 Programmer 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. More...
 
int getCpmmNumber ()
 Returns the value of the CpmmNumber keyword read from the instrument group in the labels of a hiris cube. More...
 
int getChannel ()
 Returns the value of the ChannelNumber keyword read from the instrument group in the labels of a hirise cube. More...
 
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. More...
 
int getTdi ()
 Returns the value of the Tdi keyword read from the instrument group in the labels of a hirise cube. More...
 
int getCcd ()
 Returns the value of the ccd from a lookup table based on the cpmm number. More...
 

Private Attributes

int p_cpmmNumber
 Value of the CpmmNumber keyword from the cube's Instrument group. More...
 
int p_channel
 Value of the ChannelNumber keyword from the cube's Instrument group. More...
 
int p_bin
 Value of the Summing keyword from the cube's Instrument group, if it exists. More...
 
int p_tdi
 Value of the Tdi keyword from the cube's Instrument group, if it exists. More...
 

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

◆ HiLab()

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

◆ getBin()

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.

◆ getCcd()

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.

◆ getChannel()

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.

◆ getCpmmNumber()

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.

◆ getTdi()

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

◆ p_bin

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().

◆ p_channel

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().

◆ p_cpmmNumber

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().

◆ p_tdi

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: