PicCropperBase Class Reference

#include <PicCropperBase.h>

Inheritance diagram for PicCropperBase:

PicCropperRGB24Impl PicCropperRGB24Impl PicCropperRGB32Impl PicCropperRGB32Impl

Detailed Description

This class is the base class defining the minimum interface and properties for all derived implementations to crop an image and write it to another image.

The instantiation process must set the parameters and limits to the images such that the Crop() implementation only requires source image data pointers. The insertion method is pure virtual and must be implemented by derived classes.

Definition at line 40 of file Copy of Image/PicCropperBase.h.


Public Member Functions

 PicCropperBase (void)
 PicCropperBase (int widthOut, int heightOut, int widthIn, int heightIn, int left, int right, int top, int bottom)
virtual ~PicCropperBase (void)
virtual int Crop (void *pInImg, void *pImg)=0
int GetOutWidth (void)
int GetOutHeight (void)
int GetInWidth (void)
int GetInHeight (void)
int GetCropLeft (void)
int GetCropRight (void)
int GetCropBottom (void)
int GetCropTop (void)
void SetOutDimensions (int widthOut, int heightOut)
void SetInDimensions (int widthIn, int heightIn)
void SetCrop (int left, int right, int top, int bottom)
 PicCropperBase (void)
 PicCropperBase (int widthOut, int heightOut, int widthIn, int heightIn, int left, int right, int top, int bottom)
virtual ~PicCropperBase (void)
virtual int Crop (void *pInImg, void *pImg)=0
int GetOutWidth (void)
int GetOutHeight (void)
int GetInWidth (void)
int GetInHeight (void)
int GetCropLeft (void)
int GetCropRight (void)
int GetCropBottom (void)
int GetCropTop (void)
void SetOutDimensions (int widthOut, int heightOut)
void SetInDimensions (int widthIn, int heightIn)
void SetCrop (int left, int right, int top, int bottom)

Protected Attributes

int _widthOut
int _heightOut
 Of cropped output image.
int _widthIn
int _heightIn
 Of input image to crop.
int _byX1
int _byX2
 Crop pels from the left.
int _byY1
 Crop pels from the right.
int _byY2
 Crop from the bottom.

The documentation for this class was generated from the following files:
Generated on Fri Mar 13 14:12:39 2009 for RTVC by  doxygen 1.5.3