VEE_Image Class Reference

#include <vee_image.h>

List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Protected Attributes


Member Enumeration Documentation

enum VEE_Image::Channel
 

Enumerator:
RedChannel 
GreenChannel 
BlueChannel 
AlphaChannel 


Constructor & Destructor Documentation

VEE_Image::VEE_Image  ) 
 

VEE_Image::~VEE_Image  ) 
 


Member Function Documentation

uint VEE_Image::w  )  const [inline]
 

Width of the image.

uint VEE_Image::h  )  const [inline]
 

Height of the image.

uint VEE_Image::bytesPerPixel  )  const [inline]
 

bool VEE_Image::loadJpeg const char *  fileName  ) 
 

bool VEE_Image::load const char *  fileName,
int  w = -1,
int  h = -1,
int  chans = -1
 

Loads an image using some plugin.

bool VEE_Image::save const char *  fileName  ) 
 

void VEE_Image::addAlpha  ) 
 

Add alpha channel -> RGBA image.

void VEE_Image::alphaFromImageLuminance const VEE_Image img  ) 
 

double VEE_Image::channelAverage uint  chan  ) 
 

void VEE_Image::resize uint  w,
uint  h,
uint  bytesPerPixel
 

Resizes data buffer.

Old values are lost.

void VEE_Image::resizeImage uint  w,
uint  h
 

void VEE_Image::resizeImgToPowOfTwo  ) 
 

void VEE_Image::mirrorXY  ) 
 

void VEE_Image::randomValues  ) 
 

Randomize the data buffer.

void VEE_Image::perlinNoise uint  channel,
double  att,
int  octaves,
double  scale = 1.0,
double  z = 0.0,
double  amplitude = 1.0
 

void VEE_Image::checkTexture uint  horizontalInterval,
uint  verticalInterval,
const unsigned char *  color1 = 0,
const unsigned char *  color2 = 0
 

Generates a check-board texture.

Enjoy.

void VEE_Image::skotchTexture uint  stripeWidth,
uint  stripeInterval,
const unsigned char *  color1 = 0,
const unsigned char *  color2 = 0
 

Generates a skotch texture.

Enjoy.

void VEE_Image::stripeTexture uint  stripeWidth,
uint  stripeInterval,
const unsigned char *  color1 = 0,
const unsigned char *  color2 = 0
 

unsigned char* VEE_Image::image  )  [inline]
 

const unsigned char* VEE_Image::image  )  const [inline]
 

unsigned char * VEE_Image::pixel uint  x,
uint  y
 

const unsigned char * VEE_Image::pixelConst uint  x,
uint  y
const
 

unsigned char VEE_Image::pixelLuminance uint  x,
uint  y
const
 

void VEE_Image::copyPart const VEE_Image img,
uint  startRow,
uint  endRow,
uint  startCol,
uint  endCol,
uint  offsetX = 0,
uint  offsetY = 0
 

void VEE_Image::copyPartEnlarge const VEE_Image img,
uint  ratio,
uint  startRow,
uint  endRow,
uint  startCol,
uint  endCol
 

Copy part of the image and enlarge it by factor ratio.

void VEE_Image::copyPartSmaller const VEE_Image img,
uint  ratio,
uint  startRow,
uint  endRow,
uint  startCol,
uint  endCol
 

void VEE_Image::evenGray unsigned char  v  ) 
 

void VEE_Image::evenGray uint  channel,
unsigned char  v
 

void VEE_Image::addRandom uint  channel,
unsigned char  amplitude
 

void VEE_Image::channelCopy uint  targetChannel,
uint  sourceChannel
 

void VEE_Image::channelSwap uint  c1,
uint  c2
 

void VEE_Image::channelMultiply uint  target,
uint  source1,
uint  source2
 

void VEE_Image::cosinePeak uint  channel,
float  power = 1.0,
float  radius = 0.5
 

void VEE_Image::powerPeak uint  channel,
float  power = 1.0,
float  radius = 0.5
 

void VEE_Image::boostRgb int  boost  ) 
 

void VEE_Image::multiply float  mul  ) 
 

bool VEE_Image::add const VEE_Image  ) 
 

void VEE_Image::getSubpixel unsigned char *  target,
double  x,
double  y
const
 

Interpolate a value from adjacent pixels.

void VEE_Image::getMultipixel unsigned char *  target,
uint  x,
uint  y,
uint  size
const
 

Average value of many pixels.

VEE_Image & VEE_Image::operator= const VEE_Image  ) 
 

void VEE_Image::test  )  [static]
 

void VEE_Image::addIO VEE_ImageIO  )  [static]
 


Member Data Documentation

unsigned char* VEE_Image::m_image [protected]
 

uint VEE_Image::m_rowSize [protected]
 

Row size in bytes.

uint VEE_Image::m_bytesPerPixel [protected]
 

uint VEE_Image::m_width [protected]
 

uint VEE_Image::m_height [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:25 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6