SPATMOD::IMAGE::TARGET_FILE::TILEPARMS Class Reference

Parameters for control of output to separate file for each tile. More...

#include <spatmod/imagetargetfile.h>

List of all members.

Public Types

typedef
fastdelegate::FastDelegate
< ERRVALUE(INT32 TileColumn,
INT32 TileRow, FILEPATH
&, const LRECT2D &extent)> 
DELEGATE_ONTILEADD

Public Member Functions

 TILEPARMS ()
void SetAutoTrim (bool AutoTrim=true)
void SetDelegateOnTileAdd (DELEGATE_ONTILEADD delegate)
void SetDelegateOnTileEnd (DELEGATE_ERRVALUE_NOPARMS delegate)
void SetTileDimensions (double ColumnsPerTile, double RowsPerTile)

Detailed Description

Parameters for control of output to separate file for each tile.


Member Typedef Documentation

typedef fastdelegate::FastDelegate<ERRVALUE(INT32 TileColumn, INT32 TileRow, FILEPATH&, const LRECT2D& extent)> SPATMOD::IMAGE::TARGET_FILE::TILEPARMS::DELEGATE_ONTILEADD

Delegate for adding new tile.

Parameters are tile column, tile row, path, extent in overall image coordinates This will not be called for tiles having no valid pixels.


Constructor & Destructor Documentation

SPATMOD::IMAGE::TARGET_FILE::TILEPARMS::TILEPARMS (  ) 

Constructor.


Member Function Documentation

void SPATMOD::IMAGE::TARGET_FILE::TILEPARMS::SetAutoTrim ( bool  AutoTrim = true  )  [inline]

Set whether to auto-trim tile to minimum valid extent.

Default is to output full-extent tiles except when completely empty of valid pixels. Not supported by all formats or tilings, will behave as default if not supported.

void SPATMOD::IMAGE::TARGET_FILE::TILEPARMS::SetDelegateOnTileAdd ( DELEGATE_ONTILEADD  delegate  )  [inline]

Set delegate to call when adding new tile.

void SPATMOD::IMAGE::TARGET_FILE::TILEPARMS::SetDelegateOnTileEnd ( DELEGATE_ERRVALUE_NOPARMS  delegate  )  [inline]

Set delegate to call when finished writing tile.

void SPATMOD::IMAGE::TARGET_FILE::TILEPARMS::SetTileDimensions ( double  ColumnsPerTile,
double  RowsPerTile 
) [inline]

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:40:14 2012 for TNTsdk 2012 by  doxygen 1.6.1