SPATMOD::IMAGE::FILTER_CROP Class Reference

Filter to crop an image. More...

#include <spatmod/imagefiltercrop.h>

Inheritance diagram for SPATMOD::IMAGE::FILTER_CROP:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FILTER_CROP (STAGE *pInputImage, bool TakeOwnership, const LRECT2D &InputRect)
virtual ~FILTER_CROP ()
ERRVALUE SetOrigin (INT32 StartColumn, INT32 StartRow)

Detailed Description

Filter to crop an image.


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_CROP::FILTER_CROP ( STAGE pInputImage,
bool  TakeOwnership,
const LRECT2D InputRect 
)

Construct with specified rectangle.

Rectangle must be contained within source image or error will be returned by Initialize.

Parameters:
pInputImage Input image stage
TakeOwnership Filter takes ownership of source stage and will delete when needed
InputRect Rectangle in source image coordinates
virtual SPATMOD::IMAGE::FILTER_CROP::~FILTER_CROP (  )  [virtual]

Destructor.


Member Function Documentation

ERRVALUE SPATMOD::IMAGE::FILTER_CROP::SetOrigin ( INT32  StartColumn,
INT32  StartRow 
)

Set origin to new location.

Origin may not result in part of area being outside input stage extents. Use care if filter is already part of a pipeline as this will result in change of both georeference and tile sizes. Total dimensions will remain unchanged.


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

Generated on Sun Oct 7 21:39:34 2012 for TNTsdk 2012 by  doxygen 1.6.1