29 CubeStretch(QString name=
"DefaultStretch", QString stretchType=
"Default",
int bandNumber = 1);
42 void setType(QString stretchType);
void setBandNumber(int bandNumber)
Set the band number for the stretch.
int m_bandNumber
Type of stretch. This is only currently used in the AdvancedStretchTool.
bool operator==(CubeStretch &stretch2)
Check if the CubeStretches are equal.
int getBandNumber() const
Get the band number for the stretch.
void setName(QString name)
Set the Stretch name.
Isis::Blob toBlob() const
Serialize the CubeStretch to a Blob.
QString getName() const
Get the Stretch name.
CubeStretch(QString name="DefaultStretch", QString stretchType="Default", int bandNumber=1)
Constructs a CubeStretch object with default mapping of special pixel values to themselves and a prov...
QString m_type
The name of the stretch.
QString getType() const
Get the Type of Stretch.
void setType(QString stretchType)
Set the type of Stretch.
Stretch()
Constructs a Stretch object with default mapping of special pixel values to themselves.
This is free and unencumbered software released into the public domain.