Filter to cache entire image. More...
#include <spatmod/imagefiltercacheimage.h>

Public Member Functions | |
| FILTER_CACHEIMAGE (STAGE *pPreviousStage, bool TakeOwnership, double MemoryMaxUsage=4.0, UINT32 TileRows=0, UINT32 TileColumns=0) | |
| virtual | ~FILTER_CACHEIMAGE () |
| void | SetKeepAfterPullEnd (bool KeepAfterPullEnd) |
Filter to cache entire image.
Will cache in memory if below memory threshold, or in temporary file if above threshold. Cache supports both line/strip and tile iteration sequences efficiently.
| SPATMOD::IMAGE::FILTER_CACHEIMAGE::FILTER_CACHEIMAGE | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| double | MemoryMaxUsage = 4.0, |
|||
| UINT32 | TileRows = 0, |
|||
| UINT32 | TileColumns = 0 | |||
| ) |
Resample using specified dimensions and georeference.
The decision whether to actually use memory is done during the Initialize() step.
| pPreviousStage | Pointer to previous stage | |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed | |
| MemoryMaxUsage | Memory usage threshold (0 = none, < .5 = fraction of available, > .5 = MB) | |
| TileRows | Preferred tile rows, 0 to match input | |
| TileColumns | Preferred tile columns, 0 to match input |
| virtual SPATMOD::IMAGE::FILTER_CACHEIMAGE::~FILTER_CACHEIMAGE | ( | ) | [virtual] |
| void SPATMOD::IMAGE::FILTER_CACHEIMAGE::SetKeepAfterPullEnd | ( | bool | KeepAfterPullEnd | ) | [inline] |
Set whether to retain cached image after PullEnd.
Normally the cache is discarded when PullEnd is done to avoid retaining resources that are no longer needed. However, for some pipelines there may be multiple PullBegin/PullEnd sequences on the same stage, in which case this method should be used to avoid repeated reloading of the cache.
1.6.1