Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxExportDoubleData.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

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


Detailed Description


Function Documentation

void L_HXIMAGEREP HxExportDoubleData HxImageRep    img,
double *    data
 

Export image data to array of double.

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<double>()) + ">";
00017     HxAddTag(tags, "dataPtr", static_cast<void*>(data));
00018     img.exportOp(exportOp, tags);
00019 }


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