Text archives Help
- From: sparker@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r1017 - trunk/Image
- Date: Thu, 27 Apr 2006 17:23:14 -0600 (MDT)
Author: sparker
Date: Thu Apr 27 17:23:14 2006
New Revision: 1017
Modified:
trunk/Image/NRRDFile.cc
Log:
NRRDFIle should compile now. I haven't tested it though. It will not
support the new image types. I wasn't sure how to make that work.
Modified: trunk/Image/NRRDFile.cc
==============================================================================
--- trunk/Image/NRRDFile.cc (original)
+++ trunk/Image/NRRDFile.cc Thu Apr 27 17:23:14 2006
@@ -62,28 +62,28 @@
pixel_width = 3;
out_nrrd->type = nrrdTypeUChar;
out_nrrd->data =
- dynamic_cast<SimpleImage<RGB8Pixel> const *>( image )->getRaw( which );
+ dynamic_cast<SimpleImage<RGB8Pixel> const *>( image )->getRawData(
which );
}
else if (typeid(*image) == typeid(SimpleImage<RGBA8Pixel>)) {
pixel_width = 4;
out_nrrd->type = nrrdTypeUChar;
out_nrrd->data =
- dynamic_cast<SimpleImage<RGBA8Pixel> const *>( image )->getRaw( which
);
+ dynamic_cast<SimpleImage<RGBA8Pixel> const *>( image )->getRawData(
which );
}
else if (typeid(*image) == typeid(SimpleImage<RGBfloatPixel>)) {
pixel_width = 3;
out_nrrd->type = nrrdTypeFloat;
out_nrrd->data =
- dynamic_cast<SimpleImage<RGBfloatPixel> const *>( image )->getRaw(
which );
+ dynamic_cast<SimpleImage<RGBfloatPixel> const *>( image )->getRawData(
which );
}
else if (typeid(*image) == typeid(SimpleImage<RGBAfloatPixel>)) {
pixel_width = 4;
out_nrrd->type = nrrdTypeFloat;
out_nrrd->data =
- dynamic_cast<SimpleImage<RGBAfloatPixel> const *>( image )->getRaw(
which );
+ dynamic_cast<SimpleImage<RGBAfloatPixel> const *>( image
)->getRawData( which );
}
else {
nrrdNix( out_nrrd );
- [MANTA] r1017 - trunk/Image, sparker, 04/27/2006
Archive powered by MHonArc 2.6.16.