psPixels.h File Reference


Detailed Description

Contains psPixel related functions.

Author:
Paul Price, IfA

Robert DeSonia, MHPCC

Version:
Revision
1.24
Name
Date:
Date
2007/01/23 22:47:23
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psPixels.h.

#include "psImage.h"
#include "psVector.h"
#include "psRegion.h"

Include dependency graph for psPixels.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  psPixelCoord
 Data structure for storing psPixel coordinates. More...
struct  psPixels
 list of pixel coordinates More...

Defines

#define P_PSPIXELS_SET_NALLOC(pix, n)   *(long*)&pix->nalloc = n

Functions

psPixelspsPixelsAlloc (long nalloc)
 Allocates a new psPixels structure.
bool psMemCheckPixels (psPtr ptr)
 Checks the type of a particular pointer.
psPixelspsPixelsRealloc (psPixels *pixels, long nalloc)
 resizes a psPixels structure
psPixelsp_psPixelsAppend (psPixels *pixels, long growth, float x, float y)
 Add a pixel location to a psPixels.
psPixelspsPixelsCopy (psPixels *out, const psPixels *pixels)
 Copies a psPixels object.
psImagepsPixelsToMask (psImage *out, const psPixels *pixels, psRegion region, psMaskType maskVal)
 Generate a psImage from a psPixels.
psPixelspsPixelsFromMask (psPixels *out, const psImage *mask, psMaskType maskVal)
 Generate a psPixels from a mask psImage.
psPixelspsPixelsConcatenate (psPixels *out, const psPixels *pixels)
 Concatenates two psPixels.
bool p_psPixelsPrint (FILE *fd, psPixels *pixels, const char *name)
 Prints a psPixels to specified destination.
bool psPixelsSet (psPixels *pixels, long position, psPixelCoord value)
 Sets the value of the the pixels array at the specified position to value.
psPixelCoord psPixelsGet (const psPixels *pixels, long position)
 Returns the value of the pixels array at the specified position.
long psPixelsLength (const psPixels *pixels)
 Get the number of elements in use from a specified psPixels.


Generated on Fri Feb 2 22:25:30 2007 for pslib by  doxygen 1.5.1