|
Isis Developer Reference
|
Go to the documentation of this file.
29 CubeStretch(QString name=
"DefaultStretch", QString stretchType=
"Default",
int bandNumber = 1);
42 void setType(QString stretchType);
~CubeStretch()
Definition: CubeStretch.cpp:73
A single keyword-value pair.
Definition: PvlKeyword.h:82
void setData(const char *buffer, int nbytes)
Set the data stored in the BLOB.
Definition: Blob.cpp:382
Pixel value mapper.
Definition: Stretch.h:58
bool operator==(CubeStretch &stretch2)
Check if the CubeStretches are equal.
Definition: CubeStretch.cpp:103
void setName(QString name)
Set the Stretch name.
Definition: CubeStretch.cpp:135
Stores stretch information for a cube.
Definition: CubeStretch.h:27
int getBandNumber() const
Get the band number for the stretch.
Definition: CubeStretch.cpp:155
char * getBuffer()
Get the internal data buff of the Blob.
Definition: Blob.cpp:546
PvlObject & Label()
Accessor method that returns a PvlObject containing the Blob label.
Definition: Blob.cpp:151
void Parse(const QString &pairs)
Parses a string of the form "i1:o1 i2:o2...iN:oN" where each i:o represents an input:output pair.
Definition: Stretch.cpp:181
QString Text() const
Converts stretch pair to a string.
Definition: Stretch.cpp:268
int Size() const
Accessor method that returns the number of bytes in the blob data.
Definition: Blob.cpp:142
Isis::Blob toBlob() const
Serialize the CubeStretch to a Blob.
Definition: CubeStretch.cpp:84
void setBandNumber(int bandNumber)
Set the band number for the stretch.
Definition: CubeStretch.cpp:165
QString getType() const
Get the Type of Stretch.
Definition: CubeStretch.cpp:115
void setType(QString stretchType)
Set the type of Stretch.
Definition: CubeStretch.cpp:125
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...
Definition: CubeStretch.cpp:19
QString getName() const
Get the Stretch name.
Definition: CubeStretch.cpp:145
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16