Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxExportIntData.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

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


Detailed Description


Function Documentation

void L_HXIMAGEREP HxExportIntData HxImageRep    img,
int *    data
 

Export image data to array of int.

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.

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


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