Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxExportByteData.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

void L_HXIMAGEREP HxExportByteData (HxImageRep img, HxByte *data)
 Export image data to array of HxByte. More...


Detailed Description


Function Documentation

void L_HXIMAGEREP HxExportByteData HxImageRep    img,
HxByte *    data
 

Export image data to array of HxByte.

The size of the (pre-allocated) array must be equal to the dimensionality of the pixel values times the number of pixels in the image.

00014 {
00015     HxTagList tags;
00016     HxString exportOp
00017         = HxString("exportPix<") + HxString(HxClassName<HxByte>()) + ">";
00018     HxAddTag(tags, "dataPtr", static_cast<void*>(data));
00019     img.exportOp(exportOp, tags);
00020 }


Generated on Tue Jan 8 13:59:19 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001