Inheritance diagram for Eaagles::Sensor::Image:


Public Member Functions | |
| Image () | |
| const unsigned char * | getImageData () const |
| unsigned int | getWidth () const |
| unsigned int | getHeight () const |
| unsigned int | getDepth () const |
| unsigned int | getImageSize () const |
| bool | isLoaded () const |
| int | getImageId () const |
| bool | isDatalinkTransmitEnabled () const |
| double | getLatitude () const |
| double | getLongitude () const |
| LCreal | getElevation () const |
| LCreal | getOrientation () const |
| LCreal | getResolution () const |
| virtual void | setImageId (const int v) |
| virtual void | setDatalinkTransmitEnable (const bool flg) |
| virtual void | setLatitude (const double v) |
| virtual void | setLongitude (const double v) |
| virtual void | setElevation (const LCreal v) |
| virtual void | setOrientation (const LCreal v) |
| virtual void | setResolution (const LCreal v) |
| const unsigned char * | getOrigImageData () const |
| unsigned int | getOrigImageSize () const |
| bool | isOriginalImageDataValid () const |
| bool | isOrigImageDataCompressed () const |
| virtual bool | testImage (const unsigned w, const unsigned h) |
| virtual bool | setImageData (const unsigned char *const image, const unsigned int width, const unsigned int height, const unsigned int depth) |
| virtual bool | setOrigialImageData (const unsigned char *const image, const unsigned int size, const bool compressed) |
Private Attributes | |
| int | id |
| double | latitude |
| double | longitude |
| LCreal | elevation |
| LCreal | orientation |
| LCreal | resolution |
| unsigned char * | data |
| unsigned int | size |
| unsigned int | width |
| unsigned int | height |
| unsigned int | depth |
| bool | loaded |
| bool | xmitEnble |
| unsigned char * | origData |
| unsigned int | origSize |
| bool | origCompressed |
| Eaagles::Sensor::Image::Image | ( | ) |
| const unsigned char* Eaagles::Sensor::Image::getImageData | ( | ) | const [inline] |
Returns the Image data.
| unsigned int Eaagles::Sensor::Image::getWidth | ( | ) | const [inline] |
Returns the Image width (pixels).
| unsigned int Eaagles::Sensor::Image::getHeight | ( | ) | const [inline] |
Image height (pixels).
| unsigned int Eaagles::Sensor::Image::getDepth | ( | ) | const [inline] |
Image depth (bytes).
| unsigned int Eaagles::Sensor::Image::getImageSize | ( | ) | const [inline] |
Image size (bytes) -- (width*height*depth).
| bool Eaagles::Sensor::Image::isLoaded | ( | ) | const [inline] |
Returns true if a valid image has been loaded.
| int Eaagles::Sensor::Image::getImageId | ( | ) | const [inline] |
Returns the Image ID.
| bool Eaagles::Sensor::Image::isDatalinkTransmitEnabled | ( | ) | const [inline] |
Returns true if image is to be transmitted over datalink.
| double Eaagles::Sensor::Image::getLatitude | ( | ) | const [inline] |
Stare Point (Deg)).
| double Eaagles::Sensor::Image::getLongitude | ( | ) | const [inline] |
Stare Point (Deg).
| LCreal Eaagles::Sensor::Image::getElevation | ( | ) | const [inline] |
Stare Point (Meters).
| virtual void Eaagles::Sensor::Image::setImageId | ( | const int | v | ) | [inline, virtual] |
Sets the image id.
| virtual void Eaagles::Sensor::Image::setDatalinkTransmitEnable | ( | const bool | flg | ) | [inline, virtual] |
Sets the flag xmitEnble (i.e. Image should be transmitted over datalink) to flg.
| virtual void Eaagles::Sensor::Image::setLatitude | ( | const double | v | ) | [inline, virtual] |
Sets the latitude to v.
| virtual void Eaagles::Sensor::Image::setLongitude | ( | const double | v | ) | [inline, virtual] |
Sets the longitude to v.
| virtual void Eaagles::Sensor::Image::setElevation | ( | const LCreal | v | ) | [inline, virtual] |
Sets the elevation to v.
| virtual void Eaagles::Sensor::Image::setOrientation | ( | const LCreal | v | ) | [inline, virtual] |
Sets the orientation to v.
| virtual void Eaagles::Sensor::Image::setResolution | ( | const LCreal | v | ) | [inline, virtual] |
Sets the image resolution to v.
| const unsigned char* Eaagles::Sensor::Image::getOrigImageData | ( | ) | const [inline] |
Returns the original Image data.
| unsigned int Eaagles::Sensor::Image::getOrigImageSize | ( | ) | const [inline] |
Returns the original Image size (bytes).
| bool Eaagles::Sensor::Image::isOriginalImageDataValid | ( | ) | const [inline] |
Returns true if original image data is valid.
| bool Eaagles::Sensor::Image::isOrigImageDataCompressed | ( | ) | const [inline] |
Returns true if oriignal image data is compressed.
| bool Eaagles::Sensor::Image::testImage | ( | const unsigned | w, | |
| const unsigned | h | |||
| ) | [virtual] |
Calls the setImageData with width w, height h and depth 1.
| bool Eaagles::Sensor::Image::setImageData | ( | const unsigned char *const | image, | |
| const unsigned int | width, | |||
| const unsigned int | height, | |||
| const unsigned int | depth | |||
| ) | [virtual] |
Load image data.
| bool Eaagles::Sensor::Image::setOrigialImageData | ( | const unsigned char *const | image, | |
| const unsigned int | size, | |||
| const bool | compressed | |||
| ) | [virtual] |
Load original image data.
int Eaagles::Sensor::Image::id [private] |
image ID
double Eaagles::Sensor::Image::latitude [private] |
(stare point) latitude (degrees)
double Eaagles::Sensor::Image::longitude [private] |
(stare point) longitude (degrees)
LCreal Eaagles::Sensor::Image::elevation [private] |
(stare point) elevation (meters)
LCreal Eaagles::Sensor::Image::orientation [private] |
orientation (true) (degrees)
LCreal Eaagles::Sensor::Image::resolution [private] |
resolution (meters/pixel)
unsigned char* Eaagles::Sensor::Image::data [private] |
Pointer to the image data.
unsigned int Eaagles::Sensor::Image::size [private] |
Image size in bytes.
unsigned int Eaagles::Sensor::Image::width [private] |
Width (pixels: must be power of two).
unsigned int Eaagles::Sensor::Image::height [private] |
Deight (pixels: must be power of two).
unsigned int Eaagles::Sensor::Image::depth [private] |
Depth (bytes: 1, 2, 3 or 4).
bool Eaagles::Sensor::Image::loaded [private] |
Image has been loaded.
bool Eaagles::Sensor::Image::xmitEnble [private] |
Image should be transmitted over datalink.
unsigned char* Eaagles::Sensor::Image::origData [private] |
Original image data.
unsigned int Eaagles::Sensor::Image::origSize [private] |
Original image size in bytes.
bool Eaagles::Sensor::Image::origCompressed [private] |
Original image is compressed.
1.5.0