represents a graphic segment in an existing NITF file More...
#include <GraphicSegment.h>
Public Member Functions | |
| GraphicSegment (NITFReaderManager &, LTIOStreamInf &, int segmentNumber, lt_int64 headerOffset, lt_int64 headerLength, lt_int64 dataOffset, lt_int64 dataLength) | |
| ~GraphicSegment () | |
| LT_STATUS | initialize () |
| initializer | |
| lt_uint8 * | getGraphicData (lt_uint32 &graphicDataLen) const |
| returns the graphic segment contents | |
| LT_STATUS | addMetadataLocal (LTIMetadataDatabase &db) const |
This class represents a graphic segment in an NITF file. To access the graphic segment of a file, retrieve the GraphicSegment from the NITFReaderManager class.
Graphics segments are not fully supported: no rendering mechanism is provided, only the raw bytes of the segment can be obtained.
Definition at line 37 of file GraphicSegment.h.
| LizardTech::Nitf::GraphicSegment::GraphicSegment | ( | NITFReaderManager & | , | |
| LTIOStreamInf & | , | |||
| int | segmentNumber, | |||
| lt_int64 | headerOffset, | |||
| lt_int64 | headerLength, | |||
| lt_int64 | dataOffset, | |||
| lt_int64 | dataLength | |||
| ) |
| LizardTech::Nitf::GraphicSegment::~GraphicSegment | ( | ) |
| LT_STATUS LizardTech::Nitf::GraphicSegment::addMetadataLocal | ( | LTIMetadataDatabase & | db | ) | const [virtual] |
Implements LizardTech::Nitf::Segment.
This function returns the raw, uninterpreted bytes stored as the payload of the graphics segment.
| graphicDataLen | [out] returns the length of the data array |
| LT_STATUS LizardTech::Nitf::GraphicSegment::initialize | ( | ) | [virtual] |
This function must be called immediately after the constructor.
Reimplemented from LizardTech::Nitf::Segment.
| LizardTech |