abstract class for managing a list of image stages More...
#include <lti_imageStageManager.h>
Public Member Functions | |
| virtual LT_STATUS | createImageProps (lt_uint32 imageNumber, LTIImage *&imageProps) |
| create an image properties | |
| virtual LT_STATUS | createImageStage (lt_uint32 imageNumber, LTIImageStage *&imageStage) |
| create an image stage | |
| virtual LTIImageStage * | createImageStage (lt_uint32 imageNumber) |
| lt_uint32 | getNumImages (void) const |
| get the number of images the object is managing | |
| virtual LT_STATUS | createOverviewImageStage (LTIImageStage *&imageStage) |
| create an image stage that can be used as an overview of all other images. | |
Protected Member Functions | |
| virtual void | setNumImages (lt_uint32 numImages) |
| The derived class needs to call this. | |
The two most common uses of this class are passing a set of images to the LTIMosaicFilter and a wrapper around image formats that support multiple images in one file.
LTIImageStageManager was first added to replace the static list of LTIImageStage * passed to the LTIMosaicFilter to fix memory and file handle resource limitations.
Definition at line 33 of file lti_imageStageManager.h.
| virtual LT_STATUS LTIImageStageManager::createImageProps | ( | lt_uint32 | imageNumber, | |
| LTIImage *& | imageProps | |||
| ) | [virtual] |
Note when done with the image stage call image->release().
| imageNumber | number of the image (zero based) | |
| image | a pointer to the created image properties |
| virtual LTIImageStage* LTIImageStageManager::createImageStage | ( | lt_uint32 | imageNumber | ) | [virtual] |
| virtual LT_STATUS LTIImageStageManager::createImageStage | ( | lt_uint32 | imageNumber, | |
| LTIImageStage *& | imageStage | |||
| ) | [virtual] |
Note when done with the image stage call imageStage->release().
| imageNumber | number of the image (zero based) | |
| imageStage | a pointer to the created image stage |
Reimplemented in MrSIDImageStageManager, and LizardTech::NITFReaderManager.
| virtual LT_STATUS LTIImageStageManager::createOverviewImageStage | ( | LTIImageStage *& | imageStage | ) | [virtual] |
If an overview does not exsit this method returns LT_STS_Success and sets imageStage to NULL.
| imageStage | a pointer to the created image stage |
Reimplemented in MrSIDImageStageManager.
| lt_uint32 LTIImageStageManager::getNumImages | ( | void | ) | const |
| virtual void LTIImageStageManager::setNumImages | ( | lt_uint32 | numImages | ) | [protected, virtual] |
| LizardTech |