Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r868 - trunk/Image


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r868 - trunk/Image
  • Date: Wed, 25 Jan 2006 21:45:22 -0700 (MST)

Author: bigler
Date: Wed Jan 25 21:45:21 2006
New Revision: 868

Modified:
   trunk/Image/NRRDFile.cc
Log:

Use the nva version of nrrdAxisInfoSet for better type safety and Teem
1.9 API compatibility.


Modified: trunk/Image/NRRDFile.cc
==============================================================================
--- trunk/Image/NRRDFile.cc     (original)
+++ trunk/Image/NRRDFile.cc     Wed Jan 25 21:45:21 2006
@@ -92,7 +92,8 @@
 
   
/////////////////////////////////////////////////////////////////////////////
        // Specify the size of the data.
-  nrrdAxisInfoSet( out_nrrd, nrrdAxisInfoSize, pixel_width, width, height );
+  size_t sizes[3] = { pixel_width, width, height };
+  nrrdAxisInfoSet_nva( out_nrrd, nrrdAxisInfoSize, sizes );
 
   
/////////////////////////////////////////////////////////////////////////////
   // Filp the image.




  • [MANTA] r868 - trunk/Image, bigler, 01/25/2006

Archive powered by MHonArc 2.6.16.

Top of page