Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

vetFrameGreyETI Class Reference

Inheritance diagram for vetFrameGreyETI:

vetFrame

Public Member Functions

 vetFrameGreyETI ()
 vetFrameGreyETI (unsigned int width, unsigned int height)
 Create an image with the given dimensions.
 vetFrameGreyETI (vetFrameCache &)
 Create an image from another image Copy Constructor.
unsigned int getWidth ()
 Create an image from another image.
unsigned int getHeight ()
 Read current image's height.
int setPixel (unsigned int x, unsigned int y, PixelGrey level)
 Set pixel (x, y) to the specified value.
int getPixel (unsigned int x, unsigned int y, PixelGrey &p)
vetFrameGreyETIoperator>> (vetFrameCache &)
 Overload equals (=) operator for two images.
vetFrameGreyETIoperator>> (vetFrameCache24 &)
vetFrameGreyETIoperator>> (vetFrameRGB &)
vetFrameGreyETIoperator>> (vetFrameGrey &)
void operator<< (vetFrameCache &)
void operator<< (vetFrameCache24 &)
void operator<< (vetFrameRGB &)
void operator<< (vetFrameGrey &)

Detailed Description

Definition at line 34 of file vetFrameGreyETI.h.


Constructor & Destructor Documentation

vetFrameGreyETI::vetFrameGreyETI vetFrameCache &  img  ) 
 

Create an image from another image Copy Constructor.

Initialise to a new RGBImage identical to the specified image

Parameters:
img The RGBImage to copy

Definition at line 26 of file vetFrameGreyETI.cpp.


Member Function Documentation

unsigned int vetFrameGreyETI::getHeight  )  [inline]
 

Read current image's height.

Returns:
Height in pixel.

Reimplemented from vetFrame.

Definition at line 56 of file vetFrameGreyETI.h.

int vetFrameGreyETI::getPixel unsigned int  x,
unsigned int  y,
PixelGrey &  p
 

Method to return the brightness for pixel (x,y).

Note:
No check is made that x and y are in range.
Parameters:
x,y The coordinates of the pixel.
p Reference to the Pixel to store the pixels value in.

Definition at line 49 of file vetFrameGreyETI.cpp.

References VETRET_OK, and VETRET_PARAM_ERR.

int vetFrameGreyETI::setPixel unsigned int  x,
unsigned int  y,
PixelGrey  level
 

Set pixel (x, y) to the specified value.

Parameters:
x x position of the pixel.
y y position of the pixel.
p new value for the selected coords.
Note:
No check is made that x and y are in range.

Definition at line 34 of file vetFrameGreyETI.cpp.

References VETRET_OK, and VETRET_PARAM_ERR.


The documentation for this class was generated from the following files:
Generated on Tue Jan 24 11:59:36 2006 for VETLib by  doxygen 1.4.4